Home
last modified time | relevance | path

Searched refs:apiResult (Results 1 – 5 of 5) sorted by relevance

/hal_infineon-3.4.0/bless/
Dcy_ble.c127 cy_en_ble_api_result_t apiResult = CY_BLE_SUCCESS; in Cy_BLE_InitHost() local
132 apiResult = CY_BLE_ERROR_INVALID_PARAMETER; in Cy_BLE_InitHost()
178 return(apiResult); in Cy_BLE_InitHost()
250 cy_en_ble_api_result_t apiResult = CY_BLE_ERROR_INVALID_STATE; in Cy_BLE_EnableHost() local
388 apiResult = Cy_BLE_StackSetFeatureConfig(&stackInitParam.stackConfig); in Cy_BLE_EnableHost()
391 if(apiResult == CY_BLE_SUCCESS) in Cy_BLE_EnableHost()
403 apiResult = Cy_BLE_StackInit(&stackInitParam); in Cy_BLE_EnableHost()
406 if(apiResult == CY_BLE_SUCCESS) in Cy_BLE_EnableHost()
424 return(apiResult); in Cy_BLE_EnableHost()
462 cy_en_ble_api_result_t apiResult = CY_BLE_SUCCESS; in Cy_BLE_DisableHost() local
[all …]
Dcy_ble_common.c47 cy_en_ble_api_result_t apiResult; in Cy_BLE_Init() local
52 apiResult = Cy_BLE_InitController(config); in Cy_BLE_Init()
58 apiResult = Cy_BLE_InitHost(config); in Cy_BLE_Init()
63 return(apiResult); in Cy_BLE_Init()
145 cy_en_ble_api_result_t apiResult ; in Cy_BLE_Enable() local
150 apiResult = Cy_BLE_HAL_RegisterCommonPipeCallback(); in Cy_BLE_Enable()
154 apiResult = Cy_BLE_HAL_EnableDefaultEco(); in Cy_BLE_Enable()
157 if (apiResult == CY_BLE_SUCCESS) in Cy_BLE_Enable()
159 apiResult = Cy_BLE_EnableControllerFromHost(); in Cy_BLE_Enable()
163 if (apiResult == CY_BLE_SUCCESS) in Cy_BLE_Enable()
[all …]
Dcy_ble_controller.c71 cy_en_ble_api_result_t apiResult = CY_BLE_ERROR_INVALID_PARAMETER; in Cy_BLE_InitController() local
78 apiResult = CY_BLE_SUCCESS; in Cy_BLE_InitController()
81 return(apiResult); in Cy_BLE_InitController()
125 cy_en_ble_api_result_t apiResult = CY_BLE_ERROR_INVALID_STATE; in Cy_BLE_EnableController() local
185 apiResult = Cy_BLE_StackSetFeatureConfig(&stackInitParam.stackConfig); in Cy_BLE_EnableController()
188 if(apiResult == CY_BLE_SUCCESS) in Cy_BLE_EnableController()
200 apiResult = Cy_BLE_StackInit(&stackInitParam); in Cy_BLE_EnableController()
204 return(apiResult); in Cy_BLE_EnableController()
248 cy_en_ble_api_result_t apiResult = CY_BLE_ERROR_INVALID_STATE; in Cy_BLE_EnableHCIModeController() local
308 apiResult = Cy_BLE_ControllerStackSetFeatureConfig(&stackInitParam.stackConfig); in Cy_BLE_EnableHCIModeController()
[all …]
Dcy_ble_hal_pvt.c858 cy_en_ble_api_result_t apiResult = CY_BLE_ERROR_INVALID_OPERATION;
873 apiResult = CY_BLE_ERROR_HARDWARE_FAILURE;
877 apiResult = CY_BLE_SUCCESS;
881 return(apiResult);
Dcy_ble_event_handler.c82 cy_en_ble_api_result_t apiResult = CY_BLE_SUCCESS; in Cy_BLE_RegisterServiceEventHandler() local
87 apiResult = CY_BLE_ERROR_INVALID_PARAMETER; in Cy_BLE_RegisterServiceEventHandler()
103 if((apiResult == CY_BLE_SUCCESS) && (existFlag == false)) in Cy_BLE_RegisterServiceEventHandler()
114 apiResult = CY_BLE_ERROR_MEMORY_ALLOCATION_FAILED; in Cy_BLE_RegisterServiceEventHandler()
118 return(apiResult); in Cy_BLE_RegisterServiceEventHandler()