May 04, 2020
05:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2020
05:32 AM
Hi,
Please may I ask how my Central application may be notified whenever a slave sends a ConnParamUpdateReq ?
Is there any callback I can use for my application to work with, or is there any way of overriding the underlying handler: lel2cap_sendConnParamUpdateReq or blecenhandleConnParamUpdateReq ?
Regards,
Rab
Solved! Go to Solution.
Labels
- Labels:
-
MasterSlave
1 Solution
May 04, 2020
08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2020
08:25 AM
I think I've answered this myself. I did the following:
lel2cap_handleConnParamUpdateReq = my_handleConnParamUpdateReq;
int rh_hack_handleConnParamUpdateReq(LEL2CAP_HDR *l2capHdr)
{
blecenhandleConnParamUpdateReq(l2capHdr);
// Do my own stuff here...
}
1 Reply