ESP32 BLE_Client and BLE_Server problem

longshenhao
Posts: 4
Joined: Tue Jul 23, 2019 10:36 am

ESP32 BLE_Client and BLE_Server problem

Postby longshenhao » Thu Jul 25, 2019 1:20 am

I upload BLE_client example into one development board and upload BLE_server example into another development board.

It works fine, but if I add "BLECharacteristic::PROPERTY_NOTIFY" in the BLE_server example.

The client board will keep rebooting itself after it connected server board. Here it's the message on the serial monitor.

Do you guys know why? :?:
Attachments
serial monitor.png
serial monitor.png (71.79 KiB) Viewed 3316 times
notify.png
notify.png (49.75 KiB) Viewed 3316 times


longshenhao
Posts: 4
Joined: Tue Jul 23, 2019 10:36 am

Re: ESP32 BLE_Client and BLE_Server problem

Postby longshenhao » Wed Jul 31, 2019 7:28 am

Thanks. I think it's because I didn't add "pCharacteristic->addDescriptor(new BLE2902());" this line.

Who is online

Users browsing this forum: MicroController and 50 guests