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?
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.
Retrieving data ...