OSDN Git Service

doc: Add mgmt_set_advertising details to mgmt API
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 25 Sep 2013 09:34:07 +0000 (12:34 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 25 Sep 2013 10:51:11 +0000 (13:51 +0300)
doc/mgmt-api.txt

index 1e450e4..e4b0ce6 100644 (file)
@@ -193,6 +193,7 @@ Read Controller Information Command
                8       Basic Rate/Enhanced Data Rate
                9       High Speed
                10      Low Energy
+               11      Advertising
 
        This command generates a Command Complete event on success or
        a Command Status event on failure.
@@ -1224,6 +1225,27 @@ Set Device ID Command
                                Invalid Index
 
 
+Set Advertising Command
+=======================
+
+       Command Code:           0x0029
+       Controller Index:       <controller id>
+       Command Parameters      Advertising (1 Octet)
+       Return Parameters:      Current_Settings (4 Octets)
+
+       This command is used to enable LE advertising on a controller
+       that supports it. A pre-requisite is that LE is already enabled,
+       otherwise command will return a "rejected" response.
+
+       This command generates a Command Complete event on success or a
+       Command Status event on failure.
+
+       Possible errors:        Busy
+                               Rejected
+                               Not Supported
+                               Invalid Parameters
+                               Invalid Index
+
 Command Complete Event
 ======================