Hi Frostyowned Hmm that is quite strange. I have placed the function in essentially the same location and it works well for me. Not sure why this would be erroring, unless for some reason the connection event was not successful? FYI you can just pass param->connect.remote_bda to the function without...
hi @frostyowned A function like the following should help you configure the timeout. This is configurable on the GATT Sever side only. void gatt_perihperal_update_connection_params(uint8_t* client_addr) { esp_ble_conn_update_params_t conn_params; memcpy(conn_params.bda, client_addr, BLE_MAC_ADDR_LEN...
A client connecting to multiple peripherals is available in the IDF at the moment. Currently I use multiple profiles registered using the function esp_ble_gattc_app_register . However you should be able to use only one profile and just refer to each device using it's own conn_id. AS far as i am awar...
I would also be interested in this.
It would save a decent amount of statically allocated ram in my current application if this ram could be malloc'd then free'd.
Currently I have err'ed on the side of caution and statically allocated the required memory for each characteristic.
Hi All, As previously mentioned it is the gatt client that needs to request an MTU change. The gatt sever is unable to change the mtu size without a request from the gatt client. I have tested this with the esp32 and it works very well. In my case my gatt client always requests an MTU change of a pe...
Hi @Kolban, Thanks for your response, this is what i am doing currently. It does work, however it forces delays with interaction with the ESP32, which is not ideal. However sometimes it can take a while for the Bluetooth connection to connect successfully. In these cases the application has to wait ...
Hi All, In my application I am developing the ESP32 so that as a ble central it can connect to multiple peripherals. Ideally the app would be able to scan for devices and connect to them as the app discovers them, without stopping the scan. However I have come across an issue where the app wont conn...