Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/WiFiManager.h
- Revision:
- 104:11e9605093c9
- Parent:
- 102:9748f290a1a5
- Child:
- 105:e5ce023eee93
--- a/source/WiFiManager.h Thu May 02 21:50:17 2019 +0000 +++ b/source/WiFiManager.h Sun May 05 08:24:46 2019 +0000 @@ -73,6 +73,10 @@ bool is_connected; bool http_response_hdr_sent; + int wifiBusy; + Timer wifiWatchdogTimer; + uint32_t watchdogCnt; + http_result_t http_result; nsapi_size_or_error_t scanNetworks(); nsapi_size_or_error_t getAvailableAPs(nsapi_size_t count); @@ -105,7 +109,7 @@ const uint8_t * buf, int bufLen); bool createTLSconnection(const char *hostName); - void printBufferInHex(uint8_t *buf, int pLen); + void printBufferInHex(const uint8_t *buf, int pLen); bool copyResponseHdr2Queue(const uint8_t * buf); void sendATresponseString(at_cmd_resp_t); void sendATresponseBytes(at_cmd_resp_t at_cmd, int len); @@ -116,6 +120,7 @@ void gethostbyname(); void sendSocketConnectionEvent(); void updateRemotePeerDetails(); + void callWifiWatchDog();