Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sensor_board.h
- 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);