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.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
Diff: wrapper.h
- 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