API "wiced_bt_rfcomm_check_connection" for BT part

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi

For API  "wiced_bt_rfcomm_check_connection", the third input parameter "UINT16 *p_lcid", how can i get it when i'm trying to use this API to check rfcomm connection status? and where can i get more documents on how to use  BT API?

0 Likes
1 Reply
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

It looks like the p_lcid parameter is used to retrieve the CID of the l2cap connection i.e. if your connection is alive the address you pass will be filled with the CID.

If you don't need this information you should be fine passing it NULL. 

Jacob

0 Likes