Search found 4 matches

by Jjens*
Mon Nov 11, 2019 1:46 pm
Forum: ESP-IDF
Topic: unknown BLE error sending notifications to a client out of reach
Replies: 3
Views: 4839

Re: unknown BLE error sending notifications to a client out of reach

Thanks! Increasing the timeout doesn't seem to make any difference. According to your explanation, I have to prevent the server from sending notifications to NULL. I assume that my task still pushes notification to a stack before the callback function (onDisconnect) deletes the task. That might be d...
by Jjens*
Wed Nov 06, 2019 9:48 am
Forum: ESP-IDF
Topic: unknown BLE error sending notifications to a client out of reach
Replies: 3
Views: 4839

unknown BLE error sending notifications to a client out of reach

Hi guys, I am using Neil Kolban's cpp_utils from his esp32-snippets github repository for BLE (with esp-idf). In my project the esp32 acts as a server, sending notifications to an central device. It is based on Kolbans BLE example "SampleNotify" using the "pCharacteristic->notify()" method. The prog...
by Jjens*
Thu Jul 11, 2019 1:24 pm
Forum: ESP-IDF
Topic: Restart BLE after 200msec timeout
Replies: 2
Views: 3833

Re: Restart BLE after 200msec timeout

@Chegewara:
thanks for your reply, delete(service) solves my problem.
(Somehow only disconnecting devices and stop advertising still disturbed my timing, maybe due to some internal interrupts.)
by Jjens*
Fri Jul 05, 2019 10:50 am
Forum: ESP-IDF
Topic: Restart BLE after 200msec timeout
Replies: 2
Views: 3833

Restart BLE after 200msec timeout

Hello, since some months I am working on a ESP32-Project for the first time and it is going on well. But now I have a great problem with BLE. (So far I am using Neil Kolban's cpp_utils from his esp32-snippets github repository for BLE.) I need to shut down all BLE activities for ~200msec and than re...