test
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
wrapper.h
- Committer:
- hmiot
- Date:
- 2017-11-08
- Revision:
- 6:f87d57498fd0
- Parent:
- 2:20a5d4681abf
File content as of revision 6:f87d57498fd0:
//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]; }; //}