Code for sensor nodes connected by radio receiver with gateway
Dependencies: mbed WakeUp coapRadioClient DHT11
msg.h
- Committer:
- Ka_myk
- Date:
- 2019-01-25
- Revision:
- 3:4ffffdb5230f
- Parent:
- 0:4c0d384fd5cf
File content as of revision 3:4ffffdb5230f:
#ifndef MBEDDED_MSG_H #define MBEDDED_MSG_H #include<stdint.h> class Msg { public: static void construct_data_msg(uint8_t sensor_id, int data, uint8_t buffer[], int buffer_len); static void deconstruct_data_msg(uint8_t* sensor_id, int* data, uint8_t buffer[], int buffer_len); }; #endif //MBEDDED_MSG_H