Search found 2 matches

by filimonic
Wed Jun 19, 2019 7:20 pm
Forum: General Discussion
Topic: GATTC connect to multiple similar GATTS: Should I register GATT app for each server?
Replies: 0
Views: 1869

GATTC connect to multiple similar GATTS: Should I register GATT app for each server?

IDF has example of gattc_multI_connect only for situation connecting to different GATTS devices using diffirentiation on gattc_if I need to connect GATT Client to 3 exactly same GATT Server devices (they differ only by bluetooth device address, bda ) Should I register apps for each one, or I can use...
by filimonic
Tue Jun 18, 2019 9:48 pm
Forum: General Discussion
Topic: [SOLVED] ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered
Replies: 1
Views: 3193

[SOLVED] ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered

I see something strange in ESP32 BLE GATTC: If I register multiple apps, the ESP_GATTC_CONNECT_EVT is fired on each app with different interfaces gattc_if and same bda Am I doing something wrong? I see in example gattc_multi_connect.c information about thin behaviour, but isn't it a bug ? I (1008) S...