Home
last modified time | relevance | path

Searched refs:value_handle (Results 1 – 23 of 23) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/btstack/
A Dmodbluetooth_btstack.c151 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 Dmodbluetooth.h336 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 Dmodbluetooth.c734 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 Dble_characteristic.py145 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 Dble_gap_device_name.py89 value_handle = None
104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
109 ble.gattc_read(conn_handle, value_handle)
A Dstress_log_filesystem.py167 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 Dble_gap_pair.py104 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
116 ble.gattc_read(conn_handle, value_handle)
A Dble_gap_pair_bond.py109 value_handle = wait_for_event(_IRQ_GATTC_CHARACTERISTIC_RESULT, TIMEOUT_MS)
121 ble.gattc_read(conn_handle, value_handle)
A Dble_mtu.py177 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 Dmodbluetooth_nimble.c851 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 Dble_central_client_app.c782 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 Dprofile_client.h130 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 Dgatt.h248 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 Dgatt.h164 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 Dmesh_hal_ble.c447 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 Dgatt.c1277 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 Dgaps_client.c348 handle = result_data.p_char_uuid16_disc_data->value_handle; in gaps_client_discover_result_cb()
A Dbas_client.c401 handle = result_data.p_char_uuid16_disc_data->value_handle; in bas_client_discover_result_cb()
A Dancs_client.c366 handle = result_data.p_char_uuid128_disc_data->value_handle; in ancs_client_discover_result_cb()
A Dsimple_ble_client.c451 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 Dbt_gatts_adapter.c112 data->value_handle = 0; in bt_gatts_define_gatt_char()
/AliOS-Things-master/components/py_engine/modules/ble/
A Dbt_gatts_adapter.c114 data->value_handle = 0; in bt_gatts_define_gatt_char()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c112 data->value_handle = 0; in bt_gatts_define_gatt_char()

Completed in 46 milliseconds