Home
last modified time | relevance | path

Searched refs:notif_reg (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_api.c876 if ( p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
877 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications()
878 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications()
886 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
887 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in BTA_GATTC_RegisterForNotifications()
889 p_clreg->notif_reg[i].in_use = TRUE; in BTA_GATTC_RegisterForNotifications()
890 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications()
892 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications()
938 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications()
939 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_DeregisterForNotifications()
[all …]
Dbta_gattc_utils.c547 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
548 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry()
549 p_clreg->notif_reg[i].handle == p_notify->handle) in bta_gattc_check_notif_registry()
583 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
584 !bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda)) in bta_gattc_clear_notif_registration()
589 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
591 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
618 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration_by_bda()
619 !bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda)) in bta_gattc_clear_notif_registration_by_bda()
621 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration_by_bda()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gattc_int.h337 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member