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:
- 90:ed0267eca7b5
- Parent:
- 88:7ffa053be662
- Child:
- 91:d6b6319ad681
--- a/source/WiFiManager.h Mon Apr 01 08:00:41 2019 +0000 +++ b/source/WiFiManager.h Sun Apr 07 10:52:37 2019 +0000 @@ -43,6 +43,7 @@ HttpRequest* http_request; HttpResponse* http_response; http_request_t *http_req_cfg; + at_data_msg_t *at_data_resp; nsapi_size_or_error_t lastScanCount; bool https_connection_active; TLSSocket* socket; @@ -67,6 +68,7 @@ Queue<at_data_msg_t, PQDSZ> *_wiFi2ATDataQueue; bool is_connected; + bool http_response_hdr_sent; nsapi_size_or_error_t scanNetworks(); nsapi_size_or_error_t getAvailableAPs(nsapi_size_t count); @@ -99,6 +101,9 @@ const uint8_t * buf, int bufLen); bool createTLSconnection(const char *hostName); + void printBufferInHex(uint8_t *buf, int pLen); + void copyResponseHdr2Queue(); + /** * Allows timeout to be changed between commands