diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-30 15:03:57 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-30 15:06:16 +0200 |
commit | 6964bd2dd54d5cce7ce2588b0dcd0a3530e6fba9 (patch) | |
tree | 9010b09c62a4ff8a9793d646ea5beba76a621ba5 /lib | |
parent | 3e1b64c81d0ef4ae92b601114aa06d85c735d646 (diff) | |
download | bluez-6964bd2dd54d5cce7ce2588b0dcd0a3530e6fba9.tar.gz |
mgmt: Implement set_pairable
This patch implements support for the set_pairable managment command.
Due to the async nature of it a new btd_adapter_pairable_changed
function is added to the core daemon.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mgmt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h index 3657f71d6..1c3094986 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -79,6 +79,8 @@ struct mgmt_mode { #define MGMT_OP_SET_CONNECTABLE 0x0007 +#define MGMT_OP_SET_PAIRABLE 0x0008 + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; @@ -112,3 +114,5 @@ struct mgmt_ev_index_removed { #define MGMT_EV_DISCOVERABLE 0x0007 #define MGMT_EV_CONNECTABLE 0x0008 + +#define MGMT_EV_PAIRABLE 0x0009 |