Home
last modified time | relevance | path

Searched refs:p_reg (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_api.c166 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_CreateService() local
172 if (p_reg == NULL) { in GATTS_CreateService()
177 p_app_uuid128 = &p_reg->app_uuid128; in GATTS_CreateService()
396 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_DeleteService() local
401 if (p_reg == NULL) { in GATTS_DeleteService()
405 p_app_uuid128 = &p_reg->app_uuid128; in GATTS_DeleteService()
469 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_StartService() local
475 if (p_reg == NULL) { in GATTS_StartService()
601 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_HandleValueIndication() local
606 if ( (p_reg == NULL) || (p_tcb == NULL)) { in GATTS_HandleValueIndication()
[all …]
Dgatt_cl.c428 if (p_clcb->p_reg->app_cb.p_disc_res_cb) { in gatt_process_find_type_value_rsp()
429 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_find_type_value_rsp()
492 if (p_clcb->p_reg->app_cb.p_disc_res_cb) { in gatt_process_read_info_rsp()
493 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_info_rsp()
648 tGATT_REG *p_reg; in gatt_process_notification() local
707 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) { in gatt_process_notification()
708 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) { in gatt_process_notification()
722 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) { in gatt_process_notification()
723 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) { in gatt_process_notification()
724 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_process_notification()
[all …]
Dgatt_main.c378 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, in gatt_act_connect() argument
426 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if); in gatt_act_connect()
431 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE); in gatt_act_connect()
527 tGATT_REG *p_reg = NULL; in gatt_channel_congestion() local
536 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++) { in gatt_channel_congestion()
537 if (p_reg->in_use) { in gatt_channel_congestion()
538 if (p_reg->app_cb.p_congestion_cb) { in gatt_channel_congestion()
539 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_channel_congestion()
540 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion()
931 tGATT_REG *p_reg; in gatt_send_conn_cback() local
[all …]
Dgatt_utils.c1526 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in gatt_sr_send_req_callback() local
1528 if (!p_reg ) { in gatt_sr_send_req_callback()
1533 if ( p_reg->in_use && in gatt_sr_send_req_callback()
1534 p_reg->app_cb.p_req_cb) { in gatt_sr_send_req_callback()
1535 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
1676 tGATT_REG *p_reg = NULL; in gatt_get_regcb() local
1684 p_reg = &gatt_cb.cl_rcb[ii - 1]; in gatt_get_regcb()
1686 if (!p_reg->in_use) { in gatt_get_regcb()
1691 return p_reg; in gatt_get_regcb()
1781 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in gatt_clcb_alloc() local
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_utils.c90 tBTA_GATTS_RCB *p_reg; in bta_gatts_find_app_rcb_by_app_if() local
92 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++) { in bta_gatts_find_app_rcb_by_app_if()
93 if (p_reg->in_use && p_reg->gatt_if == server_if) { in bta_gatts_find_app_rcb_by_app_if()
94 return p_reg; in bta_gatts_find_app_rcb_by_app_if()
Dbta_gatts_act.c1002 tBTA_GATTS_RCB *p_reg; in bta_gatts_conn_cback() local
1017 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_conn_cback()
1019 if (p_reg && p_reg->p_cback) { in bta_gatts_conn_cback()
1048 (*p_reg->p_cback)(evt, &cb_data); in bta_gatts_conn_cback()
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dbta_ar_api.h65 extern void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id);
Dbta_sys.h220 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg);
Dbta_av_api.h564 tBTA_AV_REG *p_reg; /* action function to register VDP */ member
/hal_espressif-latest/components/bt/host/bluedroid/bta/ar/
Dbta_ar.c104 void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id) in bta_ar_reg_avdt() argument
123 AVDT_Register(p_reg, bta_ar_avdt_cback); in bta_ar_reg_avdt()
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/
Davdt_api.c111 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) in AVDT_Register() argument
117 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
119 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
142 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG)); in AVDT_Register()
/hal_espressif-latest/components/bt/host/bluedroid/bta/sys/
Dbta_sys_main.c520 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) in bta_sys_register() argument
522 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg; in bta_sys_register()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Davdt_api.h446 extern void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback);
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h429 tGATT_REG *p_reg; /* owner of this CLCB */ member
597 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBLE_ADDR_TYPE bd_addr_type, tB…
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_main.c342 if (p_bta_av_cfg->p_act_tbl == NULL || p_bta_av_cfg->p_reg == NULL) { in bta_av_alloc_scb()
739 (*p_bta_av_cfg->p_reg)(&cs, p_service_name, p_scb); in bta_av_api_register()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c237 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) in bta_hh_le_register_cmpl() argument
241 if (p_reg->status == BTA_GATT_OK) { in bta_hh_le_register_cmpl()
242 bta_hh_cb.gatt_if = p_reg->client_if; in bta_hh_le_register_cmpl()