Go to the documentation of this file.
98 typedef void (*
aes_result_cb) (uint8_t status,
const uint8_t* aes_res, uint32_t src_info);
void(* ble_hci_host_recv_cb_t)(uint8_t *p_data, uint16_t length)
Receive controller pachet callback type.
void ble_stack_init(ble_evt_handler_t evt_handler, stack_heaps_table_t *p_heaps_table)
Initialize BLE Stack.
sdk_err_t ble_hci_init(ble_hci_rx_channel_t *p_rx_channel, ble_hci_host_recv_cb_t host_recv_cb)
Initialize ble hci adapter module.
sdk_err_t ble_hci_host_packet_send(uint8_t *p_data, uint16_t length)
BLE HCI adapter host send packet.
ble_rf_match_circuit_t
The resistance value (ohm) of the RF match circuit.
ble_gap_actv_role_t
Possible roles of the activity.
void(* llc_ext_llcp_proc_error_cb)(uint8_t link_id, uint8_t error_type, void *param)
uint8_t ble_ext_llcp_send(uint16_t conn_idx, uint8_t *param, uint8_t ext_opcode)
Start a extended llcp procedure.
void ble_activity_start_notify_cb_register(void(*callback)(ble_gap_actv_role_t e_role, uint8_t index))
Register BLE activity start notification callback function.
@ BLE_RF_MATCH_CIRCUIT_25OHM
void ble_aes_encrypt(const uint8_t *key, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES encryption - result within callback.
@ BLE_RF_MATCH_CIRCUIT_100OHM
BLE HCI RX Channel (Host send packet to controller).
File that contains error codes.
uint16_t em_ble_adv_buf_nb_tx
void ble_aes_ecb_encrypt(const uint8_t *key, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES ecb encryption - result within callback.
uint16_t ble_hci_rx_channel_surplus_space_get(void)
Get surplus space of controller receive channel.
ble_rf_match_circuit_t ble_rf_match_circuit_get(void)
Get the resistance value of the RF match circuit (unit: ohm).
void ble_rf_match_circuit_set(ble_rf_match_circuit_t e_ohm)
Set the resistance value of the RF match circuit (unit: ohm).
uint16_t sdk_err_t
SDK API result type.
uint8_t ble_ext_llcp_cb_reg(struct ble_ext_llcp_cb_func_t *func)
Registered the extended llcp procedure callback.
void(* aes_result_cb)(uint8_t status, const uint8_t *aes_res, uint32_t src_info)
Call back definition of the function that can handle result of an AES based algorithm.
void ble_aes_decrypt(const uint8_t *key, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES dencryption - result within callback.
uint16_t em_common_offset
ble_rf_tx_mode_t
RF TX mode.
void ble_stack_controller_init(stack_heaps_table_t *p_heaps_table)
Initialize BLE Stack controller.
void ble_aes_cbc_encrypt(const uint8_t *key, const uint8_t *iv, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES cbc encryption - result within callback.
void(* llc_ext_llcp_req_proc_done_cb)(uint8_t link_id, uint8_t status, uint8_t ext_opcode, uint8_t *per_param)
void ble_activity_end_notify_cb_register(void(*callback)(ble_gap_actv_role_t e_role, uint8_t index))
Register BLE activity end notification callback function.
uint8_t ble_rf_tx_mode_set(ble_rf_tx_mode_t e_rf_tx_mode)
Change the RF TX mode of LP or ULP.
uint8_t(* llc_ext_llcp_req_handler_cb)(uint8_t link_id, uint8_t *req_param, uint8_t *rsp_param)
uint16_t em_ble_adv_frag_nb_tx
void ble_idle_time_notify_cb_register(void(*callback)(uint32_t hs))
Register BLE idle time notification callback function.
void(* ble_evt_handler_t)(const ble_evt_t *p_evt)
The BLE event handler type.
@ BLE_RF_TX_MODE_ULP_MODE
ble_rf_tx_mode_t ble_rf_tx_mode_get(void)
Get the RF TX mode of LP or ULP.
void ble_aes_ecb_decrypt(const uint8_t *key, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES ecb dencryption - result within callback.
The table contains the pointers to four arrays which are used as heap memory by BLE stack in ROM....
void ble_aes_cbc_decrypt(const uint8_t *key, const uint8_t *iv, const uint8_t *val, aes_result_cb res_cb, uint32_t src_info)
Perform an AES cbc dencryption - result within callback.