Search found 3 matches
- Thu Dec 14, 2017 5:45 pm
- Forum: ESP-IDF
- Topic: Socket Client read reply hangs
- Replies: 0
- Views: 2847
Socket Client read reply hangs
I am using the SocketClient example of Kolban and try to read reply from SocketServer here is the snippet char *data = "Hello world"; rc = send(sock, data, strlen(data), 0); ESP_LOGE(tag, "send: rc: %d", rc); vTaskDelay(1000/portTICK_PERIOD_MS); /* Check answer */ int ret = 0; int cnt = 0; do { /* R...
- Mon Jan 30, 2017 12:39 pm
- Forum: General Discussion
- Topic: how to send BLE notification to client
- Replies: 12
- Views: 31285
Re: how to send BLE notification to client
hi Kolban, thanks for the answer. unfortunately it did not help. in addition to the stack overflow it reports this: abort() was called at PC 0x4008615c Guru Meditation Error: Core 0 panic'ed (abort) does this indicate that the command is taking too long to finish? the code line is: esp_ble_gatts_sen...
- Sun Jan 29, 2017 10:27 am
- Forum: General Discussion
- Topic: how to send BLE notification to client
- Replies: 12
- Views: 31285
Re: how to send BLE notification to client
Hi,
I always get a stack overflow when sending the notification. Which attr_handle do you send it to? (46 is the CHAR_HANDLE...)
I (20776) GATTS_DEMO: SEND NOTIFICATION, gatts_if 5, conn_id 0, attr_handle 46, value len 1
***ERROR*** A stack overflow in task IDLE has been detected.
I always get a stack overflow when sending the notification. Which attr_handle do you send it to? (46 is the CHAR_HANDLE...)
I (20776) GATTS_DEMO: SEND NOTIFICATION, gatts_if 5, conn_id 0, attr_handle 46, value len 1
***ERROR*** A stack overflow in task IDLE has been detected.