IOT_GRZYBKI / Mbed 2 deprecated client3

Dependencies:   mbed WakeUp coapRadioClient DHT11

Revision:
0:4c0d384fd5cf
Child:
3:4ffffdb5230f
diff -r 000000000000 -r 4c0d384fd5cf msg.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/msg.h	Thu Jan 24 16:40:14 2019 +0000
@@ -0,0 +1,18 @@
+#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);
+
+    static void construct_config_msg(uint8_t sensor_id, int interval, uint8_t buffer[], int buffer_len);
+
+    static void deconstruct_config_msg(uint8_t sensor_id, int interval, uint8_t buffer[], int buffer_len);
+};
+
+#endif //MBEDDED_MSG_H