Home
last modified time | relevance | path

Searched refs:chr (Results 1 – 24 of 24) sorted by relevance

/hal_espressif-3.6.0/examples/bluetooth/nimble/ble_spp/spp_client/main/
Dpeer.c34 chr_end_handle(const struct peer_svc *svc, const struct peer_chr *chr);
36 chr_is_empty(const struct peer_svc *svc, const struct peer_chr *chr);
74 peer_dsc_find_prev(const struct peer_chr *chr, uint16_t dsc_handle) in peer_dsc_find_prev() argument
80 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
92 peer_dsc_find(const struct peer_chr *chr, uint16_t dsc_handle, in peer_dsc_find() argument
98 prev = peer_dsc_find_prev(chr, dsc_handle); in peer_dsc_find()
100 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
122 struct peer_chr *chr; in peer_dsc_add() local
133 chr = peer_chr_find(svc, chr_val_handle, NULL); in peer_dsc_add()
134 if (chr == NULL) { in peer_dsc_add()
[all …]
Dmain.c38 const struct peer_chr *chr; in ble_spp_client_set_handles() local
39 chr = peer_chr_find_uuid(peer, in ble_spp_client_set_handles()
43 attribute_handle = chr->chr.val_handle; in ble_spp_client_set_handles()
Dble_spp_client.h45 struct ble_gatt_chr chr; member
/hal_espressif-3.6.0/examples/bluetooth/nimble/blecent/main/
Dpeer.c47 chr_end_handle(const struct peer_svc *svc, const struct peer_chr *chr);
49 chr_is_empty(const struct peer_svc *svc, const struct peer_chr *chr);
87 peer_dsc_find_prev(const struct peer_chr *chr, uint16_t dsc_handle) in peer_dsc_find_prev() argument
93 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
105 peer_dsc_find(const struct peer_chr *chr, uint16_t dsc_handle, in peer_dsc_find() argument
111 prev = peer_dsc_find_prev(chr, dsc_handle); in peer_dsc_find()
113 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
135 struct peer_chr *chr; in peer_dsc_add() local
146 chr = peer_chr_find(svc, chr_val_handle, NULL); in peer_dsc_add()
147 if (chr == NULL) { in peer_dsc_add()
[all …]
Dmain.c125 const struct peer_chr *chr; in blecent_on_read() local
130 chr = peer_chr_find_uuid(peer, in blecent_on_read()
133 if (chr == NULL) { in blecent_on_read()
141 rc = ble_gattc_write_flat(conn_handle, chr->chr.val_handle, in blecent_on_read()
170 const struct peer_chr *chr; in blecent_read_write_subscribe() local
174 chr = peer_chr_find_uuid(peer, in blecent_read_write_subscribe()
177 if (chr == NULL) { in blecent_read_write_subscribe()
183 rc = ble_gattc_read(peer->conn_handle, chr->chr.val_handle, in blecent_read_write_subscribe()
Dblecent.h58 struct ble_gatt_chr chr; member
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/main/
Dpeer.c34 chr_end_handle(const struct peer_svc *svc, const struct peer_chr *chr);
36 chr_is_empty(const struct peer_svc *svc, const struct peer_chr *chr);
74 peer_dsc_find_prev(const struct peer_chr *chr, uint16_t dsc_handle) in peer_dsc_find_prev() argument
80 SLIST_FOREACH(dsc, &chr->dscs, next) { in peer_dsc_find_prev()
92 peer_dsc_find(const struct peer_chr *chr, uint16_t dsc_handle, in peer_dsc_find() argument
98 prev = peer_dsc_find_prev(chr, dsc_handle); in peer_dsc_find()
100 dsc = SLIST_FIRST(&chr->dscs); in peer_dsc_find()
122 struct peer_chr *chr; in peer_dsc_add() local
133 chr = peer_chr_find(svc, chr_val_handle, NULL); in peer_dsc_add()
134 if (chr == NULL) { in peer_dsc_add()
[all …]
Dmain.c215 const struct peer_chr *chr; in throughput_task() local
253 chr = peer_chr_find_uuid(peer, in throughput_task()
256 if (chr == NULL) { in throughput_task()
263 rc = blecent_read(peer->conn_handle, chr->chr.val_handle, in throughput_task()
274 chr = peer_chr_find_uuid(peer, in throughput_task()
277 if (chr == NULL) { in throughput_task()
284 … rc = blecent_write(peer->conn_handle, chr->chr.val_handle, (void *) peer, test_data[1]); in throughput_task()
294 chr = peer_chr_find_uuid(peer, in throughput_task()
297 if (chr == NULL) { in throughput_task()
Dgattc.h47 struct ble_gatt_chr chr; member
/hal_espressif-3.6.0/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c89 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in esp_blufi_gatt_svr_register_cb()
90 ctxt->chr.def_handle, in esp_blufi_gatt_svr_register_cb()
91 ctxt->chr.val_handle); in esp_blufi_gatt_svr_register_cb()
114 if (ctxt->chr->flags & BLE_GATT_CHR_F_WRITE_AUTHOR) { in write_value()
146 if (ctxt->chr->flags & BLE_GATT_CHR_F_READ_AUTHOR) { in read_value()
150 ble_uuid_to_str(ctxt->chr->uuid, str); in read_value()
190 const struct ble_gatt_chr_def *chr; in init_gatt_values() local
194 for (chr = svc->characteristics; chr && chr->uuid; chr++) { in init_gatt_values()
197 gatt_values[i].ptr = (void *)chr; in init_gatt_values()
202 for (dsc = chr->descriptors; dsc && dsc->uuid; dsc++) { in init_gatt_values()
/hal_espressif-3.6.0/examples/bluetooth/nimble/blehr/main/
Dgatt_svr.c99 uuid = ble_uuid_u16(ctxt->chr->uuid); in gatt_svr_chr_access_heart_rate()
118 uuid = ble_uuid_u16(ctxt->chr->uuid); in gatt_svr_chr_access_device_info()
149 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
150 ctxt->chr.def_handle, in gatt_svr_register_cb()
151 ctxt->chr.val_handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph/main/
Dgatt_svr.c117 uuid = ctxt->chr->uuid; in gatt_svr_chr_access_sec_test()
174 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
175 ctxt->chr.def_handle, in gatt_svr_register_cb()
176 ctxt->chr.val_handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/
Dgatt_svr.c118 uuid = ctxt->chr->uuid; in gatt_svr_chr_access_sec_test()
175 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
176 ctxt->chr.def_handle, in gatt_svr_register_cb()
177 ctxt->chr.val_handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/ble_spp/spp_server/main/
Dgatt_svr.c114 uuid = ctxt->chr->uuid; in gatt_svr_chr_access_sec_test()
171 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
172 ctxt->chr.def_handle, in gatt_svr_register_cb()
173 ctxt->chr.val_handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/
Dgatt_svr.c124 uuid16 = extract_uuid16_from_thrpt_uuid128(ctxt->chr->uuid); in gatt_svr_read_write_long_test()
178 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
179 ctxt->chr.def_handle, in gatt_svr_register_cb()
180 ctxt->chr.val_handle); in gatt_svr_register_cb()
/hal_espressif-3.6.0/components/fatfs/src/
Dff.c693 static int chk_chr (const char* str, int chr) /* NZ:contained, ZR:not contained */ in chk_chr() argument
695 while (*str && *str != chr) str++; in chk_chr()
819 DWORD chr, /* UTF-16 encoded character (Double encoding unit char if >=0x10000) */ in put_utf() argument
827 hs = (WCHAR)(chr >> 16); in put_utf()
828 wc = (WCHAR)chr; in put_utf()
842 if (chr < 0x80) { /* Single byte code? */ in put_utf()
844 *buf = (TCHAR)chr; in put_utf()
847 if (chr < 0x800) { /* 2-byte sequence? */ in put_utf()
849 *buf++ = (TCHAR)(0xC0 | (chr >> 6 & 0x1F)); in put_utf()
850 *buf++ = (TCHAR)(0x80 | (chr >> 0 & 0x3F)); in put_utf()
[all …]
/hal_espressif-3.6.0/components/protocomm/src/transports/
Dprotocomm_nimble.c309 ble_uuid_to_str(ctxt->chr->uuid, buf), attr_handle); in gatt_svr_chr_access()
334 rc = ble_uuid_flat(ctxt->chr->uuid, uuid); in gatt_svr_chr_access()
344 ble_uuid_to_str(ctxt->chr->uuid, buf), attr_handle, data_len); in gatt_svr_chr_access()
404 ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf), in gatt_svr_register_cb()
405 ctxt->chr.def_handle, in gatt_svr_register_cb()
406 ctxt->chr.val_handle, ctxt->chr.chr_def->uuid->type); in gatt_svr_register_cb()
/hal_espressif-3.6.0/tools/ldgen/test/
Dtest_entity.py183 entity_b = Entity(chr(ord(Entity.ALL[0]) - 1))
188 entity_b = Entity('libfreertos.a', chr(ord(Entity.ALL[0]) - 1))
193 entity_b = Entity('libfreertos.a', 'croutine', chr(ord(Entity.ALL[0]) - 1))
/hal_espressif-3.6.0/tools/kconfig/
Dzconf.l71 static void warn_ignored_character(char chr) in warn_ignored_character() argument
75 zconf_curname(), zconf_lineno(), chr); in warn_ignored_character()
/hal_espressif-3.6.0/tools/esp_prov/transport/
Dble_cli.py247 found_name = ''.join(chr(b) for b in readval).lower()
334 return ''.join(chr(b) for b in readval)
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c253 const struct ble_gatt_chr *chr, void *arg) in chr_disced() argument
259 const ble_uuid_any_t *uuid = &chr->uuid; in chr_disced()
260 if (chr) { in chr_disced()
267 if (!(chr->properties & BLE_MESH_GATT_CHRC_WRITE_WITHOUT_RESP)) { in chr_disced()
272 bt_mesh_gattc_info[i].data_in_handle = chr->val_handle; in chr_disced()
274 if (!(chr->properties & BLE_MESH_GATT_CHRC_NOTIFY)) { in chr_disced()
279 bt_mesh_gattc_info[i].data_out_handle = chr->val_handle; in chr_disced()
/hal_espressif-3.6.0/tools/unit-test-app/tools/
DCreateSectionTable.py79 return ''.join([chr(int(hex_data[_i:_i + 2], base=16))
/hal_espressif-3.6.0/examples/system/ota/advanced_https_ota/main/ble_helper/
Dnimble_gatts.c96 uuid = ctxt->chr->uuid; in gatt_svr_chr_access_sec_test()
/hal_espressif-3.6.0/tools/esp_app_trace/espytrace/
Dapptrace.py487 ch = str(chr(sec_data[i]))