Search found 2 matches

by barbibulle
Tue Oct 23, 2018 12:04 am
Forum: ESP-IDF
Topic: BLE GATT Client in peripheral role
Replies: 3
Views: 4839

Re: BLE GATT Client in peripheral role

I would love to see an example if you write one. In my case, I do wait until the phone is connected, but calling esp_ble_gattc_search_service(gatt_if, conn_id, NULL) never results in any callback.
by barbibulle
Sun Oct 21, 2018 3:51 am
Forum: ESP-IDF
Topic: BLE GATT Client in peripheral role
Replies: 3
Views: 4839

BLE GATT Client in peripheral role

I'm trying to figure out how I can run the ESP32 as a BLE peripheral, while *also* using the BLE GATT Client functions. The context is that I have a mobile phone that will connect to the ESP32, but also make some GATT characteristics available to the peripheral (i.e the phone acts as a GATT Server)....