Home
last modified time | relevance | path

Searched refs:dsc (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/examples/bluetooth/nimble/ble_spp/spp_client/main/
Dpeer.c45 uint16_t chr_val_handle, const struct ble_gatt_dsc *dsc,
77 struct peer_dsc *dsc; in peer_dsc_find_prev() local
80 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
81 if (dsc->dsc.handle >= dsc_handle) { in peer_dsc_find_prev()
85 prev = dsc; in peer_dsc_find_prev()
96 struct peer_dsc *dsc; in peer_dsc_find() local
100 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
102 dsc = SLIST_NEXT(prev, next); in peer_dsc_find()
105 if (dsc != NULL && dsc->dsc.handle != dsc_handle) { in peer_dsc_find()
106 dsc = NULL; in peer_dsc_find()
[all …]
Dble_spp_client.h39 struct ble_gatt_dsc dsc; member
/hal_espressif-3.6.0/examples/bluetooth/nimble/blecent/main/
Dpeer.c58 uint16_t chr_val_handle, const struct ble_gatt_dsc *dsc,
90 struct peer_dsc *dsc; in peer_dsc_find_prev() local
93 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
94 if (dsc->dsc.handle >= dsc_handle) { in peer_dsc_find_prev()
98 prev = dsc; in peer_dsc_find_prev()
109 struct peer_dsc *dsc; in peer_dsc_find() local
113 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
115 dsc = SLIST_NEXT(prev, next); in peer_dsc_find()
118 if (dsc != NULL && dsc->dsc.handle != dsc_handle) { in peer_dsc_find()
119 dsc = NULL; in peer_dsc_find()
[all …]
Dmain.c73 const struct peer_dsc *dsc; in blecent_on_write() local
78 dsc = peer_dsc_find_uuid(peer, in blecent_on_write()
82 if (dsc == NULL) { in blecent_on_write()
90 rc = ble_gattc_write_flat(conn_handle, dsc->dsc.handle, in blecent_on_write()
Dblecent.h52 struct ble_gatt_dsc dsc; member
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/main/
Dpeer.c45 uint16_t chr_val_handle, const struct ble_gatt_dsc *dsc,
77 struct peer_dsc *dsc; in peer_dsc_find_prev() local
80 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
81 if (dsc->dsc.handle >= dsc_handle) { in peer_dsc_find_prev()
85 prev = dsc; in peer_dsc_find_prev()
96 struct peer_dsc *dsc; in peer_dsc_find() local
100 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
102 dsc = SLIST_NEXT(prev, next); in peer_dsc_find()
105 if (dsc != NULL && dsc->dsc.handle != dsc_handle) { in peer_dsc_find()
106 dsc = NULL; in peer_dsc_find()
[all …]
Dmain.c216 const struct peer_dsc *dsc; in throughput_task() local
302 dsc = peer_dsc_find_uuid(peer, in throughput_task()
306 if (dsc == NULL) { in throughput_task()
312 rc = blecent_notify(peer->conn_handle, dsc->dsc.handle, in throughput_task()
Dgattc.h41 struct ble_gatt_dsc dsc; member
/hal_espressif-3.6.0/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c96 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in esp_blufi_gatt_svr_register_cb()
97 ctxt->dsc.handle); in esp_blufi_gatt_svr_register_cb()
118 if (ctxt->dsc->att_flags & BLE_ATT_F_WRITE_AUTHOR) { in write_value()
152 if (ctxt->dsc->att_flags & BLE_ATT_F_READ_AUTHOR) { in read_value()
156 ble_uuid_to_str(ctxt->dsc->uuid, str); in read_value()
191 const struct ble_gatt_dsc_def *dsc; in init_gatt_values() local
202 for (dsc = chr->descriptors; dsc && dsc->uuid; dsc++) { in init_gatt_values()
205 gatt_values[i].ptr = (void *)dsc; in init_gatt_values()
/hal_espressif-3.6.0/examples/bluetooth/nimble/blehr/main/
Dgatt_svr.c156 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
157 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph/main/
Dgatt_svr.c181 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
182 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/
Dgatt_svr.c182 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
183 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/ble_spp/spp_server/main/
Dgatt_svr.c178 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
179 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/
Dgatt_svr.c185 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
186 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/components/protocomm/src/transports/
Dprotocomm_nimble.c284 ssize_t temp_outlen = strlen(ctxt->dsc->arg); in gatt_svr_dsc_access()
286 rc = os_mbuf_append(ctxt->om, ctxt->dsc->arg, temp_outlen); in gatt_svr_dsc_access()
411 ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf), in gatt_svr_register_cb()
412 ctxt->dsc.handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c202 uint16_t chr_val_handle, const struct ble_gatt_dsc *dsc, in dsc_disced() argument
210 if (bt_mesh_gattc_info[i].ccc_handle == 0 && dsc && in dsc_disced()
211 BLE_UUID16(&dsc->uuid)->value == BLE_MESH_UUID_GATT_CCC_VAL) { in dsc_disced()
212 bt_mesh_gattc_info[i].ccc_handle = dsc->handle; in dsc_disced()
/hal_espressif-3.6.0/components/fatfs/src/
Dff.c4264 DWORD cl, pcl, ncl, tcl, dsc, tlen, ulen, *tbl; local
4308 dsc = clst2sect(fs, fp->clust);
4309 if (dsc == 0) ABORT(fs, FR_INT_ERR);
4310 dsc += (DWORD)((ofs - 1) / SS(fs)) & (fs->csize - 1);
4311 if (fp->fptr % SS(fs) && dsc != fp->sect) { /* Refill sector cache if needed */
4319 …if (disk_read(fs->pdrv, fp->buf, dsc, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); /* Load current sector…
4321 fp->sect = dsc;