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
wrapper.h
00001 //extern "C" { 00002 #include <string> 00003 void init_mdot(void); 00004 void reset_config(void); 00005 void set_log_lavel(int logInfo); 00006 int set_public_network(int value); 00007 int set_frequency_sub_band(int config_frequency_sub_band); 00008 int set_network_name(char *config_network_name); 00009 int set_network_passphrase(char *config_network_pass); 00010 int set_txpower(int value); 00011 int set_tx_datarate(void); 00012 int set_ack(int value); 00013 int save_config(void); 00014 int join_network(void); 00015 int send_data(char *data); 00016 bool send(const std::string text); 00017 bool receive_data(char *buffer); 00018 struct packet { 00019 int type; 00020 char buffer[16]; 00021 }; 00022 //}
Generated on Thu Jul 14 2022 07:06:07 by
1.7.2
