37 #ifndef _BG96_AT_DRIVER_H_ 38 #define _BG96_AT_DRIVER_H_ 45 #include "em_device.h" 51 #define UART_BUFFER_SIZE 100 void readResponse(char *buf)
Read a string (char array) from USARTx.
void sendStatus(int8_t status)
Send status to the cloud using NB-IoT.
void sendCMD(char *message)
Print a string (char array) to USARTx.
signed char int8_t
Typedef defining 8 bit char type. The developer should modify this to suit the platform being deploye...
Definitions of the custom data-types used.
void initBG96(void)
Initialize the GPIO pins and UART0 module necessary to communicate with the BG96 module.
void sendMeasurements(MeasurementData_t *data)
Send measurements to the cloud using NB-IoT.
void powerBG96(void)
Method to enable the power key for 100ms to enable/disable the module.
void sendPulse(uint8_t number, uint8_t pulse)
Send current pulses to the cloud using NB-IoT.
void disableEcho(void)
Disable echo.
bool waitForResponse(char *response, uint8_t timeout)
Wait for the correct response using sleep/timeout functionality.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type. The developer should modify this to suit the platform bein...