/AliOS-Things-master/components/ble_host/bt_host/include/aos/ |
A D | gatt.h | 381 int ble_stack_gatt_write(int16_t conn_handle, uint16_t attr_handle, uint8_t *data, uint16_t len, ui… 383 #define ble_stack_gatt_write_response(conn_handle, attr_handle, data, len, offset) \ argument 384 ble_stack_gatt_write(conn_handle, attr_handle, (uint8_t *)data, len, offset, GATT_WRITE) 386 #define ble_stack_gatt_write_no_response(conn_handle, attr_handle, data, len, offset) \ argument 387 …ble_stack_gatt_write(conn_handle, attr_handle, (uint8_t *)data, len, offset, GATT_WRITE_WITHOUT_RE… 389 #define ble_stack_gatt_write_signed(conn_handle, attr_handle, data, len, offset) \ argument 390 ble_stack_gatt_write(conn_handle, attr_handle, (uint8_t *)data, len, offset, GATT_WRITE_SINGED) 392 int ble_stack_gatt_read(int16_t conn_handle, uint16_t attr_handle, uint16_t offset); 393 int ble_stack_gatt_read_multiple(int16_t conn_handle, uint16_t attr_count, uint16_t attr_handle[]);
|
A D | ble.h | 298 uint16_t attr_handle; member 311 uint16_t attr_handle; member 324 uint16_t attr_handle; member
|
/AliOS-Things-master/components/ble_host/ |
A D | README.md | 304 int ble_stack_gatt_read(int16_t conn_handle, uint16_t attr_handle, uint16_t offset) 311 | attr_handle | 读取的属性项句柄 | 319 int ble_stack_gatt_read_multiple(int16_t conn_handle, uint16_t attr_count, uint16_t attr_handle[]) 327 | attr_handle | 读取的属性项句柄列表 | 334 int ble_stack_gatt_write(int16_t conn_handle, uint16_t attr_handle, uint8_t *data, uint16_t len, ui… 341 | attr_handle | 写入的属性项句柄 | 352 int ble_stack_gatt_read_multiple(int16_t conn_handle, uint16_t attr_count, uint16_t attr_handle[]) 360 | attr_handle | 读取的属性项句柄列表 |
|
/AliOS-Things-master/components/ble_host/bt_host/aos/ |
A D | ble.c | 965 event_data.svc_inc.attr_handle = attr->handle; in discover_func() 973 event_data.char_c.attr_handle = attr->handle; in discover_func() 980 event_data.char_des.attr_handle = attr->handle; in discover_func() 1075 event_data.char_handle = attr_handle; in ble_stack_gatt_notify_cb() 1097 if (attr_handle <= 0) { in ble_stack_gatt_write() 1121 params->handle = attr_handle; in ble_stack_gatt_write() 1171 int ble_stack_gatt_read(int16_t conn_handle, uint16_t attr_handle, uint16_t offset) in ble_stack_gatt_read() argument 1203 params->single.handle = attr_handle; in ble_stack_gatt_read() 1216 int ble_stack_gatt_read_multiple(int16_t conn_handle, uint16_t attr_count, uint16_t attr_handle[]) in ble_stack_gatt_read_multiple() argument 1228 if (attr_handle == NULL || attr_count <= 1) { in ble_stack_gatt_read_multiple() [all …]
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/ |
A D | gatt.c | 181 e->char_c.attr_handle); in event_gatt_discovery() 187 uuid_str(&e->svc_inc.uuid), e->svc_inc.attr_handle, e->svc_inc.start_handle, in event_gatt_discovery() 192 … printf("Descriptor %s found: handle %x\n", uuid_str(&e->char_des.uuid), e->char_des.attr_handle); in event_gatt_discovery()
|
/AliOS-Things-master/components/ble_host/ble_profiles/ |
A D | uart_client.c | 364 uart->client_data.uart_profile.uart_ccc_handle = e->attr_handle; in service_discovery()
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | gatt.h | 1099 u16_t attr_handle; member
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/ |
A D | gatt.c | 153 e->char_c.attr_handle); in event_gatt_discovery() 159 uuid_str(&e->svc_inc.uuid), e->svc_inc.attr_handle, e->svc_inc.start_handle, in event_gatt_discovery() 164 … printf("Descriptor %s found: handle %x\n", uuid_str(&e->char_des.uuid), e->char_des.attr_handle); in event_gatt_discovery()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 407 …gattc_on_data_available(ev, event->notify_rx.conn_handle, event->notify_rx.attr_handle, event->not… in commmon_gap_event_cb() 480 …ts_on_indicate_complete(event->notify_tx.conn_handle, event->notify_tx.attr_handle, event->notify_… in central_gap_event_cb() 517 …ribe: handle=%d, reason=%d notify=%d indicate=%d \n", event->subscribe.attr_handle, event->subscri… in central_gap_event_cb()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | gatt.c | 2505 uint16_t attr_handle, in ble_stack_gatt_notify_cb() argument 2819 "end_handle 0x%04x\n", params->_included.attr_handle, in read_included_uuid_cb() 2830 attr->handle = params->_included.attr_handle; in read_included_uuid_cb() 2916 params->_included.attr_handle = handle; in parse_include()
|