BT_SYS_Init
C
bool BT_SYS_Init(void *p_reqSemHandle, void *p_osalApiList, BT_SYS_Option_T *p_option, BT_SYS_Cfg_T *p_cfg);Description
Initialize the Bluetooth system.
Parameters
| Parameter | Description |
|---|---|
| [in] p_reqSemHandle | Handle to the OS semaphore for Bluetooth internal task management. |
| [in] p_osalApiList | Pointer to the list of OS abstraction layer (OSAL) APIs. |
| [in] p_option | Pointer to the structure containing initialization options. See BT_SYS_Option_T. |
| [in] p_cfg | Pointer to the structure containing system configuration parameters. See BT_SYS_Cfg_T. |
Return values
| Return value | Description |
|---|---|
| true | Successfully initialize Bluetooth system. |
| false | Fail to initialize Bluetooth system. |
