BT_SYS_Init

C

bool BT_SYS_Init(void *p_reqQueueHandle, void *p_osalApiList, BT_SYS_Option_T *p_option, BT_SYS_Cfg_T *p_cfg);

Description

Initialize the Bluetooth system.

Parameters

ParameterDescription
[in] p_reqQueueHandleHandle to the OS queue for Bluetooth internal task management.
[in] p_osalApiListPointer to the list of OS abstraction layer (OSAL) APIs.
[in] p_optionPointer to the structure containing initialization options. See BT_SYS_Option_T.
[in] p_cfgPointer to the structure containing system configuration parameters. See BT_SYS_Cfg_T.

Return values

Return valueDescription
trueSuccessfully initialize Bluetooth system.
falseFail to initialize Bluetooth system.