Version del programa usado para la Expo IOT 2018 - Strada Hotel

Dependencies:   DHT HX711 libmDot-mbed5 ISL29011

Fork of Dot-Examples by Rajnish Narayan

Committer:
mfiore
Date:
Wed Oct 05 21:07:50 2016 +0000
Revision:
0:a151a6350d7f
Child:
5:97ed5f2f099e
initial commit of OTA and AUTO_OTA examples

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mfiore 0:a151a6350d7f 1 #ifndef __DOT_UTIL_H__
mfiore 0:a151a6350d7f 2 #define __DOT_UTIL_H__
mfiore 0:a151a6350d7f 3
mfiore 0:a151a6350d7f 4 #include "mbed.h"
mfiore 0:a151a6350d7f 5 #include "mDot.h"
mfiore 0:a151a6350d7f 6 #include "MTSLog.h"
mfiore 0:a151a6350d7f 7 #include "MTSText.h"
mfiore 0:a151a6350d7f 8 #include "ISL29011.h"
mfiore 0:a151a6350d7f 9 #include "example_config.h"
mfiore 0:a151a6350d7f 10
mfiore 0:a151a6350d7f 11 extern mDot* dot;
mfiore 0:a151a6350d7f 12
mfiore 0:a151a6350d7f 13 void display_config();
mfiore 0:a151a6350d7f 14
mfiore 0:a151a6350d7f 15 void update_ota_config(std::string network_name, std::string network_passphrase, uint8_t frequency_sub_band, bool public_network, uint8_t ack);
mfiore 0:a151a6350d7f 16
mfiore 0:a151a6350d7f 17 void join_network();
mfiore 0:a151a6350d7f 18
mfiore 0:a151a6350d7f 19 void sleep_wake_rtc_only(bool deepsleep);
mfiore 0:a151a6350d7f 20
mfiore 0:a151a6350d7f 21 void sleep_wake_interrupt_only(bool deepsleep);
mfiore 0:a151a6350d7f 22
mfiore 0:a151a6350d7f 23 void sleep_wake_rtc_or_interrupt(bool deepsleep);
mfiore 0:a151a6350d7f 24
mfiore 0:a151a6350d7f 25 void send_data(std::vector<uint8_t> data);
mfiore 0:a151a6350d7f 26
mfiore 0:a151a6350d7f 27 #endif