- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Referring to post Connection Interval and Connection Slave Latency What if we need the 20737 as master role to change the parameter to slaves? Any other API?
lel2cap_sendConnParamUpdateReq() can be used anytime when there is a connection (so outside connection up callback is OK too) with a peer device. This however is only a request from the slave to the master to change the connection parameters (only the master can change these).
Another question is about the call back function 'lel2cap_handleConnParamUpdateReq', is this the callback when parameter update request coming from master or slave role or BOTH?
Solved! Go to Solution.
- Labels:
-
MasterSlave
- Tags:
- slave connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
" Do we have further comment on the usage of callback 'lel2cap_handleConnParamUpdateReq'? And how does a master (20737 running as master role) to handle different connection update requests coming from different slaves?"
Take a look at Proximity_Client as I believe it handles multiple requests from different slaves at a fairly frequent interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Adding maxsong from our support team in Asia. Max recently provided us this very detailed submission on how to test master and slave configuration: Testing Master and Slave Roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Unfortunately, I don't see the answer about the usage of callback 'lel2cap_handleConnParamUpdateReq' from post Testing Master and Slave Roles.
Do we have further comment on the usage of callback 'lel2cap_handleConnParamUpdateReq'? And how does a master (20737 running as master role) to handle different connection update requests coming from different slaves?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
" Do we have further comment on the usage of callback 'lel2cap_handleConnParamUpdateReq'? And how does a master (20737 running as master role) to handle different connection update requests coming from different slaves?"
Take a look at Proximity_Client as I believe it handles multiple requests from different slaves at a fairly frequent interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, mwf_mmfae.
From proximity_client, api
blecm_ConnectionUpdate(
blecen_con_handle,
blecen_cen_cfg.high_conn_min_interval,
blecen_cen_cfg.high_conn_max_interval,
blecen_cen_cfg.high_conn_latency,
blecen_cen_cfg.high_supervision_timeout,
blecen_cen_cfg.conn_min_event_len,
blecen_cen_cfg.conn_max_event_len)
Can be used for specifying connection parameter to each slave connection.