Lines Matching refs:cb_param
539 esp_hidd_event_data_t cb_param = {0}; in bt_hidd_cb() local
558 cb_param.start.status = bt_hidd_get_status(param->init.status); in bt_hidd_cb()
559 …vent_post_to(s_hidd_param.dev->event_loop_handle, ESP_HIDD_EVENTS, ESP_HIDD_START_EVENT, &cb_param, in bt_hidd_cb()
567 cb_param.stop.status = bt_hidd_get_status(param->deinit.status); in bt_hidd_cb()
568 …event_post_to(s_hidd_param.dev->event_loop_handle, ESP_HIDD_EVENTS, ESP_HIDD_STOP_EVENT, &cb_param, in bt_hidd_cb()
589 cb_param.start.status = bt_hidd_get_status(param->init.status); in bt_hidd_cb()
590 …vent_post_to(s_hidd_param.dev->event_loop_handle, ESP_HIDD_EVENTS, ESP_HIDD_START_EVENT, &cb_param, in bt_hidd_cb()
615 cb_param.connect.status = bt_hidd_get_status(param->open.status); in bt_hidd_cb()
616 cb_param.connect.dev = s_hidd_param.dev->dev; in bt_hidd_cb()
617 …nt_post_to(s_hidd_param.dev->event_loop_handle, ESP_HIDD_EVENTS, ESP_HIDD_CONNECT_EVENT, &cb_param, in bt_hidd_cb()
633 cb_param.disconnect.status = bt_hidd_get_status(param->close.status); in bt_hidd_cb()
634 cb_param.disconnect.dev = s_hidd_param.dev->dev; in bt_hidd_cb()
635 cb_param.disconnect.reason = param->close.status; in bt_hidd_cb()
636 …post_to(s_hidd_param.dev->event_loop_handle, ESP_HIDD_EVENTS, ESP_HIDD_DISCONNECT_EVENT, &cb_param, in bt_hidd_cb()
734 cb_param.protocol_mode.dev = s_hidd_param.dev->dev; in bt_hidd_cb()
735 cb_param.protocol_mode.protocol_mode = s_hidd_param.dev->protocol_mode; in bt_hidd_cb()
736 cb_param.protocol_mode.map_index = 0; in bt_hidd_cb()
738 &cb_param, sizeof(esp_hidd_event_data_t), portMAX_DELAY); in bt_hidd_cb()