Home
last modified time | relevance | path

Searched refs:service_p (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_set_member.c78 struct bt_gatt_service *service_p; member
660 if (svc_inst == NULL || svc_inst->service_p == NULL) { in bt_csip_set_member_svc_decl_get()
664 return svc_inst->service_p->attrs; in bt_csip_set_member_svc_decl_get()
739 if (svc_inst->service_p == NULL) { in notify()
743 err = bt_gatt_notify_uuid(conn, uuid, svc_inst->service_p->attrs, data, len); in notify()
838 inst->service_p = &csip_set_member_service_list[instance_cnt]; in bt_csip_set_member_register()
856 remove_csis_char(BT_UUID_CSIS_RANK, inst->service_p); in bt_csip_set_member_register()
860 remove_csis_char(BT_UUID_CSIS_SET_SIZE, inst->service_p); in bt_csip_set_member_register()
864 remove_csis_char(BT_UUID_CSIS_SET_LOCK, inst->service_p); in bt_csip_set_member_register()
867 err = bt_gatt_service_register(inst->service_p); in bt_csip_set_member_register()
[all …]
Dvocs.c98 err = bt_gatt_notify_uuid(NULL, uuid, inst->service_p->attrs, data, len); in notify()
371 return inst->service_p->attrs; in bt_vocs_svc_decl_get()
377 vocs_insts[i].service_p = &vocs_service_list[i]; in prepare_vocs_instances()
441 for (int i = 1; i < inst->service_p->attr_count; i++) { in bt_vocs_register()
442 attr = &inst->service_p->attrs[i]; in bt_vocs_register()
446 chrc = inst->service_p->attrs[i - 1].user_data; in bt_vocs_register()
452 chrc = inst->service_p->attrs[i - 1].user_data; in bt_vocs_register()
458 err = bt_gatt_service_register(inst->service_p); in bt_vocs_register()
Dmicp_mic_dev.c40 struct bt_gatt_service *service_p; member
68 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler()
211 micp_inst.service_p = &mics_svc; in bt_micp_mic_dev_register()
Dvocs_internal.h95 struct bt_gatt_service *service_p; member
Daics.c212 err = bt_gatt_notify_uuid(NULL, uuid, inst->srv.service_p->attrs, data, len); in notify()
446 return aics->srv.service_p->attrs; in bt_aics_svc_decl_get()
452 aics_insts[i].srv.service_p = &aics_service_list[i]; in prepare_aics_instances()
543 for (int i = 1; i < aics->srv.service_p->attr_count; i++) { in bt_aics_register()
546 attr = &aics->srv.service_p->attrs[i]; in bt_aics_register()
552 chrc = aics->srv.service_p->attrs[i - 1].user_data; in bt_aics_register()
561 err = bt_gatt_service_register(aics->srv.service_p); in bt_aics_register()
Daics_internal.h122 struct bt_gatt_service *service_p; member
Dvcp_vol_rend.c65 struct bt_gatt_service *service_p; member
127 err = bt_gatt_notify_uuid(NULL, uuid, inst->service_p->attrs, data, len); in notify()
481 vol_rend.service_p = &vcs_svc; in bt_vcp_vol_rend_register()