Collaboration diagram for Functions:Functions | |
| void | ble_stack_init (app_callback_t *p_app_callback, stack_heaps_table_t *p_heaps_table) |
| Initialize BEL Stack. More... | |
| void | ble_hci_uart_register (uint8_t id, hci_uart_call_t *api) |
| Register UART instance for HCI. More... | |
| void | ble_idle_time_notify_cb_register (void(*callback)(uint32_t hs)) |
| Register BLE idle time notification callback function. More... | |
| void | ble_activity_start_notify_cb_register (void(*callback)(gap_activity_role_t e_role, uint8_t index)) |
| Register BLE activity start notification callback function. More... | |
| void | ble_activity_end_notify_cb_register (void(*callback)(gap_activity_role_t e_role, uint8_t index)) |
| Register BLE activity end notification callback function. More... | |
| 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. More... | |
| ble_rf_tx_mode_t | ble_rf_tx_mode_get (void) |
| Get the RF TX mode of LP or ULP. More... | |
| void | ble_rf_match_circuit_set (ble_rf_match_circuit_t e_ohm) |
| Set the resistance value of the RF match circuit (unit: ohm). More... | |
| ble_rf_match_circuit_t | ble_rf_match_circuit_get (void) |
| Get the resistance value of the RF match circuit (unit: ohm). More... | |
| void | send_signal_carrier_wave (uint8_t channel) |
| Generate a signal carrier wave. More... | |
| void ble_activity_end_notify_cb_register | ( | void(*)(gap_activity_role_t e_role, uint8_t index) | callback | ) |
Register BLE activity end notification callback function.
| [in] | callback | function pointer of BLE activity end notification function. |
| void ble_activity_start_notify_cb_register | ( | void(*)(gap_activity_role_t e_role, uint8_t index) | callback | ) |
Register BLE activity start notification callback function.
| [in] | callback | function pointer of BLE activity start notification function. |
| void ble_hci_uart_register | ( | uint8_t | id, |
| hci_uart_call_t * | api | ||
| ) |
Register UART instance for HCI.
| [in] | id | Instance index. |
| [in] | api | Pointer to the struct of function pointers for HCI UART. |
| void ble_idle_time_notify_cb_register | ( | void(*)(uint32_t hs) | callback | ) |
Register BLE idle time notification callback function.
| [in] | callback | function pointer of BLE idle time notification function. |
| 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).
| [in] | e_ohm | The resistance value (ohm) of the RF match circuit according to the board. BLE_RF_MATCH_CIRCUIT_25OHM: 25 ohm. BLE_RF_MATCH_CIRCUIT_100OHM: 100 ohm. Others: invalid. |
| ble_rf_tx_mode_t ble_rf_tx_mode_get | ( | void | ) |
Get the RF TX mode of LP or ULP.
| 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.
| [in] | e_rf_tx_mode | Refer to ble_rf_tx_mode_t. BLE_RF_TX_MODE_LP_MODE: LP mode. BLE_RF_TX_MODE_ULP_MODE: ULP mode. Others: invalid mode. |
| void ble_stack_init | ( | app_callback_t * | p_app_callback, |
| stack_heaps_table_t * | p_heaps_table | ||
| ) |
Initialize BEL Stack.
| [in] | p_app_callback | Pointer to the structure of app callbacks. |
| [in] | p_heaps_table | Pointer to the BLE stack heaps table. |
| void send_signal_carrier_wave | ( | uint8_t | channel | ) |
Generate a signal carrier wave.
| [in] | channel | 0~39 channel, 2402~2480 Mhz. |