Home
last modified time | relevance | path

Searched refs:cb_params (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_5_gap.c228 tBTM_BLE_5_GAP_CB_PARAMS cb_params = {0}; in BTM_BleReadPhy() local
231 cb_params.read_phy.status = BTM_ILLEGAL_VALUE; in BTM_BleReadPhy()
232 memcpy(cb_params.read_phy.addr, bd_addr, BD_ADDR_LEN); in BTM_BleReadPhy()
235 ble_5_hci_cb(BTM_BLE_5_GAP_READ_PHY_COMPLETE_EVT, &cb_params); in BTM_BleReadPhy()
251 tBTM_BLE_5_GAP_CB_PARAMS cb_params = {0}; in BTM_BleSetPreferDefaultPhy() local
259 cb_params.set_perf_def_phy.status = err; in BTM_BleSetPreferDefaultPhy()
261 BTM_ExtBleCallbackTrigger(BTM_BLE_5_GAP_SET_PREFERED_DEFAULT_PHY_COMPLETE_EVT, &cb_params); in BTM_BleSetPreferDefaultPhy()
271 tBTM_BLE_5_GAP_CB_PARAMS cb_params = {0}; in BTM_BleSetPreferPhy() local
274 cb_params.status = BTM_ILLEGAL_VALUE; in BTM_BleSetPreferPhy()
276 ble_5_hci_cb(BTM_BLE_5_GAP_SET_PREFERED_PHY_COMPLETE_EVT, &cb_params); in BTM_BleSetPreferPhy()
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_time_scene_model.c202 …_mesh_time_scene_client_callback(esp_ble_mesh_time_scene_client_cb_param_t *cb_params, uint8_t act) in btc_ble_mesh_time_scene_client_callback() argument
217 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_time_scene_client_cb_param_t), in btc_ble_mesh_time_scene_client_callback()
226 esp_ble_mesh_time_scene_client_cb_param_t cb_params = {0}; in bt_mesh_time_scene_client_cb_evt_to_btc() local
264 cb_params.error_code = 0; in bt_mesh_time_scene_client_cb_evt_to_btc()
265 cb_params.params = &params; in bt_mesh_time_scene_client_cb_evt_to_btc()
268 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_time_scene_client_cb_evt_to_btc()
271 btc_ble_mesh_time_scene_client_callback(&cb_params, act); in bt_mesh_time_scene_client_cb_evt_to_btc()
389 …_mesh_time_scene_server_callback(esp_ble_mesh_time_scene_server_cb_param_t *cb_params, uint8_t act) in btc_ble_mesh_time_scene_server_callback() argument
404 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_time_scene_server_cb_param_t), NULL); in btc_ble_mesh_time_scene_server_callback()
411 esp_ble_mesh_time_scene_server_cb_param_t cb_params = {0}; in bt_mesh_time_scene_server_cb_evt_to_btc() local
[all …]
Dbtc_ble_mesh_lighting_model.c200 static void btc_ble_mesh_lighting_client_callback(esp_ble_mesh_light_client_cb_param_t *cb_params, … in btc_ble_mesh_lighting_client_callback() argument
215 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_light_client_cb_param_t), in btc_ble_mesh_lighting_client_callback()
224 esp_ble_mesh_light_client_cb_param_t cb_params = {0}; in bt_mesh_lighting_client_cb_evt_to_btc() local
262 cb_params.error_code = 0; in bt_mesh_lighting_client_cb_evt_to_btc()
263 cb_params.params = &params; in bt_mesh_lighting_client_cb_evt_to_btc()
266 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_lighting_client_cb_evt_to_btc()
269 btc_ble_mesh_lighting_client_callback(&cb_params, act); in bt_mesh_lighting_client_cb_evt_to_btc()
485 …_ble_mesh_lighting_server_callback(esp_ble_mesh_lighting_server_cb_param_t *cb_params, uint8_t act) in btc_ble_mesh_lighting_server_callback() argument
500 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_lighting_server_cb_param_t), in btc_ble_mesh_lighting_server_callback()
508 esp_ble_mesh_lighting_server_cb_param_t cb_params = {0}; in bt_mesh_lighting_server_cb_evt_to_btc() local
[all …]
Dbtc_ble_mesh_config_model.c286 static void btc_ble_mesh_config_client_callback(esp_ble_mesh_cfg_client_cb_param_t *cb_params, uint… in btc_ble_mesh_config_client_callback() argument
301 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_cfg_client_cb_param_t), in btc_ble_mesh_config_client_callback()
310 esp_ble_mesh_cfg_client_cb_param_t cb_params = {0}; in bt_mesh_config_client_cb_evt_to_btc() local
348 cb_params.error_code = 0; in bt_mesh_config_client_cb_evt_to_btc()
349 cb_params.params = &params; in bt_mesh_config_client_cb_evt_to_btc()
352 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_config_client_cb_evt_to_btc()
355 btc_ble_mesh_config_client_callback(&cb_params, act); in bt_mesh_config_client_cb_evt_to_btc()
690 static void btc_ble_mesh_config_server_callback(esp_ble_mesh_cfg_server_cb_param_t *cb_params, uint… in btc_ble_mesh_config_server_callback() argument
705 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_cfg_server_cb_param_t), NULL); in btc_ble_mesh_config_server_callback()
712 esp_ble_mesh_cfg_server_cb_param_t cb_params = {0}; in bt_mesh_config_server_cb_evt_to_btc() local
[all …]
Dbtc_ble_mesh_generic_model.c356 static void btc_ble_mesh_generic_client_callback(esp_ble_mesh_generic_client_cb_param_t *cb_params,… in btc_ble_mesh_generic_client_callback() argument
371 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_generic_client_cb_param_t), in btc_ble_mesh_generic_client_callback()
380 esp_ble_mesh_generic_client_cb_param_t cb_params = {0}; in bt_mesh_generic_client_cb_evt_to_btc() local
418 cb_params.error_code = 0; in bt_mesh_generic_client_cb_evt_to_btc()
419 cb_params.params = &params; in bt_mesh_generic_client_cb_evt_to_btc()
422 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_generic_client_cb_evt_to_btc()
425 btc_ble_mesh_generic_client_callback(&cb_params, act); in bt_mesh_generic_client_cb_evt_to_btc()
673 static void btc_ble_mesh_generic_server_callback(esp_ble_mesh_generic_server_cb_param_t *cb_params,… in btc_ble_mesh_generic_server_callback() argument
688 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_generic_server_cb_param_t), in btc_ble_mesh_generic_server_callback()
696 esp_ble_mesh_generic_server_cb_param_t cb_params = {0}; in bt_mesh_generic_server_cb_evt_to_btc() local
[all …]
Dbtc_ble_mesh_sensor_model.c438 static void btc_ble_mesh_sensor_client_callback(esp_ble_mesh_sensor_client_cb_param_t *cb_params, u… in btc_ble_mesh_sensor_client_callback() argument
453 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_sensor_client_cb_param_t), in btc_ble_mesh_sensor_client_callback()
462 esp_ble_mesh_sensor_client_cb_param_t cb_params = {0}; in bt_mesh_sensor_client_cb_evt_to_btc() local
500 cb_params.error_code = 0; in bt_mesh_sensor_client_cb_evt_to_btc()
501 cb_params.params = &params; in bt_mesh_sensor_client_cb_evt_to_btc()
504 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_sensor_client_cb_evt_to_btc()
507 btc_ble_mesh_sensor_client_callback(&cb_params, act); in bt_mesh_sensor_client_cb_evt_to_btc()
805 static void btc_ble_mesh_sensor_server_callback(esp_ble_mesh_sensor_server_cb_param_t *cb_params, u… in btc_ble_mesh_sensor_server_callback() argument
820 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_sensor_server_cb_param_t), in btc_ble_mesh_sensor_server_callback()
828 esp_ble_mesh_sensor_server_cb_param_t cb_params = {0}; in bt_mesh_sensor_server_cb_evt_to_btc() local
[all …]
Dbtc_ble_mesh_health_model.c219 static void btc_ble_mesh_health_client_callback(esp_ble_mesh_health_client_cb_param_t *cb_params, u… in btc_ble_mesh_health_client_callback() argument
234 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_health_client_cb_param_t), in btc_ble_mesh_health_client_callback()
243 esp_ble_mesh_health_client_cb_param_t cb_params = {0}; in bt_mesh_health_client_cb_evt_to_btc() local
281 cb_params.error_code = 0; in bt_mesh_health_client_cb_evt_to_btc()
282 cb_params.params = &params; in bt_mesh_health_client_cb_evt_to_btc()
285 memcpy(&cb_params.status_cb, val, MIN(len, sizeof(cb_params.status_cb))); in bt_mesh_health_client_cb_evt_to_btc()
288 btc_ble_mesh_health_client_callback(&cb_params, act); in bt_mesh_health_client_cb_evt_to_btc()
530 static void btc_ble_mesh_health_server_callback(esp_ble_mesh_health_server_cb_param_t *cb_params, u… in btc_ble_mesh_health_server_callback() argument
545 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_health_server_cb_param_t), in btc_ble_mesh_health_server_callback()
Dbtc_ble_mesh_ble.c72 static void btc_ble_mesh_ble_callback(esp_ble_mesh_ble_cb_param_t *cb_params, uint8_t act) in btc_ble_mesh_ble_callback() argument
85 btc_transfer_context(&msg, cb_params, sizeof(esp_ble_mesh_ble_cb_param_t), in btc_ble_mesh_ble_callback()