- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a custom profile where I want to request a slower connection interval.
I am using HRS example to see how this is done.
In that example, the request is sent from a CYBLE_EVT_HRSS_NOTIFICATION_ENABLED event.
I can not find a similar event for a custom profile.
Does anyone know where I can put my code for this request?
Thanks,
Dale
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Use the CyBle_L2capLeConnectionParamUpdateRequest on the peripheral side. (Refer to BLE Datasheet for more details on this API). This would trigger the CYBLE_EVT_L2CAP_CONN_PARAM_UPDATE_REQ on the Central. Now the central should call CyBle_L2capLeConnectionParamUpdateResponse API to acknowledge the connection interval change request.
Regards,
-Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Madhu Sudhan,
I used this function because when I put the connection intervals between 1000 and 2000, the function does not send the request or else it loses connection. What can it be?