Updated code to send serial data to RPi in format required for REST
service. Also fixed code for wireless sensors to set up the right
struct format.