From 006301ab40fc71da92f593ddfb2dba70202bd061 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Jan 2011 23:14:13 +0200 Subject: 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. --- doc/mgmt-api.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc') 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 ================================ -- cgit v1.2.3