summaryrefslogtreecommitdiff
path: root/lib/hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-17 22:07:52 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-17 22:08:16 -0800
commit620892f621b37a719ccda588250ffa11f0a85531 (patch)
treeefcc5274b099d7efdf260bf07260a4f0d25781d0 /lib/hci.c
parent89b20242bc4a74a4f4446ec5a8d49cde51aaa6f7 (diff)
downloadbluez-620892f621b37a719ccda588250ffa11f0a85531.tar.gz
Add command values from Bluetooth 4.0 specification
Diffstat (limited to 'lib/hci.c')
-rw-r--r--lib/hci.c44
1 files changed, 40 insertions, 4 deletions
diff --git a/lib/hci.c b/lib/hci.c
index 6b5187b40..2e2d93053 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -494,7 +494,7 @@ static hci_map commands_map[] = {
{ "Reserved", 160 },
{ "Reserved", 161 },
{ "Send Keypress Notification", 162 },
- { "IO Capabilities Response Negative Reply", 163 },
+ { "IO Capability Request Negative Reply", 163 },
{ "Read Encryption Key Size", 164 },
{ "Reserved", 165 },
{ "Reserved", 166 },
@@ -532,9 +532,45 @@ static hci_map commands_map[] = {
{ "Read Best Effort Flush Timeout", 194 },
{ "Write Best Effort Flush Timeout", 195 },
{ "Short Range Mode", 196 },
- { "Reserved", 197 },
- { "Reserved", 198 },
- { "Reserved", 200 },
+ { "Read LE Host Support", 197 },
+ { "Write LE Host Support", 198 },
+ { "Reserved", 199 },
+
+ { "LE Set Event Mask", 200 },
+ { "LE Read Buffer Size", 201 },
+ { "LE Read Local Supported Features", 202 },
+ { "Reserved", 203 },
+ { "LE Set Random Address", 204 },
+ { "LE Set Advertising Parameters", 205 },
+ { "LE Read Advertising Channel TX Power", 206 },
+ { "LE Set Advertising Data", 207 },
+
+ { "LE Set Scan Response Data", 208 },
+ { "LE Set Advertise Enable", 209 },
+ { "LE Set Scan Parameters", 210 },
+ { "LE Set Scan Enable", 211 },
+ { "LE Create Connection", 212 },
+ { "LE Create Connection Cancel", 213 },
+ { "LE Read White List Size", 214 },
+ { "LE Clear White List", 215 },
+
+ { "LE Add Device To White List", 216 },
+ { "LE Remove Device From White List", 217 },
+ { "LE Connection Update", 218 },
+ { "LE Set Host Channel Classification", 219 },
+ { "LE Read Channel Map", 220 },
+ { "LE Read Remote Used Features", 221 },
+ { "LE Encrypt", 222 },
+ { "LE Rand", 223 },
+
+ { "LE Start Encryption", 224 },
+ { "LE Long Term Key Request Reply", 225 },
+ { "LE Long Term Key Request Negative Reply", 226 },
+ { "LE Read Supported States", 227 },
+ { "LE Receiver Test", 228 },
+ { "LE Transmitter Test", 229 },
+ { "LE Test End", 230 },
+ { "Reserved", 231 },
{ NULL }
};