cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

RoHe_4370821
New Contributor II

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

0 Likes
1 Solution
RoHe_4370821
New Contributor II

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...

}

View solution in original post

0 Likes
1 Reply
RoHe_4370821
New Contributor II

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...

}

View solution in original post

0 Likes