lib/mgmt: Add New Connection Parameter Event

This patch adds struct and macro for New Connection Parameter Event.
This commit is contained in:
Andre Guedes 2014-07-01 19:26:39 -03:00 committed by Marcel Holtmann
parent 90d48e47d2
commit a1451db1fe

View File

@ -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",