IoT - Kubus / Mbed 2 deprecated Kubus

Dependencies:   mbed nRF24L01P

Revision:
29:c2838405fa5c
Parent:
27:27cffdb2e9d3
Child:
34:e67581c9b50d
--- a/sensor_board.h	Tue Jan 10 09:23:14 2017 +0000
+++ b/sensor_board.h	Tue Jan 10 16:40:04 2017 +0000
@@ -9,7 +9,10 @@
     
     void run();
     
+    static const int MAX_RETRY;
   private:
+    int getRandomWaitMs();
+    bool sendByRadio(char message[TRANSFER_SIZE]);
     void displayRadioSetup();
     bool send(Data data_to_send);
     void updateSensor(Sensor* sensor, bool* should_send_data);