/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | modbluetooth_btstack.c | 151 uint16_t value_handle; member 203 pending_op->value_handle = value_handle; in btstack_enqueue_pending_operation() 236 …pending_op->conn_handle == conn_handle && (value_handle == 0xffff || pending_op->value_handle == v… in btstack_finish_pending_operation() 471 uint16_t value_handle = gatt_event_notification_get_value_handle(packet); in btstack_packet_handler() local 478 uint16_t value_handle = gatt_event_indication_get_value_handle(packet); in btstack_packet_handler() local 1099 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_notify() argument 1122 int err = att_server_notify(conn_handle, value_handle, value, value_len); in mp_bluetooth_gatts_notify_send() 1143 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_indicate() argument 1159 int err = att_server_indicate(conn_handle, value_handle, data, len); in mp_bluetooth_gatts_indicate() 1358 .value_handle = 0, in mp_bluetooth_gattc_discover_descriptors() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modbluetooth.h | 336 int mp_bluetooth_gatts_read(uint16_t value_handle, uint8_t **value, size_t *value_len); 338 int mp_bluetooth_gatts_write(uint16_t value_handle, const uint8_t *value, size_t value_len, bool se… 340 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle); 342 int mp_bluetooth_gatts_notify_send(uint16_t conn_handle, uint16_t value_handle, const uint8_t *valu… 344 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle); 348 int mp_bluetooth_gatts_set_buffer(uint16_t value_handle, size_t len, bool append); 387 int mp_bluetooth_gattc_read(uint16_t conn_handle, uint16_t value_handle); 433 void mp_bluetooth_gatts_on_write(uint16_t conn_handle, uint16_t value_handle); 436 void mp_bluetooth_gatts_on_indicate_complete(uint16_t conn_handle, uint16_t value_handle, uint8_t s… 440 mp_int_t mp_bluetooth_gatts_on_read_request(uint16_t conn_handle, uint16_t value_handle); [all …]
|
A D | modbluetooth.c | 734 mp_int_t value_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gatts_notify() local 760 mp_int_t value_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gatts_set_buffer() local 1216 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_write() 1226 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_read_request() 1326 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gattc_on_data_available() 1421 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gatts_on_write() 1431 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gatts_on_indicate_complete() 1439 (void)value_handle; in mp_bluetooth_gatts_on_read_request() 1506 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gattc_on_characteristic_result() 1549 ringbuf_put16(&o->ringbuf, value_handle); in mp_bluetooth_gattc_on_data_available() [all …]
|
/AliOS-Things-master/components/py_engine/tests/multi_bluetooth/ |
A D | ble_characteristic.py | 145 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 150 ble.gattc_read(conn_handle, value_handle) 155 ble.gattc_write(conn_handle, value_handle, "central0", 1) 160 ble.gattc_read(conn_handle, value_handle) 165 ble.gattc_write(conn_handle, value_handle, "central1", 1) 170 ble.gattc_read(conn_handle, value_handle) 175 ble.gattc_write(conn_handle, value_handle, "central2", 1) 180 ble.gattc_read(conn_handle, value_handle)
|
A D | ble_gap_device_name.py | 89 value_handle = None 104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 109 ble.gattc_read(conn_handle, value_handle)
|
A D | stress_log_filesystem.py | 167 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 172 ble.gattc_read(conn_handle, value_handle) 176 ble.gattc_write(conn_handle, value_handle, "{}".format(op), 1)
|
A D | ble_gap_pair.py | 104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 116 ble.gattc_read(conn_handle, value_handle)
|
A D | ble_gap_pair_bond.py | 109 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 121 ble.gattc_read(conn_handle, value_handle)
|
A D | ble_mtu.py | 177 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS) 182 ble.gattc_write(conn_handle, value_handle, chr(ord("a") + i) * (mtu + 20), 1)
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 851 int req = mp_bluetooth_gatts_on_read_request(conn_handle, value_handle); in characteristic_access_cb() 883 mp_bluetooth_gatts_on_write(conn_handle, value_handle); in characteristic_access_cb() 1018 ble_gatts_chr_updated(value_handle); in mp_bluetooth_gatts_write() 1025 int mp_bluetooth_gatts_notify(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_notify() argument 1031 return ble_hs_err_to_errno(ble_gattc_notify(conn_handle, value_handle)); in mp_bluetooth_gatts_notify() 1042 return ble_hs_err_to_errno(ble_gattc_notify_custom(conn_handle, value_handle, om)); in mp_bluetooth_gatts_notify_send() 1045 int mp_bluetooth_gatts_indicate(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_indicate() argument 1051 return ble_hs_err_to_errno(ble_gattc_indicate(conn_handle, value_handle)); in mp_bluetooth_gatts_indicate() 1054 int mp_bluetooth_gatts_set_buffer(uint16_t value_handle, size_t len, bool append) { in mp_bluetooth_gatts_set_buffer() argument 1361 int mp_bluetooth_gattc_read(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gattc_read() argument [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_central/ |
A D | ble_central_client_app.c | 782 p_result_table->result_data.char_uuid16_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 793 p_result_table->result_data.char_uuid16_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 810 p_result_table->result_data.char_uuid128_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 822 p_result_table->result_data.char_uuid128_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 857 p_result_table->result_data.char_uuid16_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 869 p_result_table->result_data.char_uuid16_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 905 p_result_table->result_data.char_uuid128_disc_data.value_handle, in ble_central_gcs_handle_discovery_result() 917 p_result_table->result_data.char_uuid128_disc_data.value_handle, in ble_central_gcs_handle_discovery_result()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/ |
A D | profile_client.h | 130 uint16_t value_handle; /**< Characteristic Value Handle */ member 139 uint16_t value_handle; /**< Characteristic Value Handle */ member
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | gatt.h | 248 u16_t value_handle; member 555 .value_handle = 0U, \ 1364 u16_t value_handle; member
|
/AliOS-Things-master/components/ble_host/bt_host/include/aos/ |
A D | gatt.h | 164 uint16_t value_handle; member 272 NULL, NULL,(&(struct gatt_char_t){.uuid= _uuid,.value_handle = 0,.properties = _props,}))
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/ref_impl/ |
A D | mesh_hal_ble.c | 447 subscribe_param.value_handle = attr->handle + 1; in proxy_prov_discover_func() 508 subscribe_param.value_handle = attr->handle + 1; in proxy_discover_func()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | gatt.c | 1277 u16_t value_handle; member 1292 handle = chrc->value_handle; in bt_gatt_attr_value_handle() 1318 pdu.value_handle = sys_cpu_to_le16(bt_gatt_attr_value_handle(attr)); in bt_gatt_attr_read_chrc() 1320 value_len = sizeof(pdu.properties) + sizeof(pdu.value_handle); in bt_gatt_attr_read_chrc() 2528 if (handle != params->value_handle) { in bt_gatt_notification() 2574 if (handle != params->value_handle) { in bt_gatt_mult_notification() 2956 .value_handle = _handle, \ 3015 chrc->value_handle, in parse_characteristic() 3967 if (tmp->value_handle == params->value_handle && in bt_gatt_subscribe() 4031 if (tmp->value_handle == params->value_handle) { in bt_gatt_unsubscribe()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/src/ble/profile/client/ |
A D | gaps_client.c | 348 handle = result_data.p_char_uuid16_disc_data->value_handle; in gaps_client_discover_result_cb()
|
A D | bas_client.c | 401 handle = result_data.p_char_uuid16_disc_data->value_handle; in bas_client_discover_result_cb()
|
A D | ancs_client.c | 366 handle = result_data.p_char_uuid128_disc_data->value_handle; in ancs_client_discover_result_cb()
|
A D | simple_ble_client.c | 451 handle = result_data.p_char_uuid16_disc_data->value_handle; in simp_ble_client_discover_result_cb()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/ |
A D | bt_gatts_adapter.c | 112 data->value_handle = 0; in bt_gatts_define_gatt_char()
|
/AliOS-Things-master/components/py_engine/modules/ble/ |
A D | bt_gatts_adapter.c | 114 data->value_handle = 0; in bt_gatts_define_gatt_char()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/ |
A D | bt_gatts_adapter.c | 112 data->value_handle = 0; in bt_gatts_define_gatt_char()
|