diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-14 23:14:13 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-16 23:09:40 +0200 |
commit | 006301ab40fc71da92f593ddfb2dba70202bd061 (patch) | |
tree | 7e2a2c773d46f20e04641a4caf4049af2e662120 /doc | |
parent | 24dbc52388f1ef2e759d24d74cd32f93531c8857 (diff) | |
download | bluez-006301ab40fc71da92f593ddfb2dba70202bd061.tar.gz |
Update Class of Device handling to the latest management interface
This patch updates the class of device handling code to match the latest
management interface. A notable feature is that UUID to service class
mapping policy remains in user space with the help of the svc_hint
parameter of the add_uuid command. This is to make it easy to update the
mapping table when new profiles come along.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mgmt-api.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 24c7070a..d964a702 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -122,6 +122,7 @@ Add UUID Command Command Code: 0x0009 Command Parameters: Controller_Index (2 Octets) UUID (16 Octets) + SVC_Hint (1 octet) Return Paramters: Controller_Index (2 Octets) @@ -134,6 +135,25 @@ Remove UUID Command Return Paramters: Controller_Index (2 Octets) +Set Device Class +================ + + Command Code: 0x000B + Command Parameters: Controller_Index (2 Octets) + Major_Class (1 octet) + Minor_Class (1 octed) + Return Paramters: Controller_Index (2 Octets) + + +Set Service Cache Command +========================= + + Command Code: 0x000C + Command Parameters: Controller_Index (2 Octets) + Enable (1 octet) + Return Paramters: Controller_Index (2 Octets) + + Read Tracing Buffer Size Command ================================ |