HM_IOT_Demo / Mbed 2 deprecated mDot_LoRa_Street_light

Dependencies:   MTS-Serial libmDot mbed-rtos mbed

Fork of mDot_LoRa_Connect_Example by ivan florido

Revision:
2:20a5d4681abf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wrapper.h	Tue Jan 31 12:56:05 2017 +0000
@@ -0,0 +1,22 @@
+//extern "C" {
+#include <string>
+void init_mdot(void);
+void reset_config(void);
+void set_log_lavel(int logInfo);
+int set_public_network(int value);
+int set_frequency_sub_band(int config_frequency_sub_band);
+int set_network_name(char *config_network_name);
+int set_network_passphrase(char *config_network_pass);
+int set_txpower(int value);
+int set_tx_datarate(void);
+int set_ack(int value);
+int save_config(void);
+int join_network(void);
+int send_data(char *data);
+bool send(const std::string text);
+bool receive_data(char *buffer);
+struct packet {
+    int type;
+    char buffer[16];    
+};
+//}
\ No newline at end of file