Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: source/ATCmdManager.cpp
- Branch:
- PassingRegression
- Revision:
- 109:c274780ff609
- Parent:
- 108:3c8fb2c6e7bf
- Child:
- 110:c722dda4f2ff
diff -r 3c8fb2c6e7bf -r c274780ff609 source/ATCmdManager.cpp
--- a/source/ATCmdManager.cpp Mon May 06 20:18:02 2019 +0000
+++ b/source/ATCmdManager.cpp Wed May 08 19:38:35 2019 +0000
@@ -593,7 +593,9 @@
//sendAtConfirmation(OK_RESP); //_parser.send(OK_RESP);
if(createHttpRequest() == false)
{
+#ifdef SEND_DEBUG_MESSAGES
sendAtConfirmation(WIFI_BUSY_RESP);
+#endif
}
free(rx_buf_ptr);
rx_buf_ptr = NULL;
@@ -1236,20 +1238,24 @@
bool ATCmdManager::queueWiFiDataRequest(wifi_data_msg_t data_req){
static bool memFull = false;
//print_memory_info();
- _event_queue.call_in(10, &print_heap_and_isr_stack_info);
+ //_event_queue.call_in(10, &print_heap_and_isr_stack_info);
//print_heap_and_isr_stack_info();
wifi_data_msg_t *wifiData = _aT2WiFiDatamPool->alloc();
if(wifiData == NULL)
{
//_parser.send("\r\nQUEUE MEMORY FULL\r\n");
+#ifdef SEND_DEBUG_MESSAGES
sendAtConfirmation("\r\nQUEUE MEMORY FULL\r\n");
+#endif
memFull = true;
return false;
}
if(memFull)
{
memFull = false;
+#ifdef SEND_DEBUG_MESSAGES
sendAtConfirmation("\r\n[ATCMD-MAN] memory released...\r\n");
+#endif
}
wifiData->wifi_cmd = data_req.wifi_cmd;
wifiData->dataLen = data_req.dataLen;