I tested the example of BLE_uart and tried on ESP32-Dev and iPhone's app BLE terminal (BluetoothLE). I can connect and disconnect, send data to apps, but I cannot receive any data from apps. After adding a few debugging, it appears that the set callback routine was never called.
BLE_uart.zip
Here is my version of BLE_uart
Here is the log from Serial Monitor
724812 0 0;
725812 0 0;
Disconnected. start advertising
1130569 0 0;
Connected
1131569 0 0;
1132569 0 0;
1133569 0 0;
1134569 0 0;
1135569 0 0;
1136569 0 0;
Here is the log from apps
Can somebody help?
Thanks.
I tested the example of BLE_uart and tried on ESP32-Dev and iPhone's app BLE terminal (BluetoothLE). I can connect and disconnect, send data to apps, but I cannot receive any data from apps. After adding a few debugging, it appears that the set callback routine was never called.
BLE_uart.zip Here is my version of BLE_uart Here is the log from Serial Monitor 724812 0 0; 725812 0 0; Disconnected. start advertising 1130569 0 0; Connected 1131569 0 0; 1132569 0 0; 1133569 0 0; 1134569 0 0; 1135569 0 0; 1136569 0 0;
Here is the log from apps Can somebody help? Thanks.