i am working on a Bluetooth gattc_Multi_Connect that i need to do multiple "esp_ble_gattc_write_char" in "ESP_GATTC_WRITE_CHAR_EVT" event, and get different notification and Manage which one is what in notification/indication, any ideas how can i do this?
FYI:i am stuck with how the server is done and can't change that part
multiple esp_ble_gattc_write_char in ESP_GATTC_WRITE_CHAR_EVT
Re: multiple esp_ble_gattc_write_char in ESP_GATTC_WRITE_CHAR_EVT
i went through gattc api and i can't find anything there
Re: multiple esp_ble_gattc_write_char in ESP_GATTC_WRITE_CHAR_EVT
in esp-idf bt stack is constructed like that:
- for gatt server all connected devices are using the same gattIf and different connId,
- for gatt client all connections to different servers are using different gattIf.
So, if you want to connect to few ble servers then you have to control all data exchange operations at first by gattIf and then by attr_handle.
- for gatt server all connected devices are using the same gattIf and different connId,
- for gatt client all connections to different servers are using different gattIf.
So, if you want to connect to few ble servers then you have to control all data exchange operations at first by gattIf and then by attr_handle.
Who is online
Users browsing this forum: No registered users and 314 guests