![]() |
Airoha M0 BLE API
1.0.5.4
|
Data Structures | |
struct | cid_parm |
Parameter for fix CID event. More... | |
Typedefs | |
typedef void(* | cid_callback) (uint8_t idx, cid_event evt, cid_parm parm) |
Fix CID event callback function. More... | |
Enumerations | |
enum | cid_event { cid_event_l2cap_pdu = 0, cid_event_link_connected, cid_event_link_disconnected } |
fix CID event id More... | |
Functions | |
bool | BLE_l2cap_cid_register (uint16_t cid, cid_callback cb) |
Register a fix CID. More... | |
void | BLE_l2cap_cid_unregister (uint16_t cid) |
Unregister a fix CID. More... | |
Fix CID event callback function.
idx | link index |
evt | CID event |
parm | CID event parameter. |
enum cid_event |
bool BLE_l2cap_cid_register | ( | uint16_t | cid, |
cid_callback | cb | ||
) |
Register a fix CID.
cid | Fix channel ID |
cb | CID event callback function |
void BLE_l2cap_cid_unregister | ( | uint16_t | cid | ) |
Unregister a fix CID.
cid | Fix channel ID |