HELLO
I buy ESP-WROOM-32 devkit V1 a month ago and try to work with BLE with ESP-IDF v3.0. I encounter a problem that I'm not sure this is a bug or I make a mistake. I write android app that search for advertise BLE and try to make connection. I compile and flash the ble-adv example. in the ble-adv there is no rules for accept connection; but my app can find the esp32 module and connect to it!!! and after disconnection the esp32 module stop advertising, although in make monitor it print that the module send adv packet.
I also uncheck the include gatt server module, include gatt client module and include security module in make menuconfig; but the problem still exist. I did the same procedure for ble-ibeacon example and saw the same result.
Bluetooth LE connect to Android app while there is no rule for connection
-
- Posts: 1
- Joined: Fri Mar 30, 2018 10:08 pm
Re: Bluetooth LE connect to Android app while there is no rule for connection
In ble_adv example here is policy about connectivity:
https://github.com/espressif/esp-idf/bl ... _bt.c#L158
and/or here:
https://github.com/espressif/esp-idf/bl ... _bt.c#L153
You can try those values:
http://esp-idf.readthedocs.io/en/latest ... v_filter_t
http://esp-idf.readthedocs.io/en/latest ... adv_type_t
https://github.com/espressif/esp-idf/bl ... _bt.c#L158
and/or here:
https://github.com/espressif/esp-idf/bl ... _bt.c#L153
You can try those values:
http://esp-idf.readthedocs.io/en/latest ... v_filter_t
http://esp-idf.readthedocs.io/en/latest ... adv_type_t
Who is online
Users browsing this forum: Bing [Bot] and 85 guests