- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use a android phone as central(Master) and use a "EZ-BLE PRoc Module" as a peripheral(Slave).
The peripheral can send the "L2CAP Connection Parameter Update Request" to change the central's connection parameters in the connection state, but the "L2CAP Connection Parameter Update Request" may be rejected in the different brands of android phones/tablets.
Are there any solutions to get the central's Connection Parameters in the connection state ?
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Once connected, the peripheral receives the CYBLE_EVT_GAP_DEVICE_CONNECTED event. The event parameter you get along with this event is a pointer to a structure of the type CYBLE_GAP_CONN_PARAM_UPDATED_IN_CONTROLLER_T.
The peripheral can get the connection parameters from this structure. It has 4 fields namely
uint8 status
uint16 connIntv
uint16 connLatency
uint16 supervisionTO
Refer to the BLE Datasheet for more details.
Regards,
-Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
If I want to get Smartphone "connection interval min" & "connection interval max" ?
how can i get
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you get to read "connection interval min" & "connection interval max" parameters ?
Is there any example of doing that ?
Madhu, I don't know how to write code for managing those connect event parameters. Any helping ?
Thank you so much,
Asier.