Typedefs | |
typedef void * | sibles_hdl |
.Service handle. More... | |
typedef uint8_t *(* | sibles_get_cbk) (uint8_t, uint8_t, uint16_t *) |
SIBLES attribte get callback. (uint8_t conn_idx, uint8_t idx, uint16_t *len) More... | |
typedef uint8_t(* | sibles_set_cbk) (uint8_t, sibles_set_cbk_t *) |
SIBLES attribte set callback. (uint8_t conn_idx, sibles_set_cbk_t *para) More... | |
typedef int(* | sibles_remote_svc_cbk) (uint16_t event_id, uint8_t *data, uint16_t len) |
SIBLES remote service callback. (uint8_t idx, uint16_t len, uint8_t * value) More... | |
Enumerations | |
enum | bf0_sifli_event_t { SIBLES_WRITE_VALUE_RSP = BLE_SIBLE_TYPE, SIBLES_SEARCH_SVC_RSP, SIBLES_REGISTER_REMOTE_SVC_RSP, SIBLES_REMOTE_EVENT_IND, SIBLES_REMOTE_CONNECTED_IND, SIBLES_REMOTE_DISCONNECTED_IND, SIBLES_READ_REMOTE_VALUE_RSP, SIBLES_MTU_EXCHANGE_IND, SIBLES_EVENT_REQ_IND, SIBLES_SVC_CHANGED_CFG, SIBLES_WRITE_REMOTE_VALUE_RSP, SIBLES_CHANGE_BD_ADDR_RSP, SIBLES_REMOTE_SVC_CHANGE_IND } |
Sibles GATT events that notify user. More... | |
enum | sibles_write_type_t { SIBLES_WRITE, SIBLES_WRITE_WITHOUT_RSP } |
Sibles GATT write type. More... | |
enum | sibles_read_type_t { SIBLES_READ } |
Sibles GATT read type. | |
enum | sibles_trc_cfg_t { SIBLES_TRC_NONE, SIBLES_TRC_HCI_ON, SIBLES_TRC_ALL_ON, SIBLES_TRC_CUSTOMIZE, SIBLES_TRC_LAST } |
enum | sibles_change_bd_addr_type_t { SIBLES_CH_BD_TYPE_BT, SIBLES_CH_BD_TYPE_BLE, SIBLES_CH_BD_TYPE_TOTAL } |
enum | sibles_change_bd_addr_method_t { SIBLES_CH_BD_METHOD_ORIGIN, SIBLES_CH_BD_METHOD_PRESERVE, SIBLES_CH_BD_METHOD_CUSTOMIZE, SIBLES_CH_BD_METHOD_TOTAL } |
enum | sibles_write_err_t { SIBLES_WRITE_NO_ERR, SIBLES_WRITE_HANDLE_ERR, SIBLES_WIRTE_TX_FLOWCTRL_ERR, OTHER_ERR } |
typedef uint8_t*(* sibles_get_cbk) (uint8_t, uint8_t, uint16_t *) |
SIBLES attribte get callback. (uint8_t conn_idx, uint8_t idx, uint16_t *len)
[in] | conn_idx | to associated BLE link. |
[in] | idx | Index to service. |
[in,out] | len | Length of attribute. |
uint16_t* | Pointer to attribute. |
typedef void* sibles_hdl |
.Service handle.
SIBLES service handle type
SIBLES remote service callback. (uint8_t idx, uint16_t len, uint8_t * value)
[in] | event_id | Event ID. |
[in] | data | Pointer to data parameter. |
[in] | len | Length of data. |
uint8_t | 0: Success, otherwise, failed. |
typedef uint8_t(* sibles_set_cbk) (uint8_t, sibles_set_cbk_t *) |
SIBLES attribte set callback. (uint8_t conn_idx, sibles_set_cbk_t *para)
[in] | conn_idx | to associated BLE link. |
[in] | para | of set callback parameters. |
uint8_t | 0: Success, otherwise, failed. |
enum bf0_sifli_event_t |
Sibles GATT events that notify user.
enum sibles_write_type_t |