- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In example 'blecen.c', registering callback of 'lel2cap_handleConnParamUpdateReq' with 'blecenhandleConnParamUpdateReq', but I don't see it been invoked at all even the slave is requesting to change connection parameter.
Solved! Go to Solution.
- Labels:
-
MasterSlave
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the api to determine change of connection parameter has been requested from slaves, also, if there are several slaves, then how to the application know which slave :emconinfo_getConnHandle();
hello_client sample app has this api used for reference.
thnx
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe this question was also asked here in another thread: Re: Is there any API for inquiry of current connection parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry, mwf_mmfae, but no, this question is not exactly the same as thread Re: Is there any API for inquiry of current connection parameter.
I would like to know if any callback available when the change of connection parameter has been requested from slaves, also, if there are several slaves, then how to the application know which slave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any news/comment about this question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vik86 was going to look into this one and see if there is a callback available which can be used to notify the application that a change of the connection parameters have been requested from one of the connected slaves; in addition, whether or not the application will know which slave made the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the api to determine change of connection parameter has been requested from slaves, also, if there are several slaves, then how to the application know which slave :emconinfo_getConnHandle();
hello_client sample app has this api used for reference.
thnx
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi vik86,
Thanks, I will try it on hello_client and hello_sensor again.
From my memory, I don't see this callback function being called at all when slave trying to change the parameter.
Another question is that, will this callback being called even when the change of conn. parameter is already within the range of current setting, meaning, change between min and max that is set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let us know if you were able to use the callback function , to answer your second question if
"will this callback being called even when the change of conn. parameter is already within the range of current setting, meaning, change between min and max that is set." if it does not cross the limits then it would not be called.
thnx
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content