Hello Dialog,
1. Could you explain what exactly is the connection index (Conn_idx) used in many api functions in the sdk? Is it something like an index value when two BLE devices form a connection? For example in the ble_suota_client.c, there is this function with parameters "ble_l2cap_send(peer_info.conn_idx, peer_info.scid, len, data_ptr);" what are the connection index (conn_idx) and the source channel identifier (scid), length values that are exactly passed into this function?
2. Also, there are functions for ble_l2cap_send and ble_l2cap_listen, but no ble_l2cap receive function, do we need to consider the listen as the receive function? I have already posted about this in the threadhttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...and I am waiting for the response. Could you please explain the functions listen and send functions in the "ble_l2cap.h" in the sdk?
Thanks in advance.
Regards,
Prasanna
Hi Prasanna,
It is the connection index when two devices are connected. Please use the API and the SDK as provided by Dialog. TheUM-B-092: DA1469x Software Platform Reference Manual用户手册提供了详细的解释for the SDK.
Regarding you second question I replied you in the other ticket.
Thanks, PM_Dialog