mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 15:40:16 +00:00
l2cap: fix L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST
This commit is contained in:
parent
e938c062fd
commit
43d9636f05
@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Fixed
|
||||
- HCI: only add paired LE devices with IRK to resolving list
|
||||
- GAP: use static random address after power up
|
||||
- L2CAP: fix L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST
|
||||
|
||||
### Changed
|
||||
- HCI Dump: provide log level to log_message implementation
|
||||
|
@ -1161,7 +1161,7 @@ typedef uint8_t sm_key_t[16];
|
||||
* @param handle
|
||||
* @param interval_min
|
||||
* @param interval_max
|
||||
* @param latencey
|
||||
* @param latency
|
||||
* @param timeout_multiplier
|
||||
*/
|
||||
#define L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST 0x76u
|
||||
|
@ -4145,7 +4145,7 @@ static int l2cap_le_signaling_handler_dispatch(hci_con_handle_t handle, uint8_t
|
||||
}
|
||||
|
||||
event[0] = L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST;
|
||||
event[1] = 8;
|
||||
event[1] = 10;
|
||||
little_endian_store_16(event, 2, handle);
|
||||
(void)memcpy(&event[4], &command[4], 8);
|
||||
l2cap_emit_event(event, sizeof(event));
|
||||
|
Loading…
x
Reference in New Issue
Block a user