updated

Dependencies:   MTS-Serial libmDot mbed-rtos mbed

Fork of mDot_LoRa_Street_light by HM_IOT_Demo

wrapper.h

Committer:
venubk
Date:
2017-10-17
Revision:
9:531bddbe36a9
Parent:
2:20a5d4681abf

File content as of revision 9:531bddbe36a9:

//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];    
};
//}