From 0e33783ff493e3651f974e30bf560587ac3f3843 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 2 Oct 2013 12:16:43 +0300 Subject: [PATCH] doc/mgmt-api: Add Set BR/EDR command definition --- doc/mgmt-api.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index f53e8932f..ffc9bbd8f 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -1252,6 +1252,36 @@ Set Advertising Command Invalid Index +Set BR/EDR Command +======================= + + Command Code: 0x002A + Controller Index: + Command Parameters BR/EDR (1 Octet) + Return Parameters: Current_Settings (4 Octets) + + This command is used to enable or disable BR/EDR support + on a dual-mode controller. The allowed values for the Advertising + command parameter are 0x00 and 0x01. All other values will + return Invalid Parameters. + + A pre-requisite is that LE is already enabled, otherwise + this command will return a "rejected" response. Enabling BR/EDR + can be done both when powered on and powered off, however + disabling it can only be done when powered off (otherwise the + command will again return "rejected"). Disabling BR/EDR will + automatically disable all other BR/EDR related settings. + + 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 ====================== -- 2.47.3