Home
last modified time | relevance | path

Searched refs:server_if (Results 1 – 15 of 15) sorted by relevance

/device/soc/winnermicro/wm800/board/include/bt/
Dwm_ble_gatt.h343 tls_bt_status_t tls_ble_server_app_unregister(uint8_t server_if);
358 tls_bt_status_t tls_ble_server_add_service(uint8_t server_if, int inst_id, int primay,
374 tls_bt_status_t tls_ble_server_add_characteristic(uint8_t server_if, uint16_t service_handle,
389 tls_bt_status_t tls_ble_server_add_descriptor(uint8_t server_if, uint16_t service_handle,
403 tls_bt_status_t tls_ble_server_start_service(uint8_t server_if, uint16_t service_handle, int transp…
415 tls_bt_status_t tls_ble_server_stop_service(uint8_t server_if, uint16_t service_handle);
427 tls_bt_status_t tls_ble_server_delete_service(uint8_t server_if, uint16_t service_handle);
441 tls_bt_status_t tls_ble_server_connect(uint8_t server_if, const tls_bt_addr_t *bd_addr,
455 tls_bt_status_t tls_ble_server_disconnect(uint8_t server_if, const tls_bt_addr_t *bd_addr, uint16_t…
473 tls_bt_status_t tls_ble_server_send_indication(uint8_t server_if, uint16_t attribute_handle,
Dwm_bt_def.h641 uint8_t server_if; /* Server interface ID */ member
648 uint8_t server_if; /**< Server interface ID */ member
659 uint8_t server_if; member
669 uint8_t server_if; member
677 uint8_t server_if; member
687 uint8_t server_if; member
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_api.c121 void BTA_GATTS_AppDeregister(tBTA_GATTS_IF server_if) in BTA_GATTS_AppDeregister() argument
127 p_buf->server_if = server_if; in BTA_GATTS_AppDeregister()
153 void BTA_GATTS_CreateService(tBTA_GATTS_IF server_if, const tBT_UUID * p_service_uuid, UINT8 inst, in BTA_GATTS_CreateService() argument
161 p_buf->server_if = server_if; in BTA_GATTS_CreateService()
520 void BTA_GATTS_Open(tBTA_GATTS_IF server_if, BD_ADDR remote_bda, BOOLEAN is_direct, in BTA_GATTS_Open() argument
527 p_buf->server_if = server_if; in BTA_GATTS_Open()
552 void BTA_GATTS_CancelOpen(tBTA_GATTS_IF server_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTS_CancelOpen() argument
558 p_buf->server_if = server_if; in BTA_GATTS_CancelOpen()
590 void BTA_GATTS_SendServiceChangeIndication(tBTA_GATTS_IF server_if, BD_ADDR remote_bda) in BTA_GATTS_SendServiceChangeIndication() argument
597 p_buf->server_if = server_if; in BTA_GATTS_SendServiceChangeIndication()
[all …]
Dbta_gatts_act.c201 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; in bta_gatts_register()
211 cb_data.reg_oper.server_if = in bta_gatts_register()
220 p_buf->server_if = p_cb->rcb[first_unuse].gatt_if; in bta_gatts_register()
253 if (bta_gatts_find_app_rcb_by_app_if(p_msg->int_start_if.server_if)) { in bta_gatts_start_if()
254 GATT_StartIf(p_msg->int_start_if.server_if); in bta_gatts_start_if()
257 p_msg->int_start_if.server_if ); in bta_gatts_start_if()
276 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; in bta_gatts_deregister()
280 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == p_msg->api_dereg.server_if) { in bta_gatts_deregister()
318 rcb_idx = bta_gatts_find_app_rcb_idx_by_app_if(p_cb, p_msg->api_create_svc.server_if); in bta_gatts_create_srvc()
343 cb_data.create.server_if = p_cb->rcb[rcb_idx].gatt_if; in bta_gatts_create_srvc()
[all …]
Dbta_gatts_utils.c87 tBTA_GATTS_RCB *bta_gatts_find_app_rcb_by_app_if(tBTA_GATTS_IF server_if) in bta_gatts_find_app_rcb_by_app_if() argument
93 if (p_reg->in_use && p_reg->gatt_if == server_if) { in bta_gatts_find_app_rcb_by_app_if()
110 UINT8 bta_gatts_find_app_rcb_idx_by_app_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_IF server_if) in bta_gatts_find_app_rcb_idx_by_app_if() argument
115 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) { in bta_gatts_find_app_rcb_idx_by_app_if()
/device/soc/winnermicro/hals/communication/bt_lite/ble/source/
Dnble.c107 uint16_t server_if; in on_svr_register_cb() local
112 ble_server_retrieve_id_by_uuid(ctxt->svc.svc_def->uuid, &server_if); in on_svr_register_cb()
114 … ble_uuid_to_str(ctxt->svc.svc_def->uuid, buf), ctxt->svc.handle, ctxt->svc.handle, server_if); in on_svr_register_cb()
121 gatts_struct_func_ptr_cb->serviceAddCb(0, server_if, &btuuid, ctxt->svc.handle); in on_svr_register_cb()
128 ble_server_retrieve_id_by_service_id(service_handle, &server_if); in on_svr_register_cb()
134 …ctxt->chr.val_handle, ctxt->chr.val_handle, service_handle, server_if, (int)ctxt->chr.chr_def->arg… in on_svr_register_cb()
141 gatts_struct_func_ptr_cb->characteristicAddCb(0, server_if, &btuuid , \ in on_svr_register_cb()
150 ble_server_retrieve_id_by_service_id(service_handle, &server_if); in on_svr_register_cb()
154 ctxt->dsc.handle, ctxt->dsc.handle, service_handle, server_if); in on_svr_register_cb()
160 gatts_struct_func_ptr_cb->descriptorAddCb(0, server_if, &btuuid , \ in on_svr_register_cb()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gatts_int.h75 tBTA_GATTS_IF server_if; member
82 tBTA_GATTS_IF server_if; member
142 tBTA_GATTS_IF server_if; member
153 tBTA_GATTS_IF server_if; member
159 tBTA_GATTS_IF server_if; member
256 extern tBTA_GATTS_RCB *bta_gatts_find_app_rcb_by_app_if(tBTA_GATTS_IF server_if);
257 extern UINT8 bta_gatts_find_app_rcb_idx_by_app_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_IF server_if);
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/
Dbta_gatt_api.h580 tBTA_GATTS_IF server_if; member
587 tBTA_GATTS_IF server_if; member
596 tBTA_GATTS_IF server_if; member
603 tBTA_GATTS_IF server_if; member
610 tBTA_GATTS_IF server_if; member
617 tBTA_GATTS_IF server_if; member
643 tBTA_GATTS_IF server_if; member
648 tBTA_GATTS_IF server_if; member
653 tBTA_GATTS_IF server_if; member
1270 extern void BTA_GATTS_AppDeregister(tBTA_GATTS_IF server_if);
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c47 esp_gatts_if_t server_if; variable
66 server_if = p_data->reg_oper.server_if; in bas_gatts_callback()
68 event, status, server_if); in bas_gatts_callback()
71 bas_init(server_if, app_id); in bas_gatts_callback()
74 DIS_Init(server_if, mask); in bas_gatts_callback()
81 BT_BD_ADDR_HEX(p_data->conn.remote_bda), p_data->conn.server_if, in bas_gatts_callback()
92 p_data->create.server_if, p_data->create.service_id, in bas_gatts_callback()
111 p_data->add_result.server_if, p_data->add_result.service_id, in bas_gatts_callback()
148 p_data->add_result.server_if, p_data->add_result.service_id, in bas_gatts_callback()
155 BTC_TRACE_ERROR("start service:server_if=%d,service_id=0x%x\n", p_data->srvc_oper.server_if, in bas_gatts_callback()
/device/soc/esp/esp32/components/bt/common/btc/profile/esp/blufi/bluedroid_host/
Desp_blufi.c38 static uint8_t server_if; variable
113 …tt_if %d\n", p_data->reg_oper.status, p_data->reg_oper.uuid.uu.uuid16, p_data->reg_oper.server_if); in blufi_profile_cb()
120 blufi_env.gatt_if = p_data->reg_oper.server_if; in blufi_profile_cb()
133 …TRACE_DEBUG("DEREG: status %d, gatt_if %d\n", p_data->reg_oper.status, p_data->reg_oper.server_if); in blufi_profile_cb()
295 BT_BD_ADDR_HEX(p_data->conn.remote_bda), p_data->conn.server_if, in blufi_profile_cb()
309 server_if = p_data->conn.server_if; in blufi_profile_cb()
320 BT_BD_ADDR_HEX(p_data->conn.remote_bda), p_data->conn.server_if, in blufi_profile_cb()
414 rc = esp_blufi_close(server_if, conn_id); in esp_blufi_disconnect()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/
Dwx_airsync_prf.c67 airsync_cb_env.gatt_if = p_data->reg_oper.server_if; in airsync_profile_cb()
178 esp_gatts_if_t server_if ; in AirSync_CreateService() local
182 server_if = airsync_cb_env.gatt_if; in AirSync_CreateService()
185 esp_ble_gatts_create_srvc(server_if, &uuid, inst, num_handle, true); in AirSync_CreateService()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c765 gatts_if = p_data->reg_oper.server_if; in btc_gatts_cb_handler()
773 gatts_if = p_data->reg_oper.server_if; in btc_gatts_cb_handler()
844 gatts_if = p_data->create.server_if; in btc_gatts_cb_handler()
854 gatts_if = p_data->add_result.server_if; in btc_gatts_cb_handler()
862 gatts_if = p_data->add_result.server_if; in btc_gatts_cb_handler()
871 gatts_if = p_data->add_result.server_if; in btc_gatts_cb_handler()
880 gatts_if = p_data->srvc_oper.server_if; in btc_gatts_cb_handler()
887 gatts_if = p_data->srvc_oper.server_if; in btc_gatts_cb_handler()
894 gatts_if = p_data->srvc_oper.server_if; in btc_gatts_cb_handler()
901 gatts_if = p_data->conn.server_if; in btc_gatts_cb_handler()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c80 button_cb_env.gatt_if = p_data->reg_oper.server_if; in button_profile_cb()
200 esp_gatts_if_t server_if ; in Button_CreateService() local
204 server_if = button_cb_env.gatt_if; in Button_CreateService()
210 esp_ble_gatts_create_srvc(server_if, &uuid, inst, num_handle, true); in Button_CreateService()
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_cmdp_hostif_gcc.h354 u8 server_if; member
362 u8 server_if; member
371 u8 server_if; member
378 u8 server_if; member
401 u8 server_if; member
/device/soc/esp/esp32/components/bt/common/api/include/api/
Desp_blufi_api.h151 uint8_t server_if; /*!< server interface */ member