this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Revision:
- 104:11e9605093c9
- Parent:
- 103:7b566b522427
- Child:
- 105:e5ce023eee93
--- a/source/ATCmdManager.h Thu May 02 21:50:17 2019 +0000
+++ b/source/ATCmdManager.h Sun May 05 08:24:46 2019 +0000
@@ -15,6 +15,7 @@
#define OK_RESP "\r\nOK\r\n"
#define ERROR_RESP "\r\nERROR\r\n"
+#define WIFI_BUSY_RESP "\r\nWIFI BUSY\r\n"
#define BOX_UBLOX_DEMO_TESTING
extern void print_memory_info();
class ATCmdManager {
@@ -70,6 +71,7 @@
edm_header_t edm_hdr;
uint8_t *rx_buf_ptr;
int debug_flag;
+ at_cmd_resp_t wifiStateControl;
#ifdef BOX_UBLOX_DEMO_TESTING
bool check_for_at_cmd;
#endif
@@ -116,16 +118,18 @@
bool createHttpRequest();
http_method str2HttpMethod(const char * methodStr);
void return_response(bool download=false);
- void printBufferInHex(uint8_t *buf, int pLen);
+ void printBufferInHex(const uint8_t *buf, int pLen);
void outputEDMdata(const uint8_t *buf, int pLen,
edm_msg_id_t identifier, edm_msg_type_t type,
channel_id_t channel_id);
void sendAtConfirmation(const char *buf);
void sendAtConfirmationFreeMpool(const char *buf);
+ void sendConnectIndicationFreeMpool(const char *buf);
void sendAtEvent(const char *buf);
void sendConnectEvent(const uint8_t *buf, int len);
int readAtCommandString(char *strbuf, size_t bufLen);
+ void updateWiFiMgrStatus();
/**
* Allows timeout to be changed between commands