Finished Devicee Communication Demo Code.