mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 05:04:18 +08:00
lib/mgmt: Add New Connection Parameter Event
This patch adds struct and macro for New Connection Parameter Event.
This commit is contained in:
parent
90d48e47d2
commit
a1451db1fe
10
lib/mgmt.h
10
lib/mgmt.h
@ -571,6 +571,16 @@ struct mgmt_ev_device_removed {
|
||||
struct mgmt_addr_info addr;
|
||||
} __packed;
|
||||
|
||||
#define MGMT_EV_NEW_CONN_PARAM 0x001c
|
||||
struct mgmt_ev_new_conn_param {
|
||||
struct mgmt_addr_info addr;
|
||||
uint8_t store_hint;
|
||||
uint16_t min_interval;
|
||||
uint16_t max_interval;
|
||||
uint16_t latency;
|
||||
uint16_t timeout;
|
||||
} __packed;
|
||||
|
||||
static const char *mgmt_op[] = {
|
||||
"<0x0000>",
|
||||
"Read Version",
|
||||
|
Loading…
Reference in New Issue
Block a user