Hello,
I would like to code "Connection Parameters Request Procedure" to QN908x as a peripheral role. Has anyone already implemented this?
I was searching sample codes for this, but I could not find any (even though there are many other sample code for services/profiles).
If I could get any sample code/snippet for this, it would be much appreciated.
Thanks,
Daisuke
解決済! 解決策の投稿を見る。
Hello Daisuke,
You can use the Gap_UpdateConnectionParameters() API from the peripheral to issue a Connection Parameter Update Request, but it will depend on the master if it will accept or reject the request.
Example:
Gap_UpdateConnectionParameters(mPeerDeviceId, gGapDefaultMinConnectionInterval_d , gGapDefaultMaxConnectionInterval_d, gGapDefaultConnectionLatency_d, gGapDefaultSupervisionTimeout_d, gGapConnEventLengthMin_d, gGapConnEventLengthMax_d);
Regards,
Hello Daisuke,
You can use the Gap_UpdateConnectionParameters() API from the peripheral to issue a Connection Parameter Update Request, but it will depend on the master if it will accept or reject the request.
Example:
Gap_UpdateConnectionParameters(mPeerDeviceId, gGapDefaultMinConnectionInterval_d , gGapDefaultMaxConnectionInterval_d, gGapDefaultConnectionLatency_d, gGapDefaultSupervisionTimeout_d, gGapConnEventLengthMin_d, gGapConnEventLengthMax_d);
Regards,
Where to call this function? Do you have example code?
Hello Gerardo,
Thank you very much for your reply.
Now, My 9080 as peripheral can send connection parameter update request to the peer.
Best Regards,
Daisuke