for xdot
Dependencies: libxDot-dev-mbed5-deprecated ISL29011
Fork of Dot-Examples by
Diff: examples/inc/dot_util.h
- Revision:
- 0:a151a6350d7f
- Child:
- 5:97ed5f2f099e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/inc/dot_util.h Wed Oct 05 21:07:50 2016 +0000 @@ -0,0 +1,27 @@ +#ifndef __DOT_UTIL_H__ +#define __DOT_UTIL_H__ + +#include "mbed.h" +#include "mDot.h" +#include "MTSLog.h" +#include "MTSText.h" +#include "ISL29011.h" +#include "example_config.h" + +extern mDot* dot; + +void display_config(); + +void update_ota_config(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, bool public_network, uint8_t ack); + +void join_network(); + +void sleep_wake_rtc_only(bool deepsleep); + +void sleep_wake_interrupt_only(bool deepsleep); + +void sleep_wake_rtc_or_interrupt(bool deepsleep); + +void send_data(std::vector<uint8_t> data); + +#endif