InPlay API
|
BLE L2CAP. More...
Data Structures | |
struct | ble_lecb_connect_t |
LE credit based connection request. More... | |
struct | ble_lecb_connect_ind_t |
LE credit based connection indication. More... | |
struct | ble_lecb_connect_cfm_t |
LE credit based connection request confirmation. More... | |
Functions | |
int | in_ble_lecb_connect (void *hdl, int conidx, ble_lecb_connect_t *p_conx, ble_lecb_connect_ind_t *p_ind, comp_cb callback) |
LE credit based connection request. More... | |
int | in_ble_lecb_connect_req_cfm (void *hdl, uint8_t conidx, ble_lecb_connect_cfm_t *p_cfm) |
LE credit based connection request confirmation. More... | |
int | in_ble_lecb_disconnect (void *hdl, int conidx, int local_cid, comp_cb callback) |
LE credit based disconnect request. More... | |
int | in_ble_lecb_add_credit (void *hdl, int conidx, int local_cid, int credit, comp_cb callback) |
LE credit based credit addition. More... | |
int | in_ble_lecb_sdu_send (void *hdl, int conidx, int local_cid, uint8_t *data, int data_length, comp_cb callback) |
LE Send data over an LE Credit Based Connection. More... | |
BLE L2CAP.
int in_ble_lecb_add_credit | ( | void * | hdl, |
int | conidx, | ||
int | local_cid, | ||
int | credit, | ||
comp_cb | callback | ||
) |
LE credit based credit addition.
[in] | conidx | Connection index |
[in] | local_cid | Local channel ID |
[in] | credit | Credit to add |
int in_ble_lecb_connect | ( | void * | hdl, |
int | conidx, | ||
ble_lecb_connect_t * | p_conx, | ||
ble_lecb_connect_ind_t * | p_ind, | ||
comp_cb | callback | ||
) |
LE credit based connection request.
[in] | conidx | Connection index |
[in] | p_conx | Pointer to connect request structure |
[out] | p_ind | Pointer to connect indicator |
int in_ble_lecb_connect_req_cfm | ( | void * | hdl, |
uint8_t | conidx, | ||
ble_lecb_connect_cfm_t * | p_cfm | ||
) |
LE credit based connection request confirmation.
[in] | conidx | Connection index |
[in] | p_cfm | Pointer to confirm structure |
int in_ble_lecb_disconnect | ( | void * | hdl, |
int | conidx, | ||
int | local_cid, | ||
comp_cb | callback | ||
) |
LE credit based disconnect request.
[in] | conidx | Connection index |
[in] | local_cid | Local channel ID |
int in_ble_lecb_sdu_send | ( | void * | hdl, |
int | conidx, | ||
int | local_cid, | ||
uint8_t * | data, | ||
int | data_length, | ||
comp_cb | callback | ||
) |
LE Send data over an LE Credit Based Connection.
[in] | conidx | Connection index |
[in] | local_cid | Local channel ID |
[in] | data | Send data |
[in] | data_length | Send data length |