mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 09:41:03 +00:00
gatt_client: allow Write Without Response independent of other requests
This commit is contained in:
parent
332b525621
commit
695e959a42
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- L2CAP ERTM: reject incoming connection if ERTM is configured as mandatory but not supported by remote
|
||||
- L2CAP ERTM: send ERTM I-frames round robin with other data
|
||||
- L2CAP: send le data channel sdus round robin with other data
|
||||
- GATT Client: allow Write Without Response independent of other requests
|
||||
|
||||
### Added
|
||||
- GAP: allow to reject GAP classic connection via gap_register_classic_connection_filter
|
||||
|
@ -1870,7 +1870,6 @@ uint8_t gatt_client_read_multiple_characteristic_values(btstack_packet_handler_t
|
||||
uint8_t gatt_client_write_value_of_characteristic_without_response(hci_con_handle_t con_handle, uint16_t value_handle, uint16_t value_length, uint8_t * value){
|
||||
gatt_client_t * peripheral = provide_context_for_conn_handle(con_handle);
|
||||
if (peripheral == NULL) return BTSTACK_MEMORY_ALLOC_FAILED;
|
||||
if (is_ready(peripheral) == 0) return GATT_CLIENT_IN_WRONG_STATE;
|
||||
|
||||
if (value_length > peripheral_mtu(peripheral) - 3) return GATT_CLIENT_VALUE_TOO_LONG;
|
||||
if (!att_dispatch_client_can_send_now(peripheral->con_handle)) return GATT_CLIENT_BUSY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user