Home
last modified time | relevance | path

Searched refs:svc (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c683 struct bt_mesh_gatt_service *svc = NULL; in bt_mesh_gatts_find_attr_by_handle() local
686 SYS_SLIST_FOR_EACH_CONTAINER(&bt_mesh_gatts_db, svc, node) { in bt_mesh_gatts_find_attr_by_handle()
689 for (i = 0; i < svc->attr_count; i++) { in bt_mesh_gatts_find_attr_by_handle()
690 attr = &svc->attrs[i]; in bt_mesh_gatts_find_attr_by_handle()
704 struct bt_mesh_gatt_service *svc = NULL; in bt_mesh_gatts_foreach_attr() local
706 SYS_SLIST_FOR_EACH_CONTAINER(&bt_mesh_gatts_db, svc, node) { in bt_mesh_gatts_foreach_attr()
709 for (i = 0; i < svc->attr_count; i++) { in bt_mesh_gatts_foreach_attr()
710 struct bt_mesh_gatt_attr *attr = &svc->attrs[i]; in bt_mesh_gatts_foreach_attr()
876 static int gatts_register(struct bt_mesh_gatt_service *svc) in gatts_register() argument
893 sys_slist_append(&bt_mesh_gatts_db, &svc->node); in gatts_register()
[all …]
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c86 ble_uuid_to_str(ctxt->svc.svc_def->uuid, buf), in esp_blufi_gatt_svr_register_cb()
87 ctxt->svc.handle); in esp_blufi_gatt_svr_register_cb()
217 const struct ble_gatt_svc_def *svc; in init_gatt_values() local
221 for (svc = gatt_svr_svcs; svc && svc->uuid; svc++) { in init_gatt_values()
222 for (chr = svc->characteristics; chr && chr->uuid; chr++) { in init_gatt_values()
246 const struct ble_gatt_svc_def *svc; in deinit_gatt_values() local
250 for (svc = gatt_svr_svcs; svc && svc->uuid; svc++) { in deinit_gatt_values()
251 for (chr = svc->characteristics; chr && chr->uuid; chr++) { in deinit_gatt_values()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c1047 struct bt_mesh_gatt_service *svc = NULL; in bt_mesh_gatts_find_attr_by_handle() local
1050 SYS_SLIST_FOR_EACH_CONTAINER(&bt_mesh_gatts_db, svc, node) { in bt_mesh_gatts_find_attr_by_handle()
1053 for (i = 0; i < svc->attr_count; i++) { in bt_mesh_gatts_find_attr_by_handle()
1054 attr = &svc->attrs[i]; in bt_mesh_gatts_find_attr_by_handle()
1068 struct bt_mesh_gatt_service *svc = NULL; in bt_mesh_gatts_foreach_attr() local
1070 SYS_SLIST_FOR_EACH_CONTAINER(&bt_mesh_gatts_db, svc, node) { in bt_mesh_gatts_foreach_attr()
1073 for (i = 0; i < svc->attr_count; i++) { in bt_mesh_gatts_foreach_attr()
1074 struct bt_mesh_gatt_attr *attr = &svc->attrs[i]; in bt_mesh_gatts_foreach_attr()
1220 static int gatts_register(struct bt_mesh_gatt_service *svc) in gatts_register() argument
1237 sys_slist_append(&bt_mesh_gatts_db, &svc->node); in gatts_register()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_bearer_adapt.h701 int bt_mesh_gatts_service_register(struct bt_mesh_gatt_service *svc);
702 int bt_mesh_gatts_service_deregister(struct bt_mesh_gatt_service *svc);
704 int bt_mesh_gatts_service_unregister(struct bt_mesh_gatt_service *svc);
730 int bt_mesh_gatts_service_stop(struct bt_mesh_gatt_service *svc);
731 int bt_mesh_gatts_service_start(struct bt_mesh_gatt_service *svc);
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_cache.c1258 const list_t* svc = bta_gattc_get_services(conn_id); in bta_gattc_get_service_with_uuid() local
1259 if(!svc) { in bta_gattc_get_service_with_uuid()
1265 size_t db_size = list_length(svc); in bta_gattc_get_service_with_uuid()
1275 for (list_node_t *sn = list_begin(svc); in bta_gattc_get_service_with_uuid()
1276 sn != list_end(svc); sn = list_next(sn)) { in bta_gattc_get_service_with_uuid()