Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Revision:
- 84:7c7add00f4bf
- Parent:
- 83:9c271a50a70b
- Child:
- 87:99b37d26ff2a
--- a/source/ATCmdManager.h Tue Mar 26 23:33:51 2019 +0000 +++ b/source/ATCmdManager.h Thu Mar 28 22:13:06 2019 +0000 @@ -7,13 +7,13 @@ #include "BleManager.h" #include "WiFiManager.h" -#define MAIN_LOOP_WAIT_TIME_MS 1000 // milliseconds +#define MAIN_LOOP_WAIT_TIME_MS 100 // milliseconds #define NUM_UART_OPTIONS 6 #ifndef UBLOX_ODIN_W2_MISC_TIMEOUT #define UBLOX_ODIN_W2_MISC_TIMEOUT 2000 #endif - +extern void print_memory_info(); class ATCmdManager { public: ATCmdManager(PinName tx, PinName rx, SMDevicePeripheral *blePeripheral, @@ -104,6 +104,8 @@ int ReadBytes(uint8_t *buf, int maxBytes); int readStringBytes(uint8_t *buf, int maxBytes); bool validate(edm_header_t edm_header); + bool createHttpRequest(); + http_method str2HttpMethod(const char * methodStr); /**