Bluetooth: enumerate local supported codec and cache details
Subsystems (2)
PATCH v9 1/10 Bluetooth: enumerate local supported codec and cache details
Move reading of supported local codecs into a separate init function, query codecs capabilities and cache the data
---
* changes in v9:
- use shortname vnd instead of ven
* changes in v8:
- add comments
- split __u8 codec_id[5] into {__u8 id; __le16 cid, vid }
- address review comment related codec caps structure
* changes in v7:
- keep codec enumeration call in hci_init instead of having a separate function
- Remove unused bitmasks defined for LE transports
* changes in v6:
- fix compiler warning reported for ARCH=arc
* changes in v5:
- fix review comments
- move code used to read standard/vendor codecs caps into single function
* changes in v4:
- convert reading of codecs and codecs caps calls from async to sync
* changes in v3
move codec enumeration into a new init function
* changes in v2
add skb length check before accessing data
include/net/bluetooth/hci.h | 41 +++++++ include/net/bluetooth/hci_core.h | 17 +++ net/bluetooth/hci_core.c | 199 ++++++++++++++++++++++++++++++- 3 files changed, 253 insertions(+), 4 deletions(-)
include/net/bluetooth/hci.h +41 -0
@@ -1307,6 +1307,28 @@ struct hci_rp_read_data_block_size { } __packed;#define HCI_OP_READ_LOCAL_CODECS 0x100b +struct hci_std_codecs { +__u8 num; +__u8 codec[]; +} __packed; + +struct hci_vnd_codec { +/* company id */ +__le16 cid; +/* vendor codec id */ +__le16 vid; +} __packed; + +struct hci_vnd_codecs { +__u8 num; +struct hci_vnd_codec codec[]; +} __packed; + +struct hci_rp_read_local_supported_codecs { +__u8 status; +struct hci_std_codecs std_codecs; +struct hci_vnd_codecs vnd_codecs; +} __packed;#define HCI_OP_READ_LOCAL_PAIRING_OPTS 0x100cstruct hci_rp_read_local_pairing_opts {
@@ -1315,6 +1337,25 @@ struct hci_rp_read_local_pairing_opts {__u8 max_key_size; } __packed; +#define HCI_OP_READ_LOCAL_CODEC_CAPS 0x100e +struct hci_op_read_local_codec_caps { +__u8 id; +__le16 cid; +__le16 vid; +__u8 transport; +__u8 direction; +} __packed; + +struct hci_codec_caps { +__u8 len; +__u8 data[]; +} __packed; + +struct hci_rp_read_local_codec_caps { +__u8 status; +__u8 num_caps; +} __packed; +#define HCI_OP_READ_PAGE_SCAN_ACTIVITY 0x0c1bstruct hci_rp_read_page_scan_activity {__u8 status;
include/net/bluetooth/hci_core.h +17 -0
@@ -131,6 +131,17 @@ struct bdaddr_list {u8 bdaddr_type; }; +struct codec_list { +struct list_head list; +u8 id; +__le16 cid; +__le16 vid; +u8 transport; +u8 num_caps; +u32 len; +struct hci_codec_caps caps[]; +}; +struct bdaddr_list_with_irk {struct list_head list;bdaddr_t bdaddr;
@@ -535,6 +546,7 @@ struct hci_dev {struct list_head pend_le_conns;struct list_head pend_le_reports;struct list_head blocked_keys; +struct list_head local_codecs;struct hci_dev_stats stat;
@@ -1849,4 +1861,9 @@ void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr,#define SCO_AIRMODE_CVSD 0x0000#define SCO_AIRMODE_TRANSP 0x0003 +#define LOCAL_CODEC_ACL_MASK BIT(0) +#define LOCAL_CODEC_SCO_MASK BIT(1) + +#define TRANSPORT_TYPE_MAX 0x04 +#endif /* __HCI_CORE_H */
net/bluetooth/hci_core.c +195 -4
229 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v9 2/10 Bluetooth: Add support for Read Local Supported Codecs V2
Use V2 version of read local supported command is controller supports
snoop:
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 20
Read Local Supported Codecs V2 (0x04|0x000d) ncmd 1
Status: Success (0x00)
Number of supported codecs: 7
Codec: u-law log (0x00)
Logical Transport Type: 0x02
Codec supported over BR/EDR SCO and eSCO
Codec: A-law log (0x01)
Logical Transport Type: 0x02
Codec supported over BR/EDR SCO and eSCO
Codec: CVSD (0x02)
Logical Transport Type: 0x02
Codec supported over BR/EDR SCO and eSCO
Codec: Transparent (0x03)
Logical Transport Type: 0x02
Codec supported over BR/EDR SCO and eSCO
Codec: Linear PCM (0x04)
Logical Transport Type: 0x02
Codec supported over BR/EDR SCO and eSCO
Codec: Reserved (0x08)
Logical Transport Type: 0x03
Codec supported over BR/EDR ACL
Codec supported over BR/EDR SCO and eSCO
Codec: mSBC (0x05)
Logical Transport Type: 0x03
Codec supported over BR/EDR ACL
Codec supported over BR/EDR SCO and eSCO
Number of vendor codecs: 0
......
< HCI Command: Read Local Suppor.. (0x04|0x000e) plen 7
Codec: mSBC (0x05)
Logical Transport Type: 0x00
Direction: Input (Host to Controller) (0x00)Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 12
Read Local Supported Codec Capabilities (0x04|0x000e) ncmd 1
Status: Success (0x00)
Number of codec capabilities: 1
Capabilities #0:
00 00 11 15 02 33---
* changes in v9:
use vnd as shortcut name for vendor instead of ven
* changes in v8:
no changes
* changes in v7:
call codec enumeration code in hci_init instead of having it in a separate function
* changes in v6
no changes
* changes in v5:
fix review comments
* changes in v4:
converts codec read capabilities calls from async to sync
* changes in v3:
No changes
* changes in v2:
add length check for event data before accessing
include/net/bluetooth/hci.h | 29 ++++++++++++++ net/bluetooth/hci_core.c | 78 ++++++++++++++++++++++++++++++++++++- 2 files changed, 106 insertions(+), 1 deletion(-)
include/net/bluetooth/hci.h +29 -0
@@ -1337,6 +1337,35 @@ struct hci_rp_read_local_pairing_opts {__u8 max_key_size; } __packed; +#define HCI_OP_READ_LOCAL_CODECS_V2 0x100d +struct hci_std_codec_v2 { +__u8 id; +__u8 transport; +} __packed; + +struct hci_std_codecs_v2 { +__u8 num; +struct hci_std_codec_v2 codec[]; +} __packed; + +struct hci_vnd_codec_v2 { +__u8 id; +__le16 cid; +__le16 vid; +__u8 transport; +} __packed; + +struct hci_vnd_codecs_v2 { +__u8 num; +struct hci_vnd_codec_v2 codec[]; +} __packed; + +struct hci_rp_read_local_supported_codecs_v2 { +__u8 status; +struct hci_std_codecs_v2 std_codecs; +struct hci_vnd_codecs_v2 vendor_codecs; +} __packed; +#define HCI_OP_READ_LOCAL_CODEC_CAPS 0x100estruct hci_op_read_local_codec_caps {__u8 id;
net/bluetooth/hci_core.c +77 -1
96 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v9 3/10 Bluetooth: Add a callback function to retireve data path
In reply to Kiran KThere is no standard HCI command to retrieve data path for transport. Add a new callback function to retrieve data path which is used in offload usecase. This needs to be set at setup stage if controller supports offload codecs
---
* changes in v9:
- define a separate patch for core changes
include/net/bluetooth/hci_core.h | 1 + 1 file changed, 1 insertion(+)
include/net/bluetooth/hci_core.h +1 -0
@@ -617,6 +617,7 @@ struct hci_dev {int (*set_bdaddr)(struct hci_dev *hdev,const bdaddr_t *bdaddr);void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev); +int (*get_data_path)(struct hci_dev *hdev); };#define HCI_PHY_HANDLE (handle) (handle & 0xff)
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 03/10] Bluetooth: Add a callback function to retireve data path
Hi Kiran,
Quoted 20 lines
There is no standard HCI command to retrieve data path for transport. Add a new callback function to retrieve data path which is used in offload usecase. This needs to be set at setup stage if controller supports offload codecs
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
* changes in v9:
- define a separate patch for core changes
include/net/bluetooth/hci_core.h| 1 +1 file changed, 1 insertion(+)include/net/bluetooth/hci_core.h +0
-0
include/net/bluetooth/hci_core.h struct hci_dev { · line 621
Quoted 5 lines
include/net/bluetooth/hci_core.h +1
-0@@ -617,6 +617,7 @@ struct hci_dev {int (*set_bdaddr)(struct hci_dev *hdev,const bdaddr_t *bdaddr);void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev); +int (*get_data_path)(struct hci_dev *hdev); };
and where is the code using hdev->get_data_path. That code needs to be in this patch.
Regards
Marcel
RE: [PATCH v9 03/10] Bluetooth: Add a callback function to retireve data path
Hi Marcel,
Quoted 17 lines
Hi Kiran,
Quoted 15 lines
There is no standard HCI command to retrieve data path for transport. Add a new callback function to retrieve data path which is used in offload usecase. This needs to be set at setup stage if controller supports offload codecs
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
* changes in v9:
- define a separate patch for core changes
include/net/bluetooth/hci_core.h| 1 +1 file changed, 1 insertion(+)
Quoted 14 lines
include/net/bluetooth/hci_core.h struct hci_dev { · line 621
Quoted 11 lines
include/net/bluetooth/hci_core.h +1
-0@@ -617,6 +617,7 @@ struct hci_dev {int (*set_bdaddr)(struct hci_dev *hdev,const bdaddr_t *bdaddr);void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev); +int (*get_data_path)(struct hci_dev *hdev); };and where is the code using
hdev->get_data_path. That code needs to be in this patch.
In the previous patchset, there was a comment to separate out driver and core changes. Let me know if I am missing something here.
https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/
Quoted 4 lines
Regards
Marcel
Regards,
Kiran
Marcel Holtmann
maintainerRe: [PATCH v9 03/10] Bluetooth: Add a callback function to retireve data path
Hi Kiran,
Quoted 30 lines
Quoted 15 lines
Quoted 15 lines
There is no standard HCI command to retrieve data path for transport. Add a new callback function to retrieve data path which is used in offload usecase. This needs to be set at setup stage if controller supports offload codecs
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
* changes in v9:
- define a separate patch for core changes
include/net/bluetooth/hci_core.h| 1 +1 file changed, 1 insertion(+)Quoted 14 lines
include/net/bluetooth/hci_core.h struct hci_dev { · line 621
Quoted 11 lines
include/net/bluetooth/hci_core.h +1
-0@@ -617,6 +617,7 @@ struct hci_dev {int (*set_bdaddr)(struct hci_dev *hdev,const bdaddr_t *bdaddr);void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev); +int (*get_data_path)(struct hci_dev *hdev); };and where is the code using
hdev->get_data_path. That code needs to be in this patch.
Quoted 3 lines
In the previous patchset, there was a comment to separate out driver and core changes. Let me know if I am missing something here.
https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/
I know that and this is not contradictory. Introducing such a callback must come with the usage of said callback. Usage means the core side and not the driver side of it.
Regards
Marcel
PATCH v9 4/10 Bluetooth: btintel: set get_data_path callback
In reply to Kiran KRead supported offload usecases and set get_data_path callback if controller suppports offload codecs.
--- drivers/bluetooth/btintel.c | 36 ++++++++++++++++++++++++++++++++++++ drivers/bluetooth/btintel.h | 18 ++++++++++++++++++ drivers/bluetooth/btusb.c | 8 ++++++++ 3 files changed, 62 insertions(+)
drivers/bluetooth/btintel.c +36 -0
@@ -1272,6 +1272,42 @@ int btintel_set_debug_features(struct hci_dev *hdev, }EXPORT_SYMBOL_GPL (btintel_set_debug_features); +int btintel_get_data_path (struct hci_dev *hdev) +{ +return 1 ; +} +EXPORT_SYMBOL_GPL (btintel_get_data_path); + +int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases) +{ +struct sk_buff *skb; +int err =0 ; + + skb =__hci_cmd_sync (hdev,0xfc86 ,0 ,NULL ,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"Reading offload usecases failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } + +if (skb->len <sizeof (*usecases)) { + err = -EIO ; + goto error; + } + +if (skb->data[0 ]) { + err = -bt_to_errno (skb->data[0 ]); + goto error; + } + +memcpy (usecases, skb->data,sizeof (*usecases)); +error: +kfree_skb (skb); +return err; +} +EXPORT_SYMBOL_GPL (btintel_read_offload_usecases); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );MODULE_DESCRIPTION ("Bluetooth support for Intel devices ver " VERSION );MODULE_VERSION (VERSION );
drivers/bluetooth/btintel.h +18 -0
@@ -132,6 +132,11 @@ struct intel_debug_features {__u8 page1[16 ]; } __packed; +struct intel_offload_usecases { +__u8 status; +__u8 preset[8 ]; +} __packed; +#define INTEL_HW_PLATFORM (cnvx_bt) ((u8)(((cnvx_bt) & 0x0000ff00) >> 8))#define INTEL_HW_VARIANT (cnvx_bt) ((u8)(((cnvx_bt) & 0x003f0000) >> 16))#define INTEL_CNVX_TOP_TYPE (cnvx_top) ((cnvx_top) & 0x00000fff)
@@ -175,6 +180,9 @@ int btintel_read_debug_features(struct hci_dev *hdev, struct intel_debug_features *features);int btintel_set_debug_features (struct hci_dev *hdev,const struct intel_debug_features *features); +int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases); +int btintel_get_data_path (struct hci_dev *hdev);#else static inline int btintel_check_bdaddr (struct hci_dev *hdev)
@@ -307,4 +315,14 @@ static inline int btintel_set_debug_features(struct hci_dev *hdev, return -EOPNOTSUPP; } +static int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases) +{ +return -EOPNOTSUPP ; +} + +static int btintel_get_data_path (struct hci_dev *hdev) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +8 -0
@@ -2952,6 +2952,7 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev)int err;struct intel_debug_features features;struct intel_version_tlv version; +struct intel_offload_usecases usecases;bt_dev_dbg (hdev,"" );
@@ -3008,6 +3009,13 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev)/* Set DDC mask for available debug features */ btintel_set_debug_features (hdev, &features); + err =btintel_read_offload_usecases (hdev, &usecases); +if (!err) { +/* set get_data_path callback if offload is supported */ +if (usecases.preset[0 ] &0x03 ) + hdev->get_data_path = btintel_get_data_path; + } +/* Read the Intel version information after loading the FW */ err =btintel_read_version_tlv (hdev, &version);if (err)
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 04/10] Bluetooth: btintel: set get_data_path callback
Hi Kiran,
Quoted 113 lines
Read supported offload usecases and set
get_data_pathcallback if controller suppports offload codecs.Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c | 36 ++++++++++++++++++++++++++++++++++++ drivers/bluetooth/btintel.h | 18 ++++++++++++++++++ drivers/bluetooth/btusb.c | 8 ++++++++ 3 files changed, 62 insertions(+)drivers/bluetooth/btintel.c +36
-0@@ -1272,6 +1272,42 @@ int btintel_set_debug_features(struct hci_dev *hdev, }EXPORT_SYMBOL_GPL (btintel_set_debug_features); +int btintel_get_data_path (struct hci_dev *hdev) +{ +return 1 ; +} +EXPORT_SYMBOL_GPL (btintel_get_data_path); + +int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases) +{ +struct sk_buff *skb; +int err =0 ; + + skb =__hci_cmd_sync (hdev,0xfc86 ,0 ,NULL ,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"Reading offload usecases failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } + +if (skb->len <sizeof (*usecases)) { + err = -EIO ; + goto error; + } + +if (skb->data[0 ]) { + err = -bt_to_errno (skb->data[0 ]); + goto error; + } + +memcpy (usecases, skb->data,sizeof (*usecases)); +error: +kfree_skb (skb); +return err; +} +EXPORT_SYMBOL_GPL (btintel_read_offload_usecases); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );MODULE_DESCRIPTION ("Bluetooth support for Intel devices ver " VERSION );MODULE_VERSION (VERSION );drivers/bluetooth/btintel.h +18
-0@@ -132,6 +132,11 @@ struct intel_debug_features {__u8 page1[16 ]; } __packed; +struct intel_offload_usecases { +__u8 status; +__u8 preset[8 ]; +} __packed; +#define INTEL_HW_PLATFORM (cnvx_bt) ((u8)(((cnvx_bt) & 0x0000ff00) >> 8))#define INTEL_HW_VARIANT (cnvx_bt) ((u8)(((cnvx_bt) & 0x003f0000) >> 16))#define INTEL_CNVX_TOP_TYPE (cnvx_top) ((cnvx_top) & 0x00000fff)@@ -175,6 +180,9 @@ int btintel_read_debug_features(struct hci_dev *hdev, struct intel_debug_features *features);int btintel_set_debug_features (struct hci_dev *hdev,const struct intel_debug_features *features); +int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases); +int btintel_get_data_path (struct hci_dev *hdev);#else static inline int btintel_check_bdaddr (struct hci_dev *hdev)@@ -307,4 +315,14 @@ static inline int btintel_set_debug_features(struct hci_dev *hdev, return -EOPNOTSUPP; } +static int btintel_read_offload_usecases (struct hci_dev *hdev, +struct intel_offload_usecases *usecases) +{ +return -EOPNOTSUPP ; +} + +static int btintel_get_data_path (struct hci_dev *hdev) +{ +return -EOPNOTSUPP ; +}#endif drivers/bluetooth/btusb.c +1
-0@@ -2952,6 +2952,7 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev)int err;struct intel_debug_features features;struct intel_version_tlv version; +struct intel_offload_usecases usecases;bt_dev_dbg (hdev,"" );
drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct hci_dev *hdev) · line 3018
Quoted 10 lines
drivers/bluetooth/btusb.c +7
-0@@ -3008,6 +3009,13 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev)/* Set DDC mask for available debug features */ btintel_set_debug_features (hdev, &features); + err =btintel_read_offload_usecases (hdev, &usecases); +if (!err) { +/* set get_data_path callback if offload is supported */ +if (usecases.preset[0 ] &0x03 ) + hdev->get_data_path = btintel_get_data_path; + } +
I really wonder if this exporting everything single detail to be just used by btusb is really a good idea. Would it be just enough to have a btintel_configure_offload(hdev); helper that does everything and be done with it. There is already too much Intel specifics bleeding into btusb.c and I think we need to correct that going forward.
Regards
Marcel
RE: [PATCH v9 04/10] Bluetooth: btintel: set get_data_path callback
Hi Marcel,
Quoted 23 lines
Hi Kiran,
drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 8 lines
Read supported offload usecases and set
get_data_pathcallback if controller suppports offload codecs.drivers/bluetooth/btusb.c +0
-0@@ -2952,6 +2952,7 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 8 lines
drivers/bluetooth/btusb.c +1
-0int err;struct intel_debug_features features;struct intel_version_tlv version; +struct intel_offload_usecases usecases;bt_dev_dbg (hdev,"" );@@ -3008,6 +3009,13 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 3 lines
drivers/bluetooth/btusb.c +0
-0/* Set DDC mask for available debug features */ btintel_set_debug_features (hdev, &features);
Quoted 14 lines
drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct hci_dev *hdev) · line 3018
Quoted 7 lines
drivers/bluetooth/btusb.c +7
-0+ err =btintel_read_offload_usecases (hdev, &usecases); +if (!err) { +/* set get_data_path callback if offload is supported */ +if (usecases.preset[0 ] &0x03 ) + hdev->get_data_path = btintel_get_data_path; + } +I really wonder if this exporting everything single detail to be just used by btusb is really a good idea. Would it be just enough to have a
btintel_configure_offload(hdev); helper that does everything and be done with it. There is already too much Intel specifics bleeding intobtusb.cand I think we need to correct that going forward.
Ok. I will refactor this to move Intel specific code to btintel*
Quoted 3 lines
Regards
Marcel
Thanks,
Kiran
PATCH v9 5/10 Bluetooth: Add BT_CODEC option for getsockopt for SCO socket
In reply to Kiran KAdd BT_CODEC option for getsockopt systemcall over SCO socket to expose the codecs supported by controller
---
* changes on v9:
- fix typos,review comments, remove quirk
include/net/bluetooth/bluetooth.h | 20 ++++++ include/net/bluetooth/hci.h | 4 ++ net/bluetooth/sco.c | 111 +++++++++++++++++++++++++++++- 3 files changed, 134 insertions(+), 1 deletion(-)
include/net/bluetooth/bluetooth.h +20 -0
@@ -153,6 +153,26 @@ struct bt_voice {#define BT_SCM_PKT_STATUS 0x03 +#define BT_CODEC 19 + +struct bt_codec_caps { +__u8 len; +__u8 data[]; +} __packed; + +struct bt_codec { +__u8 id; +__le16 cid; +__le16 vid; +__u8 data_path; +__u8 num_caps; +} __packed; + +struct bt_codecs { +__u8 num_codecs; +struct bt_codec codecs[]; +} __packed; + __printf(1, 2)void bt_info (const char *fmt, ...);__printf (1 ,2 )
include/net/bluetooth/hci.h +4 -0
@@ -2619,6 +2619,10 @@ static inline struct hci_sco_hdr *hci_sco_hdr(const struct sk_buff *skb)#define hci_iso_data_len (h) ((h) & 0x3fff)#define hci_iso_data_flags (h) ((h) >> 14) +/* codec transport types */ +#define TRANSPORT_ACL 0x00 +#define TRANSPORT_SCO_ESCO 0x01 +/* le24 support */ static inline void hci_cpu_to_le24 (__u32 val,__u8 dst[3 ]) {
net/bluetooth/sco.c +110 -1
126 lines not on this page · raw message
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 05/10] Bluetooth: Add BT_CODEC option for getsockopt for SCO socket
Hi Kiran,
Quoted 93 lines
Add
BT_CODECoption for getsockopt systemcall over SCO socket to expose the codecs supported by controllerSigned-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
* changes on v9:
- fix typos,review comments, remove quirkinclude/net/bluetooth/bluetooth.h | 20 ++++++ include/net/bluetooth/hci.h | 4 ++ net/bluetooth/sco.c | 111 +++++++++++++++++++++++++++++- 3 files changed, 134 insertions(+), 1 deletion(-)include/net/bluetooth/bluetooth.h +20
-0@@ -153,6 +153,26 @@ struct bt_voice {#define BT_SCM_PKT_STATUS 0x03 +#define BT_CODEC 19 + +struct bt_codec_caps { +__u8 len; +__u8 data[]; +} __packed; + +struct bt_codec { +__u8 id; +__le16 cid; +__le16 vid; +__u8 data_path; +__u8 num_caps; +} __packed; + +struct bt_codecs { +__u8 num_codecs; +struct bt_codec codecs[]; +} __packed; + __printf(1, 2)void bt_info (const char *fmt, ...);__printf (1 ,2 )include/net/bluetooth/hci.h +4
-0@@ -2619,6 +2619,10 @@ static inline struct hci_sco_hdr *hci_sco_hdr(const struct sk_buff *skb)#define hci_iso_data_len (h) ((h) & 0x3fff)#define hci_iso_data_flags (h) ((h) >> 14) +/* codec transport types */ +#define TRANSPORT_ACL 0x00 +#define TRANSPORT_SCO_ESCO 0x01 +/* le24 support */ static inline void hci_cpu_to_le24 (__u32 val,__u8 dst[3 ]) {net/bluetooth/sco.c +13
-1@@ -944,10 +944,15 @@ static int sco_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) { struct sock *sk = sock->sk; -int len, err =0 ; +int len, err =0 , buf_len;struct bt_voice voice;u32 phys;int pkt_status; +struct codec_list *c; +u8 num_codecs, i,__user *ptr; +struct hci_dev *hdev; +struct hci_codec_caps *caps; +__u8 data_path;BT_DBG ("sk %p" , sk);@@ -1012,6 +1017,110 @@ static int sco_sock_getsockopt(struct socket *sock, int level, int optname, err = -EFAULT ;break ; +case BT_CODEC : + num_codecs =0 ; + buf_len =0 ; + + hdev =hci_get_route (&sco_pi (sk)->dst, &sco_pi (sk)->src,BDADDR_BREDR ); +if (!hdev) { + err = -EBADFD ;
net/bluetooth/sco.c static int sco_sock_getsockopt(struct socket *sock, int level, int optname, · line 1036
Quoted 10 lines
net/bluetooth/sco.c +10
-0+break ; + } + +if (!hdev->get_data_path) { + err = -EOPNOTSUPP ; +break ; + } + +hci_dev_lock (hdev); +/* find total buffer size required to copy codec + caps */
please check for simple style mistakes like double spaces. Also I would put the comment above the hci_dev_lock().
Quoted 15 lines
net/bluetooth/sco.c +15
-0+list_for_each_entry (c, &hdev->local_codecs, list) { +if (c->transport !=TRANSPORT_SCO_ESCO ) +continue ; + num_codecs++; +for (i =0 , caps = c->caps; i < c->num_caps; i++) { + buf_len +=1 + caps->len; + caps = (void *)&caps->data[caps->len]; + } + buf_len +=sizeof (struct bt_codec ); + } +hci_dev_unlock (hdev); + + buf_len +=sizeof (struct bt_codecs ); +if (buf_len > len) { + err = -ENOBUFS ;
net/bluetooth/sco.c static int sco_sock_getsockopt(struct socket *sock, int level, int optname, · line 1061
Quoted 10 lines
net/bluetooth/sco.c +10
-0+break ; + } + ptr = optval; + +if (put_user (num_codecs, ptr)) { + err = -EFAULT ; +break ; + } + ptr +=sizeof (num_codecs); +
And this is missing comment as well.
Quoted 18 lines
net/bluetooth/sco.c +18
-0+hci_dev_lock (hdev); +list_for_each_entry (c, &hdev->local_codecs, list) { +if (c->transport !=TRANSPORT_SCO_ESCO ) +continue ; + +if (put_user (c->id, ptr)) { + err = -EFAULT ; + goto unlock; + } + ptr +=sizeof (c->id); + +if (put_user (c->cid, ptr)) { + err = -EFAULT ; + goto unlock; + } + ptr +=sizeof (c->cid); + +if (put_user (c->vid, ptr)) {
net/bluetooth/sco.c static int sco_sock_getsockopt(struct socket *sock, int level, int optname, · line 1089
Quoted 10 lines
net/bluetooth/sco.c +10
-0+ err = -EFAULT ; + goto unlock; + } + ptr +=sizeof (c->vid); + + err = hdev->get_data_path (hdev); +if (err <0 ) { + err = -EFAULT ; + goto unlock; + }
Using the variable name err is really bad here. It is also not an EFAULT type of error. They are really specific. I really don’t get why not prepare the data in advance and have a single put_user call.
Quoted 21 lines
net/bluetooth/sco.c +21
-0+ + data_path = (__u8 )err; +if (put_user (data_path, ptr)) { + err = -EFAULT ; + goto unlock; + } + ptr +=sizeof (data_path); + +if (put_user (c->num_caps, ptr)) { + err = -EFAULT ; + goto unlock; + } + ptr +=sizeof (c->num_caps); + + len =0 ; +for (i =0 , caps = c->caps; i < c->num_caps; i++) { + len +=1 + caps->len; + caps = (void *)&caps->data[caps->len]; + } + +if (len &©_to_user (ptr, c->caps, len)) {
net/bluetooth/sco.c static int sco_sock_getsockopt(struct socket *sock, int level, int optname, · line 1120
Quoted 10 lines
net/bluetooth/sco.c +10
-0+ err = -EFAULT ; + goto unlock; + } + ptr += len; + } + +if (put_user (buf_len, optlen)) + err = -EFAULT ; +unlock: +hci_dev_unlock (hdev);
Jumping from within a for-loop is nothing something that I actually like. It is better you break out of via break.
Regards
Marcel
PATCH v9 6/10 Bluetooth: Add a callback function to set data path
In reply to Kiran KIn HFP offload usecase, Intel controllers require offload use case id (NBS or WBS) to be set before opening SCO connection. Define a new callback which gets called on setsockopt SCO socket. User space audio module is expected to set codec via setsockopt(sk, BT_CODEC, ....) before opening SCO connection.
--- include/net/bluetooth/hci_core.h | 2 ++ 1 file changed, 2 insertions(+)
include/net/bluetooth/hci_core.h +2 -0
@@ -618,6 +618,8 @@ struct hci_dev {void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev);int (*get_data_path)(struct hci_dev *hdev); +int (*set_data_path)(struct hci_dev *hdev,__u8 type, +struct bt_codec *codec); };#define HCI_PHY_HANDLE (handle) (handle & 0xff)
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 06/10] Bluetooth: Add a callback function to set data path
Hi Kiran,
Quoted 18 lines
In HFP offload usecase, Intel controllers require offload use case id (NBS or WBS) to be set before opening SCO connection. Define a new callback which gets called on setsockopt SCO socket. User space audio module is expected to set codec via
setsockopt(sk, BT_CODEC, ....)before opening SCO connection.Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
include/net/bluetooth/hci_core.h| 2 ++1 file changed, 2 insertions(+)include/net/bluetooth/hci_core.h +0
-0
include/net/bluetooth/hci_core.h struct hci_dev { · line 624
Quoted 7 lines
include/net/bluetooth/hci_core.h +2
-0@@ -618,6 +618,8 @@ struct hci_dev {void (*cmd_timeout)(struct hci_dev *hdev);bool (*prevent_wake)(struct hci_dev *hdev);int (*get_data_path)(struct hci_dev *hdev); +int (*set_data_path)(struct hci_dev *hdev,__u8 type, +struct bt_codec *codec); };
same as the other one, this needs to also provide the user of hdev->set_data_path.
Regards
Marcel
PATCH v9 7/10 Bluetooth: btintel: define callback to set data path
In reply to Kiran KAdds callback function which is called to set the data path for HFP offload case before opening SCO connection
--- drivers/bluetooth/btintel.c | 50 +++++++++++++++++++++++++++++++++++++ drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)
drivers/bluetooth/btintel.c +50 -0
@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, }EXPORT_SYMBOL_GPL (btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default : +return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb =__hci_cmd_sync (hdev,HCI_CONFIGURE_DATA_PATH ,sizeof (*cmd) +1 , + cmd,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb =__hci_cmd_sync (hdev,HCI_CONFIGURE_DATA_PATH ,sizeof (*cmd) +1 , + cmd,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );MODULE_DESCRIPTION ("Bluetooth support for Intel devices ver " VERSION );MODULE_VERSION (VERSION );
drivers/bluetooth/btintel.h +8 -0
@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev,int btintel_read_offload_usecases (struct hci_dev *hdev,struct intel_offload_usecases *usecases);int btintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int btintel_check_bdaddr (struct hci_dev *hdev)
@@ -325,4 +327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) {return -EOPNOTSUPP ; } + +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +3 -1
@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev) err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */
include/net/bluetooth/hci.h +8 -0
@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ]; } __packed; +#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +#define HCI_OP_READ_LOCAL_VERSION 0x1001struct hci_rp_read_local_version {__u8 status;
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Kiran,
Quoted 120 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c | 50 +++++++++++++++++++++++++++++++++++++ drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)drivers/bluetooth/btintel.c +50
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, }EXPORT_SYMBOL_GPL (btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default : +return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb =__hci_cmd_sync (hdev,HCI_CONFIGURE_DATA_PATH ,sizeof (*cmd) +1 , + cmd,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb =__hci_cmd_sync (hdev,HCI_CONFIGURE_DATA_PATH ,sizeof (*cmd) +1 , + cmd,HCI_INIT_TIMEOUT ); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );MODULE_DESCRIPTION ("Bluetooth support for Intel devices ver " VERSION );MODULE_VERSION (VERSION );drivers/bluetooth/btintel.h +8
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev,int btintel_read_offload_usecases (struct hci_dev *hdev,struct intel_offload_usecases *usecases);int btintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int btintel_check_bdaddr (struct hci_dev *hdev)@@ -325,4 +327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) {return -EOPNOTSUPP ; } + +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif drivers/bluetooth/btusb.c +3
-1@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct hci_dev *hdev) err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */ include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ];
include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 10 lines
include/net/bluetooth/hci.h +8
-0} __packed; +#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +
if this is a standard HCI command, why is this done as hdev->set_data_path? This makes no sense too me.
Regards
Marcel
RE: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Marcel,
Quoted 127 lines
Hi Kiran,
Quoted 8 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c| 50+++++++++++++++++++++++++++++++++++++
Quoted 31 lines
drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)drivers/bluetooth/btintel.c +19
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, } EXPORT_SYMBOL_GPL(btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default :drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct · line 1338
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 42 lines
drivers/bluetooth/btintel.c +11
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);MODULE_VERSION(VERSION); diff --gita/drivers/bluetooth/btintel.hb/drivers/bluetooth/btintel.hindex9bcc489680db..9806970c9871100644drivers/bluetooth/btintel.h +2
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev, int btintel_read_offload_usecases(struct hci_dev *hdev, struct intel_offload_usecases *usecases); intbtintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int
btintel_check_bdaddr(struct hci_dev *hdev)@@ -325,4+327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) { return -EOPNOTSUPP; }drivers/bluetooth/btintel.h +6
-0+ +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +0
-0@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 19 lines
drivers/bluetooth/btusb.c +3
-2err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */ diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.hindex
31a5ac8918fc..42963188dcea100644include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ]; } __packed;
Quoted 11 lines
include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 8 lines
include/net/bluetooth/hci.h +8
-0+#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +if this is a standard HCI command, why is this done as
hdev->set_data_path? This makes no sense too me.
Intel uses HCI_CONFIGURE_DATA_PATH to command to set the preset ID (NBS, WBS, ...). Here len and data[] are vendor specific. I should have prefixed these fields with vnd_. I will address this in next patchset.
Quoted 4 lines
Regards
Marcel
Thanks,
Kiran
Marcel Holtmann
maintainerRe: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Kiran,
Quoted 135 lines
Quoted 124 lines
Quoted 8 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c| 50+++++++++++++++++++++++++++++++++++++
Quoted 31 lines
drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)drivers/bluetooth/btintel.c +19
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, } EXPORT_SYMBOL_GPL(btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default :drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct · line 1338
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 42 lines
drivers/bluetooth/btintel.c +11
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);MODULE_VERSION(VERSION); diff --gita/drivers/bluetooth/btintel.hb/drivers/bluetooth/btintel.hindex9bcc489680db..9806970c9871100644drivers/bluetooth/btintel.h +2
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev, int btintel_read_offload_usecases(struct hci_dev *hdev, struct intel_offload_usecases *usecases); intbtintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int
btintel_check_bdaddr(struct hci_dev *hdev)@@ -325,4+327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) { return -EOPNOTSUPP; }drivers/bluetooth/btintel.h +6
-0+ +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +0
-0@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 19 lines
drivers/bluetooth/btusb.c +3
-2err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */ diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.hindex
31a5ac8918fc..42963188dcea100644include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ]; } __packed;Quoted 11 lines
include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 8 lines
include/net/bluetooth/hci.h +8
-0+#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +if this is a standard HCI command, why is this done as
hdev->set_data_path? This makes no sense too me.
Quoted 1 line
Intel uses
HCI_CONFIGURE_DATA_PATHto command to set the preset ID (NBS, WBS, ...). Here len and data[] are vendor specific. I should have prefixed these fields withvnd_. I will address this in next patchset.
if the command is defined by the Bluetooth SIG, it is handle in the core. However if it needs vendor specific input that we need a callback for just that data.
Regards
Marcel
RE: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Marcel,
Quoted 147 lines
-----Original Message-----
From: Marcel Holtmann <[email protected]>
Sent: Wednesday, June 16, 2021 10:48 AM
To: K, Kiran <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data pathHi Kiran,
Quoted 137 lines
Quoted 126 lines
Quoted 8 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c| 50+++++++++++++++++++++++++++++++++++++
Quoted 32 lines
drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/bluetooth/btintel.cindex95c6a1bef35e..3eba5c587ef6100644drivers/bluetooth/btintel.c +19
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, } EXPORT_SYMBOL_GPL(btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default :drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct · line 1338
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 43 lines
drivers/bluetooth/btintel.c +11
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);MODULE_VERSION(VERSION); diff --gita/drivers/bluetooth/btintel.hb/drivers/bluetooth/btintel.hindex9bcc489680db..9806970c9871100644drivers/bluetooth/btintel.h +2
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev, int btintel_read_offload_usecases(struct hci_dev *hdev, struct intel_offload_usecases *usecases); intbtintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int
btintel_check_bdaddr(struct hci_dev *hdev)@@ -325,4+327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) { return -EOPNOTSUPP; }drivers/bluetooth/btintel.h +6
-0+ +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +0
-0@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 19 lines
drivers/bluetooth/btusb.c +3
-2err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */ diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.hindex
31a5ac8918fc..42963188dcea100644include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ]; } __packed;Quoted 10 lines
include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 8 lines
include/net/bluetooth/hci.h +8
-0+#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +if this is a standard HCI command, why is this done as hdev-
set_data_path?
Quoted 8 lines
Quoted 2 lines
Quoted 1 line
This makes no sense too me.
Intel uses
HCI_CONFIGURE_DATA_PATHto command to set the preset ID(NBS, WBS, ...). Here len and data[] are vendor specific. I should have prefixed these fields with
vnd_. I will address this in next patchset.if the command is defined by the Bluetooth SIG, it is handle in the core. However if it needs vendor specific input that we need a callback for just that data.
The current design uses HCI_CONFIGURE_DATA_PATH inside set_data_path callback and its not used at core. I have leveraged SIG command here to minimize defining of new vendor command as vnd_data[] gives flexibility to pass in non-standard values. Other vendors may not have same command/flow to configure data path.
If we are not supposed to use Bluetooth SIG command at driver level, then I need to come up with a new vendor specific command. Please help with your input.
Quoted 4 lines
Regards
Marcel
Thanks,
Kiran
Marcel Holtmann
maintainerRe: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Kiran,
Quoted 142 lines
Quoted 142 lines
Quoted 136 lines
Quoted 126 lines
Quoted 8 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c| 50+++++++++++++++++++++++++++++++++++++
Quoted 32 lines
drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/bluetooth/btintel.cindex95c6a1bef35e..3eba5c587ef6100644drivers/bluetooth/btintel.c +19
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, } EXPORT_SYMBOL_GPL(btintel_read_offload_usecases); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default :drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct · line 1338
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure input data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 43 lines
drivers/bluetooth/btintel.c +11
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { +bt_dev_err (hdev,"configure output data path failed (%ld)" , +PTR_ERR (skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);MODULE_VERSION(VERSION); diff --gita/drivers/bluetooth/btintel.hb/drivers/bluetooth/btintel.hindex9bcc489680db..9806970c9871100644drivers/bluetooth/btintel.h +2
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev, int btintel_read_offload_usecases(struct hci_dev *hdev, struct intel_offload_usecases *usecases); intbtintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int
btintel_check_bdaddr(struct hci_dev *hdev)@@ -325,4+327,10 @@ static int btintel_get_data_path(struct hci_dev *hdev) { return -EOPNOTSUPP; }drivers/bluetooth/btintel.h +6
-0+ +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +0
-0@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 19 lines
drivers/bluetooth/btusb.c +3
-2err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path = btintel_set_data_path; + } }/* Read the Intel version information after loading the FW */ diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.hindex
31a5ac8918fc..42963188dcea100644include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ]; } __packed;Quoted 10 lines
include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 8 lines
include/net/bluetooth/hci.h +8
-0+#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +if this is a standard HCI command, why is this done as hdev-
Quoted 3 lines
set_data_path?Quoted 1 line
This makes no sense too me.
Intel uses
HCI_CONFIGURE_DATA_PATHto command to set the preset ID(NBS, WBS, ...). Here len and data[] are vendor specific. I should have prefixed these fields with
vnd_. I will address this in next patchset.
Quoted 7 lines
Quoted 3 lines
if the command is defined by the Bluetooth SIG, it is handle in the core. However if it needs vendor specific input that we need a callback for just that data.
The current design uses
HCI_CONFIGURE_DATA_PATHinsideset_data_pathcallback and its not used at core. I have leveraged SIG command here to minimize defining of new vendor command as vnd_data[] gives flexibility to pass in non-standard values. Other vendors may not have same command/flow to configure data path.If we are not supposed to use Bluetooth SIG command at driver level, then I need to come up with a new vendor specific command. Please help with your input.
I don’t understand this argumentation. The Bluetooth standard defined HCI_Configure_Data_Path with Vendor_Specific_Config for exactly this reason. So just use it especially if our controllers already support it.
Now I am starting to wonder if this design is making things complicated for no reason. Isn’t it enough to have a hdev->get_data_path_config callback that allows to retrieve such data from the driver.
Frankly, the only thing you need from a driver is that it tells you the values of data_path_id and the vendor_config so that you can feed it back into the controller. Or am I missing anything here?
Let me be clear, if there is a SIG defined command, we implement support for in the core and not the driver. I do not want that other vendors have to define everything over and over again. That is what a standard is for. Only the vendor specific portions are handed off to the driver or userspace to provide.
Regards
Marcel
RE: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data path
Hi Marcel,
Quoted 185 lines
-----Original Message-----
From: Marcel Holtmann <[email protected]>
Sent: Thursday, June 17, 2021 3:50 PM
To: K, Kiran <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v9 07/10] Bluetooth: btintel: define callback to set data pathHi Kiran,
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 8 lines
Adds callback function which is called to set the data path for HFP offload case before opening SCO connection
Signed-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
drivers/bluetooth/btintel.c| 50+++++++++++++++++++++++++++++++++++++
Quoted 5 lines
drivers/bluetooth/btintel.h | 8 ++++++ drivers/bluetooth/btusb.c | 4 ++- include/net/bluetooth/hci.h | 8 ++++++ 4 files changed, 69 insertions(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct · line 1308
Quoted 7 lines
(quoted diff) +0
-0
b/drivers/bluetooth/btintel.cindex95c6a1bef35e..3eba5c587ef6100644drivers/bluetooth/btintel.c +0
-0@@ -1308,6 +1308,56 @@ int btintel_read_offload_usecases(struct hci_dev *hdev, }
EXPORT_SYMBOL_GPL(btintel_read_offload_usecases);Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Quoted 20 lines
drivers/bluetooth/btintel.c +19
-0+int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +__u8 preset; +struct hci_op_configure_data_path *cmd; +__u8 buffer[255 ]; +struct sk_buff *skb; + +if (type !=SCO_LINK && type !=ESCO_LINK ) +return -EINVAL ; + +switch (codec->id) { +case 0x02 : + preset =0x00 ; +break ; +case 0x05 : + preset =0x01 ; +break ; +default :drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 10 lines
drivers/bluetooth/btintel.c +10
-0+return -EINVAL ; + } + + cmd = (void *)buffer; + cmd->data_path_id =0x01 ; + cmd->len =1 ; + cmd->data[0 ] = preset; + + cmd->direction =0x00 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 3 lines
drivers/bluetooth/btintel.c +3
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { + bt_dev_err(hdev, "configure input data path failed(%ld)",
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 7 lines
drivers/bluetooth/btintel.c +7
-0+ PTR_ERR(skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); + + cmd->direction =0x01 ; + skb = __hci_cmd_sync(hdev, HCI_CONFIGURE_DATA_PATH,
sizeof(*cmd)+ 1,drivers/bluetooth/btintel.c int btintel_read_offload_usecases(struct hci_dev *hdev,
Quoted 3 lines
drivers/bluetooth/btintel.c +3
-0+ cmd, HCI_INIT_TIMEOUT); +if (IS_ERR (skb)) { + bt_dev_err(hdev, "configure output data path failed(%ld)",
Quoted 42 lines
Quoted 42 lines
Quoted 42 lines
Quoted 42 lines
drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct
Quoted 41 lines
drivers/bluetooth/btintel.c +8
-0+ PTR_ERR(skb)); +return PTR_ERR (skb); + } +kfree_skb (skb); +return 0 ; +} +EXPORT_SYMBOL_GPL (btintel_set_data_path); +MODULE_AUTHOR ("Marcel Holtmann <[email protected]>" );
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);MODULE_VERSION(VERSION); diff --gita/drivers/bluetooth/btintel.hb/drivers/bluetooth/btintel.hindex9bcc489680db..9806970c9871100644drivers/bluetooth/btintel.h +2
-0@@ -183,6 +183,8 @@ int btintel_set_debug_features(struct hci_dev *hdev, int btintel_read_offload_usecases(struct hci_dev *hdev, struct intel_offload_usecases *usecases); intbtintel_get_data_path (struct hci_dev *hdev); +int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec);#else static inline int
btintel_check_bdaddr(struct hci_dev *hdev)@@ -325,4
+327,10 @@ static intbtintel_get_data_path(struct hci_dev *hdev)+{ return -EOPNOTSUPP; }drivers/bluetooth/btintel.h +6
-0+ +static int btintel_set_data_path (struct hci_dev *hdev,__u8 type, +struct bt_codec *codec) +{ +return -EOPNOTSUPP ; +}#endif
drivers/bluetooth/btusb.c +0
-0@@ -3012,8 +3012,10 @@ static int btusb_setup_intel_newgen(struct
hci_dev*hdev)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/bluetooth/btusb.c static int btusb_setup_intel_newgen(struct hci_dev *hdev)
Quoted 7 lines
drivers/bluetooth/btusb.c +2
-1err =btintel_read_offload_usecases (hdev, &usecases);if (!err) {/* set get_data_path callback if offload is supported */ -if (usecases.preset[0 ] &0x03 ) +if (usecases.preset[0 ] &0x03 ) { hdev->get_data_path = btintel_get_data_path; + hdev->set_data_path =
btintel_set_data_path;Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 11 lines
drivers/bluetooth/btusb.c +1
-0+ } }/* Read the Intel version information after loading the FW */ (quoted diff) +0
-0
b/include/net/bluetooth/hci.hindex31a5ac8918fc..42963188dcea100644include/net/bluetooth/hci.h +0
-0@@ -1250,6 +1250,14 @@ struct hci_rp_read_local_oob_ext_data {__u8 rand256[16 ];include/net/bluetooth/hci.h struct hci_rp_read_local_oob_ext_data { · line 1260
Quoted 10 lines
include/net/bluetooth/hci.h +8
-0} __packed; +#define HCI_CONFIGURE_DATA_PATH 0x0c83 +struct hci_op_configure_data_path { +__u8 direction; +__u8 data_path_id; +__u8 len; +__u8 data[]; +} __packed; +if this is a standard HCI command, why is this done as hdev-
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
set_data_path?Quoted 1 line
This makes no sense too me.
Intel uses
HCI_CONFIGURE_DATA_PATHto command to set the presetID
Quoted 8 lines
Quoted 6 lines
(NBS, WBS, ...). Here len and data[] are vendor specific. I should have prefixed these fields with
vnd_. I will address this in next patchset.if the command is defined by the Bluetooth SIG, it is handle in the core. However if it needs vendor specific input that we need a callback for just that data.
The current design uses
HCI_CONFIGURE_DATA_PATHinside
set_data_pathcallback and its not used at core. I have leveraged SIG command here to minimize defining of new vendor command as vnd_data[] gives flexibility to pass in non-standard values. Other vendors may not have same command/flow to configure data path.Quoted 2 lines
If we are not supposed to use Bluetooth SIG command at driver level, then
I need to come up with a new vendor specific command. Please help with your input.
I don’t understand this argumentation. The Bluetooth standard defined
HCI_Configure_Data_PathwithVendor_Specific_Configfor exactly this reason. So just use it especially if our controllers already support it.Now I am starting to wonder if this design is making things complicated for no reason. Isn’t it enough to have a
hdev->get_data_path_configcallback that allows to retrieve such data from the driver.Frankly, the only thing you need from a driver is that it tells you the values of
data_path_idand thevendor_configso that you can feed it back into the controller. Or am I missing anything here?
Quoted 5 lines
Let me be clear, if there is a SIG defined command, we implement support for in the core and not the driver. I do not want that other vendors have to define everything over and over again. That is what a standard is for. Only the vendor specific portions are handed off to the driver or userspace to provide.
Agree. I will make the suggested changes in the next patchset.
Quoted 4 lines
Regards
Marcel
Thanks,
Kiran
PATCH v9 8/10 Bluetooth: Add BT_CODEC option for setsockopt over SCO
In reply to Kiran KAdd BT_CODEC option on setsockopt system call to allow user space audio modules to set codec. Driver also sets data path if non-HCI is selected.
--- include/net/bluetooth/bluetooth.h | 2 ++ net/bluetooth/sco.c | 59 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+)
include/net/bluetooth/bluetooth.h +2 -0
@@ -173,6 +173,8 @@ struct bt_codecs {struct bt_codec codecs[]; } __packed; +#define CODING_FORMAT_CVSD 0x02 + __printf(1, 2)void bt_info (const char *fmt, ...);__printf (1 ,2 )
net/bluetooth/sco.c +59 -0
89 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v9 9/10 Bluetooth: Add support for HCI_Enhanced_Setup_Synchronous_Connection command
In reply to Kiran K< HCI Command: Enhanced Setup Synchronous Connection (0x01|0x003d) plen 59
Handle: 256
Transmit bandwidth: 8000
Receive bandwidth: 8000
Max latency: 13
Packet type: 0x0380
3-EV3 may not be used
2-EV5 may not be used
3-EV5 may not be used
Retransmission effort: Optimize for link quality (0x02)
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Enhanced Setup Synchronous Connection (0x01|0x003d) ncmd 1
Status: Success (0x00)Quoted 1 line
HCI Event: Synchronous Connect Complete (
0x2c) plen 17
Status: Success (0x00)
Handle: 257
Address: CC:98:8B:92:04:FD (SONY Visual Products Inc.)
Link type: eSCO (0x02)
Transmission interval: 0x0c
Retransmission window: 0x06
RX packet length: 60
TX packet length: 60
Air mode: Transparent (0x03)---
* changes in v9:
- Fix review comments, use bt_dev_dbg instead of BT_DBG
include/net/bluetooth/bluetooth.h | 3 +- include/net/bluetooth/hci.h | 34 ++++++++++ include/net/bluetooth/hci_core.h | 7 +- net/bluetooth/hci_conn.c | 107 ++++++++++++++++++++++++++++-- net/bluetooth/hci_event.c | 48 +++++++++++++- net/bluetooth/sco.c | 11 ++- 6 files changed, 201 insertions(+), 9 deletions(-)
include/net/bluetooth/bluetooth.h +2 -1
@@ -173,7 +173,8 @@ struct bt_codecs {struct bt_codec codecs[]; } __packed; -#define CODING_FORMAT_CVSD 0x02 +#define CODING_FORMAT_CVSD 0x02 +#define CODING_FORMAT_TRANSPARENT 0x03 __printf(1, 2)void bt_info (const char *fmt, ...);
include/net/bluetooth/hci.h +34 -0
@@ -871,6 +871,40 @@ struct hci_cp_logical_link_cancel {__u8 flow_spec_id; } __packed; +#define HCI_OP_ENHANCED_SETUP_SYNC_CONN 0x043D +struct hci_coding_format { +__u8 id; +__le16 cid; +__le16 vid; +} __packed; + +struct hci_cp_enhanced_setup_sync_conn { +__le16 handle; +__le32 tx_bandwidth; +__le32 rx_bandwidth; +struct hci_coding_format tx_coding_format; +struct hci_coding_format rx_coding_format; +__le16 tx_codec_frame_size; +__le16 rx_codec_frame_size; +__le32 in_bandwidth; +__le32 out_bandwidth; +struct hci_coding_format in_coding_format; +struct hci_coding_format out_coding_format; +__le16 in_coded_data_size; +__le16 out_coded_data_size; +__u8 in_pcm_data_format; +__u8 out_pcm_data_format; +__u8 in_pcm_sample_payload_msb_pos; +__u8 out_pcm_sample_payload_msb_pos; +__u8 in_data_path; +__u8 out_data_path; +__u8 in_trasnport_unit_size; +__u8 out_trasnport_unit_size; +__le16 max_latency; +__le16 pkt_type; +__u8 retrans_effort; +} __packed; +struct hci_rp_logical_link_cancel {__u8 status;__u8 phy_handle;
include/net/bluetooth/hci_core.h +6 -1
@@ -712,6 +712,7 @@ struct hci_conn {struct amp_mgr *amp_mgr;struct hci_conn *link; +struct bt_codec codec;void (*connect_cfm_cb) (struct hci_conn *conn,u8 status);void (*security_cfm_cb) (struct hci_conn *conn,u8 status);
@@ -1094,6 +1095,7 @@ static inline struct hci_conn *hci_lookup_le_connect(struct hci_dev *hdev)int hci_disconnect (struct hci_conn *conn,__u8 reason);bool hci_setup_sync (struct hci_conn *conn,__u16 handle); +bool hci_enhanced_setup_sync (struct hci_conn *conn,__u16 handle);void hci_sco_setup (struct hci_conn *conn,__u8 status); struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst,
@@ -1118,7 +1120,7 @@ struct hci_conn *hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type, enum conn_reasons conn_reason);struct hci_conn *hci_connect_sco (struct hci_dev *hdev,int type,bdaddr_t *dst, -__u16 setting); +__u16 setting,struct bt_codec *codec);int hci_conn_check_link_mode (struct hci_conn *conn);int hci_conn_check_secure (struct hci_conn *conn,__u8 sec_level); int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,
@@ -1439,6 +1441,9 @@ void hci_conn_del_sysfs(struct hci_conn *conn);/* Use LL Privacy based address resolution if supported */ #define use_ll_privacy (dev) ((dev)->le_features[0] & HCI_LE_LL_PRIVACY) +/* Use enhanced synchronous connection if command is supported */ +#define use_enhanced_sco_conn (dev) ((dev)->commands[29] & 0x08) +/* Use ext scanning if set ext scan param and ext scan enable is supported */ #define use_ext_scan (dev) (((dev)->commands[37] & 0x20) && \ ((dev)->commands[37] & 0x40))
net/bluetooth/hci_conn.c +103 -4
132 lines not on this page · raw message
net/bluetooth/hci_event.c +46 -2
66 lines not on this page · raw message
net/bluetooth/sco.c +10 -1
@@ -240,7 +240,7 @@ static int sco_connect(struct sock *sk) } hcon =hci_connect_sco (hdev, type, &sco_pi (sk)->dst, -sco_pi (sk)->setting); +sco_pi (sk)->setting, &sco_pi (sk)->codec);if (IS_ERR (hcon)) { err =PTR_ERR (hcon); goto done;
@@ -865,6 +865,15 @@ static int sco_sock_setsockopt(struct socket *sock, int level, int optname, }sco_pi (sk)->setting = voice.setting; + hdev =hci_get_route (&sco_pi (sk)->dst, &sco_pi (sk)->src, +BDADDR_BREDR ); +if (!hdev) { + err = -EBADFD ; +break ; + } +if (use_enhanced_sco_conn (hdev) && + voice.setting ==BT_VOICE_TRANSPARENT ) +sco_pi (sk)->codec.id =CODING_FORMAT_TRANSPARENT ;break ;case BT_PKT_STATUS :
Signature · 1 line
2.17.1
PATCH v9 10/10 Bluetooth: Add support for msbc coding format
In reply to Kiran KIn Enhanced_Setup_Synchronous_Command, add support for msbc coding format
--- include/net/bluetooth/bluetooth.h | 1 + net/bluetooth/hci_conn.c | 27 ++++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-)
include/net/bluetooth/bluetooth.h +1 -0
@@ -175,6 +175,7 @@ struct bt_codecs {#define CODING_FORMAT_CVSD 0x02#define CODING_FORMAT_TRANSPARENT 0x03 +#define CODING_FORMAT_MSBC 0x05 __printf(1, 2)void bt_info (const char *fmt, ...);
net/bluetooth/hci_conn.c +26 -1
@@ -328,6 +328,32 @@ bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) cp.rx_bandwidth =cpu_to_le32 (0x00001f40 );switch (conn->codec.id) { +case CODING_FORMAT_MSBC : +if (!find_next_esco_param (conn, esco_param_msbc, +ARRAY_SIZE (esco_param_msbc))) +return false; + + param = &esco_param_msbc[conn->attempt -1 ]; + cp.tx_coding_format.id =0x05 ; + cp.rx_coding_format.id =0x05 ; + cp.tx_codec_frame_size =__cpu_to_le16 (60 ); + cp.rx_codec_frame_size =__cpu_to_le16 (60 ); + cp.in_bandwidth =__cpu_to_le32 (32000 ); + cp.out_bandwidth =__cpu_to_le32 (32000 ); + cp.in_coding_format.id =0x04 ; + cp.out_coding_format.id =0x04 ; + cp.in_coded_data_size =__cpu_to_le16 (16 ); + cp.out_coded_data_size =__cpu_to_le16 (16 ); + cp.in_pcm_data_format =2 ; + cp.out_pcm_data_format =2 ; + cp.in_pcm_sample_payload_msb_pos =0 ; + cp.out_pcm_sample_payload_msb_pos =0 ; + cp.in_data_path = conn->codec.data_path; + cp.out_data_path = conn->codec.data_path; + cp.in_trasnport_unit_size =1 ; + cp.out_trasnport_unit_size =1 ; +break ; +case CODING_FORMAT_TRANSPARENT :if (!find_next_esco_param (conn, esco_param_msbc,ARRAY_SIZE (esco_param_msbc)))
@@ -383,7 +409,6 @@ bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) cp.in_trasnport_unit_size =16 ; cp.out_trasnport_unit_size =16 ;break ; -default :return false; }
Signature · 1 line
2.17.1
Marcel Holtmann
maintainerRe: [PATCH v9 10/10] Bluetooth: Add support for msbc coding format
Hi Kiran,
Quoted 45 lines
In
Enhanced_Setup_Synchronous_Command, add support for msbc coding formatSigned-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
include/net/bluetooth/bluetooth.h| 1 +net/bluetooth/hci_conn.c| 27 ++++++++++++++++++++++++++-2 files changed, 27 insertions(+), 1 deletion(-)include/net/bluetooth/bluetooth.h +1
-0@@ -175,6 +175,7 @@ struct bt_codecs {#define CODING_FORMAT_CVSD 0x02#define CODING_FORMAT_TRANSPARENT 0x03 +#define CODING_FORMAT_MSBC 0x05 __printf(1, 2)void bt_info (const char *fmt, ...);net/bluetooth/hci_conn.c +14
-0@@ -328,6 +328,32 @@ bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) cp.rx_bandwidth =cpu_to_le32 (0x00001f40 );switch (conn->codec.id) { +case CODING_FORMAT_MSBC : +if (!find_next_esco_param (conn, esco_param_msbc, +ARRAY_SIZE (esco_param_msbc))) +return false; + + param = &esco_param_msbc[conn->attempt -1 ]; + cp.tx_coding_format.id =0x05 ; + cp.rx_coding_format.id =0x05 ; + cp.tx_codec_frame_size =__cpu_to_le16 (60 ); + cp.rx_codec_frame_size =__cpu_to_le16 (60 ); + cp.in_bandwidth =__cpu_to_le32 (32000 ); + cp.out_bandwidth =__cpu_to_le32 (32000 ); + cp.in_coding_format.id =0x04 ; + cp.out_coding_format.id =0x04 ;
net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) · line 354
Quoted 10 lines
net/bluetooth/hci_conn.c +10
-0+ cp.in_coded_data_size =__cpu_to_le16 (16 ); + cp.out_coded_data_size =__cpu_to_le16 (16 ); + cp.in_pcm_data_format =2 ; + cp.out_pcm_data_format =2 ; + cp.in_pcm_sample_payload_msb_pos =0 ; + cp.out_pcm_sample_payload_msb_pos =0 ; + cp.in_data_path = conn->codec.data_path; + cp.out_data_path = conn->codec.data_path; + cp.in_trasnport_unit_size =1 ; + cp.out_trasnport_unit_size =1 ;
so s/trasnport/transport/
Please spellcheck your structs.
net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) · line 386
Quoted 10 lines
net/bluetooth/hci_conn.c +2
-1+break ; +case CODING_FORMAT_TRANSPARENT :if (!find_next_esco_param (conn, esco_param_msbc,ARRAY_SIZE (esco_param_msbc)))@@ -383,7 +409,6 @@ bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) cp.in_trasnport_unit_size =16 ; cp.out_trasnport_unit_size =16 ;break ; -
We can not have these random hunks in patches. You need to review your final set before sending it out.
Regards
Marcel
RE: [PATCH v9 10/10] Bluetooth: Add support for msbc coding format
Hi Marcel,
Quoted 70 lines
-----Original Message-----
From: Marcel Holtmann <[email protected]>
Sent: Wednesday, June 16, 2021 1:14 AM
To: K, Kiran <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v9 10/10] Bluetooth: Add support for msbc coding formatHi Kiran,
net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn
Quoted 29 lines
In
Enhanced_Setup_Synchronous_Command, add support for msbc coding formatSigned-off-by Kiran K <[email protected]>Reviewed-by Chethan T N <[email protected]>Reviewed-by Srivatsa Ravishankar <[email protected]>---
include/net/bluetooth/bluetooth.h| 1 +net/bluetooth/hci_conn.c| 27 ++++++++++++++++++++++++++-2 files changed, 27 insertions(+), 1 deletion(-)include/net/bluetooth/bluetooth.h +1
-0@@ -175,6 +175,7 @@ struct bt_codecs {#define CODING_FORMAT_CVSD 0x02#define CODING_FORMAT_TRANSPARENT 0x03 +#define CODING_FORMAT_MSBC 0x05 __printf(1, 2)void bt_info (const char *fmt, ...);net/bluetooth/hci_conn.c index renamed from net/bluetooth/hci_conn.c +0
-0
9569b21adb88..73c134459361100644net/bluetooth/hci_conn.c +0
-0@@ -328,6 +328,32 @@ bool hci_enhanced_setup_sync(struct hci_conn*conn,
__u16handle)Quoted 17 lines
net/bluetooth/hci_conn.c +14
-0cp.rx_bandwidth =cpu_to_le32 (0x00001f40 );switch (conn->codec.id) { +case CODING_FORMAT_MSBC : +if (!find_next_esco_param (conn, esco_param_msbc, +ARRAY_SIZE (esco_param_msbc))) +return false; + + param = &esco_param_msbc[conn->attempt -1 ]; + cp.tx_coding_format.id =0x05 ; + cp.rx_coding_format.id =0x05 ; + cp.tx_codec_frame_size =__cpu_to_le16 (60 ); + cp.rx_codec_frame_size =__cpu_to_le16 (60 ); + cp.in_bandwidth =__cpu_to_le32 (32000 ); + cp.out_bandwidth =__cpu_to_le32 (32000 ); + cp.in_coding_format.id =0x04 ; + cp.out_coding_format.id =0x04 ;net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) · line 354
Quoted 10 lines
net/bluetooth/hci_conn.c +10
-0+ cp.in_coded_data_size =__cpu_to_le16 (16 ); + cp.out_coded_data_size =__cpu_to_le16 (16 ); + cp.in_pcm_data_format =2 ; + cp.out_pcm_data_format =2 ; + cp.in_pcm_sample_payload_msb_pos =0 ; + cp.out_pcm_sample_payload_msb_pos =0 ; + cp.in_data_path = conn->codec.data_path; + cp.out_data_path = conn->codec.data_path; + cp.in_trasnport_unit_size =1 ; + cp.out_trasnport_unit_size =1 ;so s/trasnport/transport/
Quoted 1 line
Please spellcheck your structs.
Ack.
Quoted 8 lines
net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn
Quoted 7 lines
net/bluetooth/hci_conn.c +2
-0+break ; +case CODING_FORMAT_TRANSPARENT :if (!find_next_esco_param (conn, esco_param_msbc,ARRAY_SIZE (esco_param_msbc)))@@ -383,7 +409,6 @@ bool hci_enhanced_setup_sync(struct hci_conn*conn,
__u16handle)
Quoted 7 lines
net/bluetooth/hci_conn.c bool hci_enhanced_setup_sync(struct hci_conn *conn, __u16 handle) · line 386
Quoted 4 lines
net/bluetooth/hci_conn.c +0
-1cp.in_trasnport_unit_size =16 ; cp.out_trasnport_unit_size =16 ;break ; -We can not have these random hunks in patches. You need to review your final set before sending it out.
Ack.
Quoted 4 lines
Regards
Marcel
Thanks,
Kiran
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=496181
---Test result---
Test Summary:
CheckPatch PASS 8.22 seconds GitLint FAIL 1.15 seconds BuildKernel PASS 689.43 seconds TestRunner: Setup PASS 444.12 seconds TestRunner: l2cap-tester PASS 3.26 seconds TestRunner: bnep-tester PASS 2.18 seconds TestRunner: mgmt-tester PASS 33.21 seconds TestRunner: rfcomm-tester PASS 2.59 seconds TestRunner: sco-tester PASS 2.41 seconds TestRunner: smp-tester PASS 2.57 seconds TestRunner: userchan-tester PASS 2.26 seconds
Details
##############################
Test: CheckPatch - PASS - 8.22 seconds
Run checkpatch.pl script with rule in .checkpatch.conf
##############################
Test: GitLint - FAIL - 1.15 seconds
Run gitlint with rule in .gitlint
Bluetooth: Add support for HCI_Enhanced_Setup_Synchronous_Connection command
1: T1 Title exceeds max length (76>72): "Bluetooth: Add support for HCI_Enhanced_Setup_Synchronous_Connection command"
##############################
Test: BuildKernel - PASS - 689.43 seconds
Build Kernel with minimal configuration supports Bluetooth
##############################
Test: TestRunner: Setup - PASS - 444.12 seconds
Setup environment for running Test Runner
##############################
Test: TestRunner: l2cap-tester - PASS - 3.26 seconds Run test-runner with l2cap-tester
Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner: bnep-tester - PASS - 2.18 seconds Run test-runner with bnep-tester
Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner: mgmt-tester - PASS - 33.21 seconds Run test-runner with mgmt-tester
Total: 446, Passed: 433 (97.1%), Failed: 0, Not Run: 13
##############################
Test: TestRunner: rfcomm-tester - PASS - 2.59 seconds Run test-runner with rfcomm-tester
Total: 9, Passed: 9 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner: sco-tester - PASS - 2.41 seconds Run test-runner with sco-tester
Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner: smp-tester - PASS - 2.57 seconds Run test-runner with smp-tester
Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner: userchan-tester - PASS - 2.26 seconds Run test-runner with userchan-tester
Total: 3, Passed: 3 (100.0%), Failed: 0, Not Run: 0
---
Regards,
Linux Bluetooth
c[?7l[2JSeaBIOS (version 1.13.0-1ubuntu1.1) Booting from ROM..c[?7l[2Jearly console in extract_kernelinput_data: 0x0000000001e782e0input_len: 0x000000000036122b
output: 0x0000000001000000output_len: 0x00000000011a727ckernel_total_size: 0x0000000001030000needed_size: 0x0000000001200000trampoline_32bit: 0x000000000009d000
Physical KASLR using RDTSC...
Virtual KASLR using RDTSC...
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
Linux version 5.12.0-g7ca8dfb83bbf (root@103a8db1d250) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 Tue Jun 8 13:38:23 UTC 2021
Command line: console=ttyS0,115200n8 earlyprintk=serial rootfstype=9p rootflags=trans=virtio,version=9p2000.L acpi=off pci=noacpi noapic quiet ro init=/github/workspace/bluez/tools/test-runner bluetooth.enable_ecred=1TESTHOME=/github/workspace TESTDBUS=0 TESTMONITOR=0 TESTDEVS=0 TESTAUTO=0 TESTARGS='/github/workspace/bluez/tools/l2cap-tester' x86/fpu: x87 FPU will use FXSAVE
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000000bffdfff] usable
BIOS-e820: [mem 0x000000000bffe000-0x000000000bffffff] reserved
BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
printk: bootconsole [earlyser0] enabled
Memory KASLR using RDTSC...
Poking KASLR using RDTSC...
Mounting sysfs to /sys
Mounting proc to /proc
Mounting devtmpfs to /dev
Creating /dev/pts
Mounting devpts to /dev/pts
Creating /dev/shm
Mounting tmpfs to /dev/shm
Mounting tmpfs to /run
Mounting tmpfs to /tmp
Mounting debugfs to /sys/kernel/debug
Linking /dev/fd to /proc/self/fd
Linking /dev/stdin to /proc/self/fd/0
Linking /dev/stdout to /proc/self/fd/1
Linking /dev/stderr to /proc/self/fd/2
Creating new session group leader
Setting controlling terminal
Creating /var/lib/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/dbus-1
Failed to create filesystem: No such file or directory
Creating /usr/share/dbus-1
Running command /github/workspace/bluez/tools/l2cap-tester
New process 41 created
Changing into directory /github/workspace
Basic L2CAP Socket - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Basic L2CAP Socket - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Basic L2CAP Socket - Success - setup complete
Basic L2CAP Socket - Success - run
Basic L2CAP Socket - Success - test passed
Basic L2CAP Socket - Success - teardown
Index Removed callback
Index: 0x0000
Basic L2CAP Socket - Success - teardown complete
Basic L2CAP Socket - Success - done
Non-connected getpeername - Failure - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Non-connected getpeername - Failure - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Non-connected getpeername - Failure - setup complete Non-connected getpeername - Failure - run Non-connected getpeername - Failure - test passed Non-connected getpeername - Failure - teardown
Index Removed callback
Index: 0x0000
Non-connected getpeername - Failure - teardown complete Non-connected getpeername - Failure - done
L2CAP BR/EDR Client - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Success - setup complete
L2CAP BR/EDR Client - Success - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client - Success - test passed
L2CAP BR/EDR Client - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Success - teardown complete
L2CAP BR/EDR Client - Success - done
L2CAP BR/EDR Client SSP - Success 1 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client SSP - Success 1 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Client enable SSP status 0x00
L2CAP BR/EDR Client SSP - Success 1 - setup complete L2CAP BR/EDR Client SSP - Success 1 - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client SSP - Success 1 - test passed L2CAP BR/EDR Client SSP - Success 1 - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client SSP - Success 1 - teardown complete L2CAP BR/EDR Client SSP - Success 1 - done
L2CAP BR/EDR Client SSP - Success 2 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client SSP - Success 2 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Client enable SSP status 0x00
L2CAP BR/EDR Client SSP - Success 2 - setup complete L2CAP BR/EDR Client SSP - Success 2 - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client SSP - Success 2 - test passed L2CAP BR/EDR Client SSP - Success 2 - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client SSP - Success 2 - teardown complete L2CAP BR/EDR Client SSP - Success 2 - done
L2CAP BR/EDR Client PIN Code - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client PIN Code - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client PIN Code - Success - setup complete L2CAP BR/EDR Client PIN Code - Success - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client PIN Code - Success - test passed L2CAP BR/EDR Client PIN Code - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client PIN Code - Success - teardown complete L2CAP BR/EDR Client PIN Code - Success - done
L2CAP BR/EDR Client - Read Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Read Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Read Success - setup complete L2CAP BR/EDR Client - Read Success - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client - Read Success - test passed L2CAP BR/EDR Client - Read Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Read Success - teardown complete L2CAP BR/EDR Client - Read Success - done
L2CAP BR/EDR Client - Write Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Write Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Write Success - setup complete L2CAP BR/EDR Client - Write Success - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client - Write Success - test passed L2CAP BR/EDR Client - Write Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Write Success - teardown complete L2CAP BR/EDR Client - Write Success - done
L2CAP BR/EDR Client - Invalid PSM 1 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Invalid PSM 1 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Invalid PSM 1 - setup complete L2CAP BR/EDR Client - Invalid PSM 1 - run
Connect in progress
Connect failed: Connection refused (111)
L2CAP BR/EDR Client - Invalid PSM 1 - test passed L2CAP BR/EDR Client - Invalid PSM 1 - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Invalid PSM 1 - teardown complete L2CAP BR/EDR Client - Invalid PSM 1 - done
L2CAP BR/EDR Client - Invalid PSM 2 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Invalid PSM 2 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Invalid PSM 2 - setup complete L2CAP BR/EDR Client - Invalid PSM 2 - run
Connect in progress
Connect failed: Connection refused (111)
L2CAP BR/EDR Client - Invalid PSM 2 - test passed L2CAP BR/EDR Client - Invalid PSM 2 - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Invalid PSM 2 - teardown complete L2CAP BR/EDR Client - Invalid PSM 2 - done
L2CAP BR/EDR Client - Invalid PSM 3 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Invalid PSM 3 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Client enable SSP status 0x00
L2CAP BR/EDR Client - Invalid PSM 3 - setup complete L2CAP BR/EDR Client - Invalid PSM 3 - run
Connect in progress
Connect failed: Connection refused (111)
L2CAP BR/EDR Client - Invalid PSM 3 - test passed L2CAP BR/EDR Client - Invalid PSM 3 - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Invalid PSM 3 - teardown complete L2CAP BR/EDR Client - Invalid PSM 3 - done
L2CAP BR/EDR Client - Socket Shut WR Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Client - Socket Shut WR Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP BR/EDR Client - Socket Shut WR Success - setup complete L2CAP BR/EDR Client - Socket Shut WR Success - run
Connect in progress
Successfully connected
L2CAP BR/EDR Client - Socket Shut WR Success - test passed L2CAP BR/EDR Client - Socket Shut WR Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Client - Socket Shut WR Success - teardown complete L2CAP BR/EDR Client - Socket Shut WR Success - done
L2CAP BR/EDR Server - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Success - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Success - setup complete
L2CAP BR/EDR Server - Success - run
Listening for connections
New client connection with handle 0x002a
Sending L2CAP Request from client
Client received response code 0x03
L2CAP BR/EDR Server - Success - test passed
Successfully connected
L2CAP BR/EDR Server - Success - test passed
L2CAP BR/EDR Server - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Success - teardown complete
L2CAP BR/EDR Server - Success - done
L2CAP BR/EDR Server - Read Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Read Success - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Read Success - setup complete L2CAP BR/EDR Server - Read Success - run
Listening for connections
New client connection with handle 0x002a Sending L2CAP Request from client
Client received response code 0x03
L2CAP BR/EDR Server - Read Success - test passed L2CAP BR/EDR Server - Read Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Read Success - teardown complete L2CAP BR/EDR Server - Read Success - done
L2CAP BR/EDR Server - Write Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Write Success - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Write Success - setup complete L2CAP BR/EDR Server - Write Success - run
Listening for connections
New client connection with handle 0x002a Sending L2CAP Request from client
Client received response code 0x03
L2CAP BR/EDR Server - Write Success - test passed L2CAP BR/EDR Server - Write Success - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Write Success - teardown complete L2CAP BR/EDR Server - Write Success - done
L2CAP BR/EDR Server - Security Block - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Security Block - setup
Powering on controller
Controller powered on
Server enable SSP status 0x00
L2CAP BR/EDR Server - Security Block - setup complete L2CAP BR/EDR Server - Security Block - run
Listening for connections
New client connection with handle 0x002a Sending L2CAP Request from client
Client received response code 0x03
L2CAP BR/EDR Server - Security Block - test passed L2CAP BR/EDR Server - Security Block - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Security Block - teardown complete L2CAP BR/EDR Server - Security Block - done
L2CAP BR/EDR Server - Invalid PSM - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Invalid PSM - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Invalid PSM - setup complete L2CAP BR/EDR Server - Invalid PSM - run
New client connection with handle 0x002a Sending L2CAP Request from client
Client received response code 0x03
L2CAP BR/EDR Server - Invalid PSM - test passed L2CAP BR/EDR Server - Invalid PSM - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Invalid PSM - teardown complete L2CAP BR/EDR Server - Invalid PSM - done
L2CAP BR/EDR Server - Invalid PDU - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Invalid PDU - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Invalid PDU - setup complete L2CAP BR/EDR Server - Invalid PDU - run
New client connection with handle 0x002a Sending L2CAP Request from client
Bluetooth: Wrong link type (-71)
Client received response code 0x01
L2CAP BR/EDR Server - Invalid PDU - test passed L2CAP BR/EDR Server - Invalid PDU - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Invalid PDU - teardown complete L2CAP BR/EDR Server - Invalid PDU - done
L2CAP BR/EDR Server - Invalid Disconnect CID - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Invalid Disconnect CID - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Invalid Disconnect CID - setup complete L2CAP BR/EDR Server - Invalid Disconnect CID - run
New client connection with handle 0x002a
Sending L2CAP Request from client
Client received response code 0x01
L2CAP BR/EDR Server - Invalid Disconnect CID - test passed L2CAP BR/EDR Server - Invalid Disconnect CID - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Invalid Disconnect CID - teardown complete L2CAP BR/EDR Server - Invalid Disconnect CID - done
L2CAP BR/EDR Server - Invalid Config CID - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP BR/EDR Server - Invalid Config CID - setup
Powering on controller
Controller powered on
L2CAP BR/EDR Server - Invalid Config CID - setup complete L2CAP BR/EDR Server - Invalid Config CID - run
New client connection with handle 0x002a Sending L2CAP Request from client
Client received response code 0x01
L2CAP BR/EDR Server - Invalid Config CID - test passed L2CAP BR/EDR Server - Invalid Config CID - teardown
Index Removed callback
Index: 0x0000
L2CAP BR/EDR Server - Invalid Config CID - teardown complete L2CAP BR/EDR Server - Invalid Config CID - done
L2CAP LE Client - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client - Success - setup complete
L2CAP LE Client - Success - run
Connect in progress
Successfully connected
L2CAP LE Client - Success - test passed
L2CAP LE Client - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Success - teardown complete
L2CAP LE Client - Success - done
L2CAP LE Client, Direct Advertising - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client, Direct Advertising - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client, Direct Advertising - Success - setup complete L2CAP LE Client, Direct Advertising - Success - run
Connect in progress
Received advertising parameters HCI command
L2CAP LE Client, Direct Advertising - Success - test passed L2CAP LE Client, Direct Advertising - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client, Direct Advertising - Success - teardown complete L2CAP LE Client, Direct Advertising - Success - done
L2CAP LE Client SMP - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client SMP - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client SMP - Success - setup complete
L2CAP LE Client SMP - Success - run
Connect in progress
Successfully connected
L2CAP LE Client SMP - Success - test passed
Bluetooth: hci0: link tx timeout
L2CAP LE Client SMP - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client SMP - Success - teardown complete
L2CAP LE Client SMP - Success - done
L2CAP LE Client - Command Reject - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Command Reject - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client - Command Reject - setup complete
L2CAP LE Client - Command Reject - run
Connect in progress
New connection with handle 0x002a
Connect failed: Connection refused (111)
L2CAP LE Client - Command Reject - test passed
L2CAP LE Client - Command Reject - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Command Reject - teardown complete L2CAP LE Client - Command Reject - done
L2CAP LE Client - Connection Reject - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: L2CAP LE Client - Connection Reject - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client - Connection Reject - setup complete L2CAP LE Client - Connection Reject - run
Can't connect socket: No route to host (113)
L2CAP LE Client - Connection Reject - test passed L2CAP LE Client - Connection Reject - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Connection Reject - teardown complete L2CAP LE Client - Connection Reject - done
L2CAP LE Client - Close socket 1 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Close socket 1 - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client - Close socket 1 - setup complete
L2CAP LE Client - Close socket 1 - run
Connect in progress, sk = 13
Will close socket during scan phase...
Checking whether scan was properly stopped...
L2CAP LE Client - Close socket 1 - test passed
L2CAP LE Client - Close socket 1 - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Close socket 1 - teardown complete L2CAP LE Client - Close socket 1 - done
L2CAP LE Client - Close socket 2 - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Close socket 2 - setup
Powering on controller
Controller powered on
L2CAP LE Client - Close socket 2 - setup complete
L2CAP LE Client - Close socket 2 - run
Connect in progress, sk = 13
Client set connectable status 0x00
Client set connectable status 0x00
L2CAP LE Client - Close socket 2 - test passed
L2CAP LE Client - Close socket 2 - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Close socket 2 - teardown complete L2CAP LE Client - Close socket 2 - done
L2CAP LE Client - Open two sockets - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Open two sockets - setup
Powering on controller
Controller powered on
L2CAP LE Client - Open two sockets - setup complete L2CAP LE Client - Open two sockets - run
Connect in progress, sk = 13
HCI Command 0x2011 length 7
HCI Command 0x200b length 7
HCI Command 0x200c length 2
Connect in progress, sk = 14
HCI Command 0x200c length 2
Client set connectable status 0x00
HCI Command 0x200d length 25
HCI Command 0x2016 length 2
Successfully connected
Successfully connected
L2CAP LE Client - Open two sockets - test passed
(l2cap-tester:41): GLib-WARNING **: 13:38:32.212: Invalid file descriptor. L2CAP LE Client - Open two sockets - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Open two sockets - teardown complete L2CAP LE Client - Open two sockets - done
L2CAP LE Client - Open two sockets close one - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Open two sockets close one - setup
Powering on controller
Controller powered on
L2CAP LE Client - Open two sockets close one - setup complete L2CAP LE Client - Open two sockets close one - run
Connect in progress, sk = 13
HCI Command 0x2011 length 7
HCI Command 0x200b length 7
HCI Command 0x200c length 2
Connect in progress, sk = 14
Closing first socket! 13
HCI Command 0x200c length 2
Client set connectable status 0x00
HCI Command 0x200d length 25
HCI Command 0x2016 length 2
Successfully connected
L2CAP LE Client - Open two sockets close one - test passed
(l2cap-tester:41): GLib-WARNING **: 13:38:32.248: Invalid file descriptor. L2CAP LE Client - Open two sockets close one - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Open two sockets close one - teardown complete L2CAP LE Client - Open two sockets close one - done
L2CAP LE Client - Invalid PSM - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Client - Invalid PSM - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE Client - Invalid PSM - setup complete
L2CAP LE Client - Invalid PSM - run
Connect in progress
Connect failed: Connection refused (111)
L2CAP LE Client - Invalid PSM - test passed
L2CAP LE Client - Invalid PSM - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Client - Invalid PSM - teardown complete
L2CAP LE Client - Invalid PSM - done
L2CAP LE Server - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Server - Success - setup
Powering on controller
Controller powered on
L2CAP LE Server - Success - setup complete
L2CAP LE Server - Success - run
Listening for connections
New client connection with handle 0x002a
Sending L2CAP Request from client
Successfully connected
L2CAP LE Server - Success - test passed
Client received response code 0x15
L2CAP LE Server - Success - test passed
L2CAP LE Server - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Server - Success - teardown complete
L2CAP LE Server - Success - done
L2CAP LE Server - Nval SCID - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE Server - Nval SCID - setup
Powering on controller
Controller powered on
L2CAP LE Server - Nval SCID - setup complete
L2CAP LE Server - Nval SCID - run
Listening for connections
New client connection with handle 0x002a
Sending L2CAP Request from client
Client received response code 0x15
L2CAP LE Server - Nval SCID - test passed
L2CAP LE Server - Nval SCID - teardown
Index Removed callback
Index: 0x0000
L2CAP LE Server - Nval SCID - teardown complete
L2CAP LE Server - Nval SCID - done
L2CAP Ext-Flowctl Client - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP Ext-Flowctl Client - Success - setup complete L2CAP Ext-Flowctl Client - Success - run
Connect in progress
Successfully connected
L2CAP Ext-Flowctl Client - Success - test passed L2CAP Ext-Flowctl Client - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client - Success - teardown complete L2CAP Ext-Flowctl Client - Success - done
L2CAP Ext-Flowctl Client, Direct Advertising - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client, Direct Advertising - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP Ext-Flowctl Client, Direct Advertising - Success - setup complete L2CAP Ext-Flowctl Client, Direct Advertising - Success - run
Connect in progress
Received advertising parameters HCI command
L2CAP Ext-Flowctl Client, Direct Advertising - Success - test passed L2CAP Ext-Flowctl Client, Direct Advertising - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client, Direct Advertising - Success - teardown complete L2CAP Ext-Flowctl Client, Direct Advertising - Success - done
L2CAP Ext-Flowctl Client SMP - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client SMP - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP Ext-Flowctl Client SMP - Success - setup complete L2CAP Ext-Flowctl Client SMP - Success - run
Connect in progress
Successfully connected
L2CAP Ext-Flowctl Client SMP - Success - test passed
Bluetooth: hci0: link tx timeout
L2CAP Ext-Flowctl Client SMP - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client SMP - Success - teardown complete L2CAP Ext-Flowctl Client SMP - Success - done
L2CAP Ext-Flowctl Client - Command Reject - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client - Command Reject - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP Ext-Flowctl Client - Command Reject - setup complete L2CAP Ext-Flowctl Client - Command Reject - run
Connect in progress
New connection with handle 0x002a
Connect failed: Connection refused (111)
L2CAP Ext-Flowctl Client - Command Reject - test passed L2CAP Ext-Flowctl Client - Command Reject - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client - Command Reject - teardown complete L2CAP Ext-Flowctl Client - Command Reject - done
L2CAP Ext-Flowctl Client - Open two sockets - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client - Open two sockets - setup
Powering on controller
Controller powered on
L2CAP Ext-Flowctl Client - Open two sockets - setup complete L2CAP Ext-Flowctl Client - Open two sockets - run
Connect in progress, sk = 13 (deferred)
HCI Command 0x2011 length 7
HCI Command 0x200b length 7
HCI Command 0x200c length 2
Connect in progress, sk = 14
HCI Command 0x200c length 2
Client set connectable status 0x00
HCI Command 0x200d length 25
HCI Command 0x2016 length 2
Successfully connected
Successfully connected
Bluetooth: hci0: link tx timeout
L2CAP Ext-Flowctl Client - Open two sockets - test passed
(l2cap-tester:41): GLib-WARNING **: 13:38:32.464: Invalid file descriptor. L2CAP Ext-Flowctl Client - Open two sockets - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client - Open two sockets - teardown complete L2CAP Ext-Flowctl Client - Open two sockets - done
L2CAP Ext-Flowctl Client - Open two sockets close one - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP Ext-Flowctl Client - Open two sockets close one - setup
Powering on controller
Controller powered on
L2CAP Ext-Flowctl Client - Open two sockets close one - setup complete L2CAP Ext-Flowctl Client - Open two sockets close one - run
Connect in progress, sk = 13 (deferred)
HCI Command 0x2011 length 7
HCI Command 0x200b length 7
HCI Command 0x200c length 2
Connect in progress, sk = 14
Closing first socket! 13
HCI Command 0x200c length 2
Client set connectable status 0x00
HCI Command 0x200d length 25
HCI Command 0x2016 length 2
Successfully connected
L2CAP Ext-Flowctl Client - Open two sockets close one - test passed
(l2cap-tester:41): GLib-WARNING **: 13:38:32.500: Invalid file descriptor. L2CAP Ext-Flowctl Client - Open two sockets close one - teardown
Index Removed callback
Index: 0x0000
L2CAP Ext-Flowctl Client - Open two sockets close one - teardown complete L2CAP Ext-Flowctl Client - Open two sockets close one - done
L2CAP LE ATT Client - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE ATT Client - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
L2CAP LE ATT Client - Success - setup complete
L2CAP LE ATT Client - Success - run
Connect in progress
Successfully connected
L2CAP LE ATT Client - Success - test passed
L2CAP LE ATT Client - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE ATT Client - Success - teardown complete
L2CAP LE ATT Client - Success - done
L2CAP LE ATT Server - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: L2CAP LE ATT Server - Success - setup
Powering on controller
Controller powered on
L2CAP LE ATT Server - Success - setup complete
L2CAP LE ATT Server - Success - run
Listening for connections
New client connection with handle 0x002a
Successfully connected
L2CAP LE ATT Server - Success - test passed
L2CAP LE ATT Server - Success - teardown
Index Removed callback
Index: 0x0000
L2CAP LE ATT Server - Success - teardown complete
L2CAP LE ATT Server - Success - done
Test Summary
------------
Basic L2CAP Socket - Success Passed 0.060 seconds Non-connected getpeername - Failure Passed 0.024 seconds L2CAP BR/EDR Client - Success Passed 0.040 seconds L2CAP BR/EDR Client SSP - Success 1 Passed 0.024 seconds L2CAP BR/EDR Client SSP - Success 2 Passed 0.032 seconds L2CAP BR/EDR Client PIN Code - Success Passed 0.024 seconds L2CAP BR/EDR Client - Read Success Passed 0.020 seconds L2CAP BR/EDR Client - Write Success Passed 0.028 seconds L2CAP BR/EDR Client - Invalid PSM 1 Passed 0.020 seconds L2CAP BR/EDR Client - Invalid PSM 2 Passed 0.020 seconds L2CAP BR/EDR Client - Invalid PSM 3 Passed 0.028 seconds L2CAP BR/EDR Client - Socket Shut WR Success Passed 0.020 seconds L2CAP BR/EDR Server - Success Passed 0.024 seconds L2CAP BR/EDR Server - Read Success Passed 0.020 seconds L2CAP BR/EDR Server - Write Success Passed 0.036 seconds L2CAP BR/EDR Server - Security Block Passed 0.024 seconds L2CAP BR/EDR Server - Invalid PSM Passed 0.020 seconds L2CAP BR/EDR Server - Invalid PDU Passed 0.016 seconds L2CAP BR/EDR Server - Invalid Disconnect CID Passed 0.020 seconds L2CAP BR/EDR Server - Invalid Config CID Passed 0.016 seconds L2CAP LE Client - Success Passed 0.032 seconds L2CAP LE Client, Direct Advertising - Success Passed 0.024 seconds L2CAP LE Client SMP - Success Passed 0.032 seconds L2CAP LE Client - Command Reject Passed 0.020 seconds L2CAP LE Client - Connection Reject Passed 0.016 seconds L2CAP LE Client - Close socket 1 Passed 0.016 seconds L2CAP LE Client - Close socket 2 Passed 0.016 seconds L2CAP LE Client - Open two sockets Passed 0.056 seconds L2CAP LE Client - Open two sockets close one Passed 0.020 seconds L2CAP LE Client - Invalid PSM Passed 0.020 seconds L2CAP LE Server - Success Passed 0.028 seconds L2CAP LE Server - Nval SCID Passed 0.024 seconds L2CAP Ext-Flowctl Client - Success Passed 0.024 seconds L2CAP Ext-Flowctl Client, Direct Advertising - Success Passed 0.020 seconds L2CAP Ext-Flowctl Client SMP - Success Passed 0.028 seconds L2CAP Ext-Flowctl Client - Command Reject Passed 0.028 seconds L2CAP Ext-Flowctl Client - Open two sockets Passed 0.032 seconds L2CAP Ext-Flowctl Client - Open two sockets close one Passed 0.032 seconds L2CAP LE ATT Client - Success Passed 0.020 seconds L2CAP LE ATT Server - Success Passed 0.016 seconds
Total: 40, Passed: 40 (100.0%), Failed: 0, Not Run: 0 Overall execution time: 1.08 seconds
Process 41 exited with status 0
reboot: Restarting system
c[?7l[2JSeaBIOS (version 1.13.0-1ubuntu1.1) Booting from ROM..c[?7l[2Jearly console in extract_kernelinput_data: 0x0000000001e782e0input_len: 0x000000000036122b
output: 0x0000000001000000output_len: 0x00000000011a727ckernel_total_size: 0x0000000001030000needed_size: 0x0000000001200000trampoline_32bit: 0x000000000009d000
Physical KASLR using RDTSC...
Virtual KASLR using RDTSC...
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
Linux version 5.12.0-g7ca8dfb83bbf (root@103a8db1d250) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 Tue Jun 8 13:38:23 UTC 2021
Command line: console=ttyS0,115200n8 earlyprintk=serial rootfstype=9p rootflags=trans=virtio,version=9p2000.L acpi=off pci=noacpi noapic quiet ro init=/github/workspace/bluez/tools/test-runner bluetooth.enable_ecred=1TESTHOME=/github/workspace TESTDBUS=0 TESTMONITOR=0 TESTDEVS=0 TESTAUTO=0 TESTARGS='/github/workspace/bluez/tools/bnep-tester' x86/fpu: x87 FPU will use FXSAVE
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000000bffdfff] usable
BIOS-e820: [mem 0x000000000bffe000-0x000000000bffffff] reserved
BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
printk: bootconsole [earlyser0] enabled
Memory KASLR using RDTSC...
Poking KASLR using RDTSC...
Mounting sysfs to /sys
Mounting proc to /proc
Mounting devtmpfs to /dev
Creating /dev/pts
Mounting devpts to /dev/pts
Creating /dev/shm
Mounting tmpfs to /dev/shm
Mounting tmpfs to /run
Mounting tmpfs to /tmp
Mounting debugfs to /sys/kernel/debug
Linking /dev/fd to /proc/self/fd
Linking /dev/stdin to /proc/self/fd/0
Linking /dev/stdout to /proc/self/fd/1
Linking /dev/stderr to /proc/self/fd/2
Creating new session group leader
Setting controlling terminal
Creating /var/lib/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/dbus-1
Failed to create filesystem: No such file or directory
Creating /usr/share/dbus-1
Running command /github/workspace/bluez/tools/bnep-tester
New process 41 created
Changing into directory /github/workspace
Basic BNEP Socket - Success - init
Read Index List callback
Status: 0x00
New hciemu instance created
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: 0x00
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Basic BNEP Socket - Success - setup
Powering on controller
Controller powered on
Client set connectable status 0x00
Basic BNEP Socket - Success - setup complete
Basic BNEP Socket - Success - run
Basic BNEP Socket - Success - test passed
Basic BNEP Socket - Success - teardown
Index Removed callback
Index: 0x0000
Basic BNEP Socket - Success - teardown complete
Basic BNEP Socket - Success - done
Test Summary
------------
Basic BNEP Socket - Success Passed 0.075 seconds
Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0 Overall execution time: 0.0838 seconds Process 41 exited with status 0
reboot: Restarting system
c[?7l[2JSeaBIOS (version 1.13.0-1ubuntu1.1) Booting from ROM..c[?7l[2Jearly console in extract_kernelinput_data: 0x0000000001e782e0input_len: 0x000000000036122b
output: 0x0000000001000000output_len: 0x00000000011a727ckernel_total_size: 0x0000000001030000needed_size: 0x0000000001200000trampoline_32bit: 0x000000000009d000
Physical KASLR using RDTSC...
Virtual KASLR using RDTSC...
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
Linux version 5.12.0-g7ca8dfb83bbf (root@103a8db1d250) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 Tue Jun 8 13:38:23 UTC 2021
Command line: console=ttyS0,115200n8 earlyprintk=serial rootfstype=9p rootflags=trans=virtio,version=9p2000.L acpi=off pci=noacpi noapic quiet ro init=/github/workspace/bluez/tools/test-runner bluetooth.enable_ecred=1TESTHOME=/github/workspace TESTDBUS=0 TESTMONITOR=0 TESTDEVS=0 TESTAUTO=0 TESTARGS='/github/workspace/bluez/tools/mgmt-tester' x86/fpu: x87 FPU will use FXSAVE
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x000000000bffdfff] usable
BIOS-e820: [mem 0x000000000bffe000-0x000000000bffffff] reserved
BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
printk: bootconsole [earlyser0] enabled
Memory KASLR using RDTSC...
Poking KASLR using RDTSC...
Mounting sysfs to /sys
Mounting proc to /proc
Mounting devtmpfs to /dev
Creating /dev/pts
Mounting devpts to /dev/pts
Creating /dev/shm
Mounting tmpfs to /dev/shm
Mounting tmpfs to /run
Mounting tmpfs to /tmp
Mounting debugfs to /sys/kernel/debug
Linking /dev/fd to /proc/self/fd
Linking /dev/stdin to /proc/self/fd/0
Linking /dev/stdout to /proc/self/fd/1
Linking /dev/stderr to /proc/self/fd/2
Creating new session group leader
Setting controlling terminal
Creating /var/lib/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/bluetooth
Failed to create filesystem: No such file or directory
Creating /etc/dbus-1
Failed to create filesystem: No such file or directory
Creating /usr/share/dbus-1
Running command /github/workspace/bluez/tools/mgmt-tester
Changing into directory /github/workspace
New process 41 created
Controller setup - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Controller setup - setup
Controller setup - setup complete
Controller setup - run
Controller setup - test passed
Controller setup - teardown
Index Removed callback
Index: 0x0000
Controller setup - teardown complete
Controller setup - done
Controller setup (BR/EDR-only) - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Controller setup (BR/EDR-only) - setup
Controller setup (BR/EDR-only) - setup complete
Controller setup (BR/EDR-only) - run
Controller setup (BR/EDR-only) - test passed
Controller setup (BR/EDR-only) - teardown
Index Removed callback
Index: 0x0000
Controller setup (BR/EDR-only) - teardown complete Controller setup (BR/EDR-only) - done
Controller setup (LE) - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Controller setup (LE) - setup
Controller setup (LE) - setup complete
Controller setup (LE) - run
Controller setup (LE) - test passed
Controller setup (LE) - teardown
Index Removed callback
Index: 0x0000
Controller setup (LE) - teardown complete
Controller setup (LE) - done
Invalid command - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Invalid command - setup
Invalid command - setup complete
Invalid command - run
Sending <unknown opcode> (0xffff)
Test condition added, total 1
<unknown opcode> (0xffff): Unknown Command (0x01) Test condition complete, 0 left
Invalid command - test passed
Invalid command - teardown
Index Removed callback
Index: 0x0000
Invalid command - teardown complete
Invalid command - done
Read version - Success - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read version - Success - setup
Read version - Success - setup complete
Read version - Success - run
Sending Read Version (0x0001)
Test condition added, total 1
Read Version (0x0001): Success (0x00)
Test condition complete, 0 left
Read version - Success - test passed
Read version - Success - teardown
Index Removed callback
Index: 0x0000
Read version - Success - teardown complete
Read version - Success - done
Read version - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read version - Invalid parameters - setup Read version - Invalid parameters - setup complete Read version - Invalid parameters - run
Sending Read Version (0x0001)
Test condition added, total 1
Read Version (0x0001): Invalid Parameters (0x0d) Test condition complete, 0 left
Read version - Invalid parameters - test passed Read version - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read version - Invalid parameters - teardown complete Read version - Invalid parameters - done
Read version - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read version - Invalid index - setup
Read version - Invalid index - setup complete
Read version - Invalid index - run
Sending Read Version (0x0001)
Test condition added, total 1
Read Version (0x0001): Invalid Index (0x11)
Test condition complete, 0 left
Read version - Invalid index - test passed
Read version - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read version - Invalid index - teardown complete
Read version - Invalid index - done
Read commands - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read commands - Invalid parameters - setup Read commands - Invalid parameters - setup complete Read commands - Invalid parameters - run
Sending Read Commands (0x0002)
Test condition added, total 1
Read Commands (0x0002): Invalid Parameters (0x0d) Test condition complete, 0 left
Read commands - Invalid parameters - test passed Read commands - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read commands - Invalid parameters - teardown complete Read commands - Invalid parameters - done
Read commands - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read commands - Invalid index - setup
Read commands - Invalid index - setup complete
Read commands - Invalid index - run
Sending Read Commands (0x0002)
Test condition added, total 1
Read Commands (0x0002): Invalid Index (0x11)
Test condition complete, 0 left
Read commands - Invalid index - test passed
Read commands - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read commands - Invalid index - teardown complete
Read commands - Invalid index - done
Read index list - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read index list - Invalid parameters - setup Read index list - Invalid parameters - setup complete Read index list - Invalid parameters - run
Sending Read Index List (0x0003)
Test condition added, total 1
Read Index List (0x0003): Invalid Parameters (0x0d) Test condition complete, 0 left
Read index list - Invalid parameters - test passed Read index list - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read index list - Invalid parameters - teardown complete Read index list - Invalid parameters - done
Read index list - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read index list - Invalid index - setup
Read index list - Invalid index - setup complete
Read index list - Invalid index - run
Sending Read Index List (0x0003)
Test condition added, total 1
Read Index List (0x0003): Invalid Index (0x11)
Test condition complete, 0 left
Read index list - Invalid index - test passed
Read index list - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read index list - Invalid index - teardown complete Read index list - Invalid index - done
Read info - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read info - Invalid parameters - setup
Read info - Invalid parameters - setup complete Read info - Invalid parameters - run
Sending Read Controller Info (0x0004)
Test condition added, total 1
Read Controller Info (0x0004): Invalid Parameters (0x0d) Test condition complete, 0 left
Read info - Invalid parameters - test passed
Read info - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read info - Invalid parameters - teardown complete Read info - Invalid parameters - done
Read info - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read info - Invalid index - setup
Read info - Invalid index - setup complete Read info - Invalid index - run
Sending Read Controller Info (0x0004)
Test condition added, total 1
Read Controller Info (0x0004): Invalid Index (0x11) Test condition complete, 0 left
Read info - Invalid index - test passed
Read info - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read info - Invalid index - teardown complete
Read info - Invalid index - done
Read unconfigured index list - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read unconfigured index list - Invalid parameters - setup Read unconfigured index list - Invalid parameters - setup complete Read unconfigured index list - Invalid parameters - run
Sending Read Unconfigured Index List (0x0036)
Test condition added, total 1
Read Unconfigured Index List (0x0036): Invalid Parameters (0x0d) Test condition complete, 0 left
Read unconfigured index list - Invalid parameters - test passed Read unconfigured index list - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read unconfigured index list - Invalid parameters - teardown complete Read unconfigured index list - Invalid parameters - done
Read unconfigured index list - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read unconfigured index list - Invalid index - setup Read unconfigured index list - Invalid index - setup complete Read unconfigured index list - Invalid index - run
Sending Read Unconfigured Index List (0x0036) Test condition added, total 1
Read Unconfigured Index List (0x0036): Invalid Index (0x11) Test condition complete, 0 left
Read unconfigured index list - Invalid index - test passed Read unconfigured index list - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read unconfigured index list - Invalid index - teardown complete Read unconfigured index list - Invalid index - done
Read configuration info - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read configuration info - Invalid parameters - setup
Read configuration info - Invalid parameters - setup complete
Read configuration info - Invalid parameters - run
Sending Read Controller Configuration Information (0x0037)
Test condition added, total 1
Read Controller Configuration Information (0x0037): Invalid Parameters (0x0d) Test condition complete, 0 left
Read configuration info - Invalid parameters - test passed
Read configuration info - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read configuration info - Invalid parameters - teardown complete Read configuration info - Invalid parameters - done
Read configuration info - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read configuration info - Invalid index - setup
Read configuration info - Invalid index - setup complete
Read configuration info - Invalid index - run
Sending Read Controller Configuration Information (0x0037) Test condition added, total 1
Read Controller Configuration Information (0x0037): Invalid Index (0x11) Test condition complete, 0 left
Read configuration info - Invalid index - test passed
Read configuration info - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read configuration info - Invalid index - teardown complete Read configuration info - Invalid index - done
Read extended index list - Invalid parameters - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read extended index list - Invalid parameters - setup
Read extended index list - Invalid parameters - setup complete Read extended index list - Invalid parameters - run
Sending Read Extended Controller Index List (0x003c)
Test condition added, total 1
Read Extended Controller Index List (0x003c): Invalid Parameters (0x0d) Test condition complete, 0 left
Read extended index list - Invalid parameters - test passed Read extended index list - Invalid parameters - teardown
Index Removed callback
Index: 0x0000
Read extended index list - Invalid parameters - teardown complete Read extended index list - Invalid parameters - done
Read extended index list - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Read extended index list - Invalid index - setup
Read extended index list - Invalid index - setup complete Read extended index list - Invalid index - run
Sending Read Extended Controller Index List (0x003c) Test condition added, total 1
Read Extended Controller Index List (0x003c): Invalid Index (0x11) Test condition complete, 0 left
Read extended index list - Invalid index - test passed Read extended index list - Invalid index - teardown
Index Removed callback
Index: 0x0000
Read extended index list - Invalid index - teardown complete Read extended index list - Invalid index - done
Set powered on - Success - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered on - Success - setup
Set powered on - Success - setup complete
Set powered on - Success - run
Registering new settings notification
Test condition added, total 1
Sending Set Powered (0x0005)
Test condition added, total 2
Set Powered (0x0005): Success (0x00)
Test condition complete, 1 left
New settings 0x00000081 received
Unregistering new settings notification
Test condition complete, 0 left
Set powered on - Success - test passed
Set powered on - Success - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set powered on - Success - teardown complete
Set powered on - Success - done
Set powered on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered on - Invalid parameters 1 - setup Set powered on - Invalid parameters 1 - setup complete Set powered on - Invalid parameters 1 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered on - Invalid parameters 1 - test passed Set powered on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set powered on - Invalid parameters 1 - teardown complete Set powered on - Invalid parameters 1 - done
Set powered on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered on - Invalid parameters 2 - setup Set powered on - Invalid parameters 2 - setup complete Set powered on - Invalid parameters 2 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered on - Invalid parameters 2 - test passed Set powered on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set powered on - Invalid parameters 2 - teardown complete Set powered on - Invalid parameters 2 - done
Set powered on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered on - Invalid parameters 3 - setup Set powered on - Invalid parameters 3 - setup complete Set powered on - Invalid parameters 3 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered on - Invalid parameters 3 - test passed Set powered on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set powered on - Invalid parameters 3 - teardown complete Set powered on - Invalid parameters 3 - done
Set powered on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered on - Invalid index - setup
Set powered on - Invalid index - setup complete
Set powered on - Invalid index - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Index (0x11)
Test condition complete, 0 left
Set powered on - Invalid index - test passed
Set powered on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set powered on - Invalid index - teardown complete Set powered on - Invalid index - done
Set powered on - Privacy and Advertising - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set powered on - Privacy and Advertising - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set powered on - Privacy and Advertising - setup complete Set powered on - Privacy and Advertising - run
Sending Set Advertising (0x0029)
Test condition added, total 1
Set Advertising (0x0029): Success (0x00)
Test condition complete, 0 left
Set powered on - Privacy and Advertising - test passed Set powered on - Privacy and Advertising - teardown
Index Removed callback
Index: 0x0000
Set powered on - Privacy and Advertising - teardown complete Set powered on - Privacy and Advertising - done
Set powered off - Success - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered off - Success - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set powered off - Success - setup complete
Set powered off - Success - run
Registering new settings notification
Test condition added, total 1
Sending Set Powered (0x0005)
Test condition added, total 2
Set Powered (0x0005): Success (0x00)
Test condition complete, 1 left
New settings 0x00000080 received
Unregistering new settings notification
Test condition complete, 0 left
Set powered off - Success - test passed
Set powered off - Success - teardown
Index Removed callback
Index: 0x0000
Set powered off - Success - teardown complete
Set powered off - Success - done
Set powered off - Class of Device - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered off - Class of Device - setup
Setting device class and powering on Controller powered on
Test setup condition added, total 1 Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set powered off - Class of Device - setup complete Set powered off - Class of Device - run
Registering new settings notification Test condition added, total 1 Registering Class of Device Changed notification Test condition added, total 2
Sending Set Powered (0x0005)
Test condition added, total 3
Set Powered (0x0005): Success (0x00) Test condition complete, 2 left
New Class of Device Changed event received Test condition complete, 1 left
New settings 0x00000080 received Unregistering new settings notification Test condition complete, 0 left
Set powered off - Class of Device - test passed Set powered off - Class of Device - teardown
Index Removed callback
Index: 0x0000
Set powered off - Class of Device - teardown complete Set powered off - Class of Device - done
Set powered off - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered off - Invalid parameters 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set powered off - Invalid parameters 1 - setup complete Set powered off - Invalid parameters 1 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered off - Invalid parameters 1 - test passed Set powered off - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set powered off - Invalid parameters 1 - teardown complete Set powered off - Invalid parameters 1 - done
Set powered off - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered off - Invalid parameters 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set powered off - Invalid parameters 2 - setup complete Set powered off - Invalid parameters 2 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered off - Invalid parameters 2 - test passed Set powered off - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set powered off - Invalid parameters 2 - teardown complete Set powered off - Invalid parameters 2 - done
Set powered off - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set powered off - Invalid parameters 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set powered off - Invalid parameters 3 - setup complete Set powered off - Invalid parameters 3 - run
Sending Set Powered (0x0005)
Test condition added, total 1
Set Powered (0x0005): Invalid Parameters (0x0d) Test condition complete, 0 left
Set powered off - Invalid parameters 3 - test passed Set powered off - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set powered off - Invalid parameters 3 - teardown complete Set powered off - Invalid parameters 3 - done
Set connectable on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Success 1 - setup
Set connectable on - Success 1 - setup complete
Set connectable on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Connectable (0x0007)
Test condition added, total 2
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000082 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable on - Success 1 - test passed
Set connectable on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set connectable on - Success 1 - teardown complete Set connectable on - Success 1 - done
Set connectable on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable on - Success 2 - setup complete
Set connectable on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x0c1a length 1
Test condition complete, 2 left
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000083 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable on - Success 2 - test passed
Set connectable on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable on - Success 2 - teardown complete Set connectable on - Success 2 - done
Set connectable on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Invalid parameters 1 - setup Set connectable on - Invalid parameters 1 - setup complete Set connectable on - Invalid parameters 1 - run
Sending Set Connectable (0x0007)
Test condition added, total 1
Set Connectable (0x0007): Invalid Parameters (0x0d) Test condition complete, 0 left
Set connectable on - Invalid parameters 1 - test passed Set connectable on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set connectable on - Invalid parameters 1 - teardown complete Set connectable on - Invalid parameters 1 - done
Set connectable on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Invalid parameters 2 - setup Set connectable on - Invalid parameters 2 - setup complete Set connectable on - Invalid parameters 2 - run
Sending Set Connectable (0x0007)
Test condition added, total 1
Set Connectable (0x0007): Invalid Parameters (0x0d) Test condition complete, 0 left
Set connectable on - Invalid parameters 2 - test passed Set connectable on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set connectable on - Invalid parameters 2 - teardown complete Set connectable on - Invalid parameters 2 - done
Set connectable on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Invalid parameters 3 - setup Set connectable on - Invalid parameters 3 - setup complete Set connectable on - Invalid parameters 3 - run
Sending Set Connectable (0x0007)
Test condition added, total 1
Set Connectable (0x0007): Invalid Parameters (0x0d) Test condition complete, 0 left
Set connectable on - Invalid parameters 3 - test passed Set connectable on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set connectable on - Invalid parameters 3 - teardown complete Set connectable on - Invalid parameters 3 - done
Set connectable on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable on - Invalid index - setup Set connectable on - Invalid index - setup complete Set connectable on - Invalid index - run
Sending Set Connectable (0x0007)
Test condition added, total 1
Set Connectable (0x0007): Invalid Index (0x11) Test condition complete, 0 left
Set connectable on - Invalid index - test passed Set connectable on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set connectable on - Invalid index - teardown complete Set connectable on - Invalid index - done
Set connectable on (LE) - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable on (LE) - Success 1 - setup Set connectable on (LE) - Success 1 - setup complete Set connectable on (LE) - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Connectable (0x0007)
Test condition added, total 2
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000202 received Unregistering new settings notification Test condition complete, 0 left
Set connectable on (LE) - Success 1 - test passed Set connectable on (LE) - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set connectable on (LE) - Success 1 - teardown complete Set connectable on (LE) - Success 1 - done
Set connectable on (LE) - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable on (LE) - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set connectable on (LE) - Success 2 - setup complete Set connectable on (LE) - Success 2 - run
Registering new settings notification
Test condition added, total 1
Sending Set Connectable (0x0007)
Test condition added, total 2
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000203 received Unregistering new settings notification Test condition complete, 0 left
Set connectable on (LE) - Success 2 - test passed Set connectable on (LE) - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable on (LE) - Success 2 - teardown complete Set connectable on (LE) - Success 2 - done
Set connectable on (LE) - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable on (LE) - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set connectable on (LE) - Success 3 - setup complete Set connectable on (LE) - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x200a length 1
HCI Command 0x2006 length 15
Test condition complete, 2 left
HCI Command 0x200a length 1
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000603 received Unregistering new settings notification Test condition complete, 0 left
Set connectable on (LE) - Success 3 - test passed Set connectable on (LE) - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable on (LE) - Success 3 - teardown complete Set connectable on (LE) - Success 3 - done
Set connectable off - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable off - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off - Success 1 - setup complete
Set connectable off - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Connectable (0x0007)
Test condition added, total 2
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000080 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable off - Success 1 - test passed
Set connectable off - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set connectable off - Success 1 - teardown complete Set connectable off - Success 1 - done
Set connectable off - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable off - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off - Success 2 - setup complete
Set connectable off - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x0c1a length 1
Test condition complete, 2 left
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000081 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable off - Success 2 - test passed
Set connectable off - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off - Success 2 - teardown complete Set connectable off - Success 2 - done
Set connectable off - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable off - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off - Success 3 - setup complete
Set connectable off - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x0c1a length 1
Test condition complete, 2 left
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000081 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable off - Success 3 - test passed
Set connectable off - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off - Success 3 - teardown complete Set connectable off - Success 3 - done
Set connectable off - Success 4 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set connectable off - Success 4 - setup
Initial settings completed
Powering on controller (with added device)
Controller powered on
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off - Success 4 - setup complete
Set connectable off - Success 4 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x0c1a length 1
Test condition complete, 2 left
Set Connectable (0x0007): Success (0x00)
Test condition complete, 1 left
New settings 0x00000081 received
Unregistering new settings notification
Test condition complete, 0 left
Set connectable off - Success 4 - test passed
Set connectable off - Success 4 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off - Success 4 - teardown complete Set connectable off - Success 4 - done
Set connectable off (LE) - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable off (LE) - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off (LE) - Success 1 - setup complete Set connectable off (LE) - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Connectable (0x0007)
Test condition added, total 2
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000200 received Unregistering new settings notification Test condition complete, 0 left
Set connectable off (LE) - Success 1 - test passed Set connectable off (LE) - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set connectable off (LE) - Success 1 - teardown complete Set connectable off (LE) - Success 1 - done
Set connectable off (LE) - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable off (LE) - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off (LE) - Success 2 - setup complete Set connectable off (LE) - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x200a length 1
HCI Command 0x2005 length 6
HCI Command 0x2006 length 15
Test condition complete, 2 left
HCI Command 0x200a length 1
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000601 received Unregistering new settings notification Test condition complete, 0 left
Set connectable off (LE) - Success 2 - test passed Set connectable off (LE) - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off (LE) - Success 2 - teardown complete Set connectable off (LE) - Success 2 - done
Set connectable off (LE) - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable off (LE) - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off (LE) - Success 3 - setup complete Set connectable off (LE) - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x2008 length 32
HCI Command 0x200a length 1
HCI Command 0x2005 length 6
HCI Command 0x2006 length 15
Test condition complete, 2 left
HCI Command 0x200a length 1
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000601 received Unregistering new settings notification Test condition complete, 0 left
Set connectable off (LE) - Success 3 - test passed Set connectable off (LE) - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off (LE) - Success 3 - teardown complete Set connectable off (LE) - Success 3 - done
Set connectable off (LE) - Success 4 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set connectable off (LE) - Success 4 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set connectable off (LE) - Success 4 - setup complete Set connectable off (LE) - Success 4 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Connectable (0x0007)
Test condition added, total 3
HCI Command 0x2008 length 32
HCI Command 0x200a length 1
HCI Command 0x2005 length 6
HCI Command 0x2006 length 15
Test condition complete, 2 left
HCI Command 0x200a length 1
Set Connectable (0x0007): Success (0x00) Test condition complete, 1 left
New settings 0x00000601 received Unregistering new settings notification Test condition complete, 0 left
Set connectable off (LE) - Success 4 - test passed Set connectable off (LE) - Success 4 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set connectable off (LE) - Success 4 - teardown complete Set connectable off (LE) - Success 4 - done
Set fast connectable on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set fast connectable on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set fast connectable on - Success 1 - setup complete Set fast connectable on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Fast Connectable (0x0008)
Test condition added, total 2
Set Fast Connectable (0x0008): Success (0x00) Test condition complete, 1 left
New settings 0x00000087 received Unregistering new settings notification Test condition complete, 0 left
Set fast connectable on - Success 1 - test passed Set fast connectable on - Success 1 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set fast connectable on - Success 1 - teardown complete Set fast connectable on - Success 1 - done
Set fast connectable on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set fast connectable on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set fast connectable on - Success 2 - setup complete Set fast connectable on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Sending Set Fast Connectable (0x0008)
Test condition added, total 2
Set Fast Connectable (0x0008): Success (0x00) Test condition complete, 1 left
New settings 0x00000085 received Unregistering new settings notification Test condition complete, 0 left
Set fast connectable on - Success 2 - test passed Set fast connectable on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set fast connectable on - Success 2 - teardown complete Set fast connectable on - Success 2 - done
Set fast connectable on - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set fast connectable on - Success 3 - setup Set fast connectable on - Success 3 - setup complete Set fast connectable on - Success 3 - run
Registering new settings notification
Test condition added, total 1
Sending Set Fast Connectable (0x0008)
Test condition added, total 2
Set Fast Connectable (0x0008): Success (0x00) Test condition complete, 1 left
New settings 0x00000084 received Unregistering new settings notification Test condition complete, 0 left
Set fast connectable on - Success 3 - test passed Set fast connectable on - Success 3 - teardown
Index Removed callback
Index: 0x0000
Set fast connectable on - Success 3 - teardown complete Set fast connectable on - Success 3 - done
Set fast connectable on - Invalid Params 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set fast connectable on - Invalid Params 1 - setup Set fast connectable on - Invalid Params 1 - setup complete Set fast connectable on - Invalid Params 1 - run
Sending Set Fast Connectable (0x0008)
Test condition added, total 1
Set Fast Connectable (0x0008): Invalid Parameters (0x0d) Test condition complete, 0 left
Set fast connectable on - Invalid Params 1 - test passed Set fast connectable on - Invalid Params 1 - teardown
Index Removed callback
Index: 0x0000
Set fast connectable on - Invalid Params 1 - teardown complete Set fast connectable on - Invalid Params 1 - done
Set fast connectable on - Not Supported 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set fast connectable on - Not Supported 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set fast connectable on - Not Supported 1 - setup complete Set fast connectable on - Not Supported 1 - run
Sending Set Fast Connectable (0x0008)
Test condition added, total 1
Set Fast Connectable (0x0008): Not Supported (0x0c) Test condition complete, 0 left
Set fast connectable on - Not Supported 1 - test passed Set fast connectable on - Not Supported 1 - teardown
Index Removed callback
Index: 0x0000
Set fast connectable on - Not Supported 1 - teardown complete Set fast connectable on - Not Supported 1 - done
Set bondable on - Success - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set bondable on - Success - setup
Set bondable on - Success - setup complete
Set bondable on - Success - run
Registering new settings notification
Test condition added, total 1
Sending Set Bondable (0x0009)
Test condition added, total 2
Set Bondable (0x0009): Success (0x00)
Test condition complete, 1 left
New settings 0x00000090 received
Unregistering new settings notification
Test condition complete, 0 left
Set bondable on - Success - test passed
Set bondable on - Success - teardown
Index Removed callback
Index: 0x0000
Set bondable on - Success - teardown complete
Set bondable on - Success - done
Set bondable on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set bondable on - Invalid parameters 1 - setup Set bondable on - Invalid parameters 1 - setup complete Set bondable on - Invalid parameters 1 - run
Sending Set Bondable (0x0009)
Test condition added, total 1
Set Bondable (0x0009): Invalid Parameters (0x0d) Test condition complete, 0 left
Set bondable on - Invalid parameters 1 - test passed Set bondable on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set bondable on - Invalid parameters 1 - teardown complete Set bondable on - Invalid parameters 1 - done
Set bondable on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set bondable on - Invalid parameters 2 - setup Set bondable on - Invalid parameters 2 - setup complete Set bondable on - Invalid parameters 2 - run
Sending Set Bondable (0x0009)
Test condition added, total 1
Set Bondable (0x0009): Invalid Parameters (0x0d) Test condition complete, 0 left
Set bondable on - Invalid parameters 2 - test passed Set bondable on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set bondable on - Invalid parameters 2 - teardown complete Set bondable on - Invalid parameters 2 - done
Set bondable on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set bondable on - Invalid parameters 3 - setup Set bondable on - Invalid parameters 3 - setup complete Set bondable on - Invalid parameters 3 - run
Sending Set Bondable (0x0009)
Test condition added, total 1
Set Bondable (0x0009): Invalid Parameters (0x0d) Test condition complete, 0 left
Set bondable on - Invalid parameters 3 - test passed Set bondable on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set bondable on - Invalid parameters 3 - teardown complete Set bondable on - Invalid parameters 3 - done
Set bondable on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set bondable on - Invalid index - setup
Set bondable on - Invalid index - setup complete
Set bondable on - Invalid index - run
Sending Set Bondable (0x0009)
Test condition added, total 1
Set Bondable (0x0009): Invalid Index (0x11)
Test condition complete, 0 left
Set bondable on - Invalid index - test passed
Set bondable on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set bondable on - Invalid index - teardown complete Set bondable on - Invalid index - done
Set discoverable on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Invalid parameters 1 - setup Set discoverable on - Invalid parameters 1 - setup complete Set discoverable on - Invalid parameters 1 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Invalid Parameters (0x0d) Test condition complete, 0 left
Set discoverable on - Invalid parameters 1 - test passed Set discoverable on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Invalid parameters 1 - teardown complete Set discoverable on - Invalid parameters 1 - done
Set discoverable on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Invalid parameters 2 - setup Set discoverable on - Invalid parameters 2 - setup complete Set discoverable on - Invalid parameters 2 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Invalid Parameters (0x0d) Test condition complete, 0 left
Set discoverable on - Invalid parameters 2 - test passed Set discoverable on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Invalid parameters 2 - teardown complete Set discoverable on - Invalid parameters 2 - done
Set discoverable on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Invalid parameters 3 - setup Set discoverable on - Invalid parameters 3 - setup complete Set discoverable on - Invalid parameters 3 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Invalid Parameters (0x0d) Test condition complete, 0 left
Set discoverable on - Invalid parameters 3 - test passed Set discoverable on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Invalid parameters 3 - teardown complete Set discoverable on - Invalid parameters 3 - done
Set discoverable on - Invalid parameters 4 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Invalid parameters 4 - setup Set discoverable on - Invalid parameters 4 - setup complete Set discoverable on - Invalid parameters 4 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Invalid Parameters (0x0d) Test condition complete, 0 left
Set discoverable on - Invalid parameters 4 - test passed Set discoverable on - Invalid parameters 4 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Invalid parameters 4 - teardown complete Set discoverable on - Invalid parameters 4 - done
Set discoverable on - Not powered 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Not powered 1 - setup Set discoverable on - Not powered 1 - setup complete Set discoverable on - Not powered 1 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Not Powered (0x0f) Test condition complete, 0 left
Set discoverable on - Not powered 1 - test passed Set discoverable on - Not powered 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Not powered 1 - teardown complete Set discoverable on - Not powered 1 - done
Set discoverable on - Not powered 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Not powered 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set discoverable on - Not powered 2 - setup complete Set discoverable on - Not powered 2 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Not Powered (0x0f) Test condition complete, 0 left
Set discoverable on - Not powered 2 - test passed Set discoverable on - Not powered 2 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Not powered 2 - teardown complete Set discoverable on - Not powered 2 - done
Set discoverable on - Rejected 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Rejected 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on - Rejected 1 - setup complete
Set discoverable on - Rejected 1 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Rejected (0x0b)
Test condition complete, 0 left
Set discoverable on - Rejected 1 - test passed
Set discoverable on - Rejected 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Rejected 1 - teardown complete Set discoverable on - Rejected 1 - done
Set discoverable on - Rejected 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Rejected 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on - Rejected 2 - setup complete
Set discoverable on - Rejected 2 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Rejected (0x0b)
Test condition complete, 0 left
Set discoverable on - Rejected 2 - test passed
Set discoverable on - Rejected 2 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Rejected 2 - teardown complete Set discoverable on - Rejected 2 - done
Set discoverable on - Rejected 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Rejected 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on - Rejected 3 - setup complete
Set discoverable on - Rejected 3 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Rejected (0x0b)
Test condition complete, 0 left
Set discoverable on - Rejected 3 - test passed
Set discoverable on - Rejected 3 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Rejected 3 - teardown complete Set discoverable on - Rejected 3 - done
Set discoverable on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on - Success 1 - setup complete
Set discoverable on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
Set Discoverable (0x0006): Success (0x00)
Test condition complete, 1 left
New settings 0x0000008a received
Unregistering new settings notification
Test condition complete, 0 left
Set discoverable on - Success 1 - test passed
Set discoverable on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on - Success 1 - teardown complete Set discoverable on - Success 1 - done
Set discoverable on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on - Success 2 - setup complete
Set discoverable on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Discoverable (0x0006)
Test condition added, total 3
HCI Command 0x0c3a length 4
HCI Command 0x0c1a length 1
Test condition complete, 2 left
Set Discoverable (0x0006): Success (0x00)
Test condition complete, 1 left
New settings 0x0000008b received
Unregistering new settings notification
Test condition complete, 0 left
Set discoverable on - Success 2 - test passed
Set discoverable on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set discoverable on - Success 2 - teardown complete Set discoverable on - Success 2 - done
Set discoverable on (LE) - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set discoverable on (LE) - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable on (LE) - Success 1 - setup complete Set discoverable on (LE) - Success 1 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x2008 length 32
Test condition complete, 1 left
Set Discoverable (0x0006): Success (0x00) Test condition complete, 0 left
Set discoverable on (LE) - Success 1 - test passed Set discoverable on (LE) - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable on (LE) - Success 1 - teardown complete Set discoverable on (LE) - Success 1 - done
Set discoverable off - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable off - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable off - Success 1 - setup complete
Set discoverable off - Success 1 - run
Sending Set Discoverable (0x0006)
Test condition added, total 1
Set Discoverable (0x0006): Success (0x00)
Test condition complete, 0 left
Set discoverable off - Success 1 - test passed
Set discoverable off - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set discoverable off - Success 1 - teardown complete Set discoverable off - Success 1 - done
Set discoverable off - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set discoverable off - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set discoverable off - Success 2 - setup complete
Set discoverable off - Success 2 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x0c1a length 1
Test condition complete, 1 left
Set Discoverable (0x0006): Success (0x00)
Test condition complete, 0 left
Set discoverable off - Success 2 - test passed
Set discoverable off - Success 2 - teardown
Index Removed callback
Index: 0x0000
Set discoverable off - Success 2 - teardown complete Set discoverable off - Success 2 - done
Set limited discoverable on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set limited discoverable on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set limited discoverable on - Success 1 - setup complete Set limited discoverable on - Success 1 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x0c3a length 4
HCI Command 0x0c1a length 1
Test condition complete, 1 left
HCI Command 0x0c24 length 3
Set Discoverable (0x0006): Success (0x00) Test condition complete, 0 left
Set limited discoverable on - Success 1 - test passed Set limited discoverable on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set limited discoverable on - Success 1 - teardown complete Set limited discoverable on - Success 1 - done
Set limited discoverable on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set limited discoverable on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set limited discoverable on - Success 2 - setup complete Set limited discoverable on - Success 2 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x0c3a length 4
Test condition complete, 1 left
HCI Command 0x0c1a length 1
HCI Command 0x0c24 length 3
Set Discoverable (0x0006): Success (0x00) Test condition complete, 0 left
Set limited discoverable on - Success 2 - test passed Set limited discoverable on - Success 2 - teardown
Index Removed callback
Index: 0x0000
Set limited discoverable on - Success 2 - teardown complete Set limited discoverable on - Success 2 - done
Set limited discoverable on - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set limited discoverable on - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set limited discoverable on - Success 3 - setup complete Set limited discoverable on - Success 3 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x0c3a length 4
HCI Command 0x0c1a length 1
HCI Command 0x0c24 length 3
Test condition complete, 1 left
Set Discoverable (0x0006): Success (0x00) Test condition complete, 0 left
Set limited discoverable on - Success 3 - test passed Set limited discoverable on - Success 3 - teardown
Index Removed callback
Index: 0x0000
Set limited discoverable on - Success 3 - teardown complete Set limited discoverable on - Success 3 - done
Set limited discoverable on (LE) - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001be1b
Current settings: 0x00000200
Class: 0x000000
Name:
Short name: Set limited discoverable on (LE) - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set limited discoverable on (LE) - Success 1 - setup complete Set limited discoverable on (LE) - Success 1 - run
Registering HCI command callback
Test condition added, total 1
Sending Set Discoverable (0x0006)
Test condition added, total 2
HCI Command 0x2008 length 32
Test condition complete, 1 left
Set Discoverable (0x0006): Success (0x00)
Test condition complete, 0 left
Set limited discoverable on (LE) - Success 1 - test passed Set limited discoverable on (LE) - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set limited discoverable on (LE) - Success 1 - teardown complete Set limited discoverable on (LE) - Success 1 - done
Set link security on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Success 1 - setup
Set link security on - Success 1 - setup complete
Set link security on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Link Security (0x000a)
Test condition added, total 2
Set Link Security (0x000a): Success (0x00)
Test condition complete, 1 left
New settings 0x000000a0 received
Unregistering new settings notification
Test condition complete, 0 left
Set link security on - Success 1 - test passed
Set link security on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set link security on - Success 1 - teardown complete Set link security on - Success 1 - done
Set link security on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set link security on - Success 2 - setup complete
Set link security on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Link Security (0x000a)
Test condition added, total 3
HCI Command 0x0c20 length 1
Test condition complete, 2 left
Set Link Security (0x000a): Success (0x00)
Test condition complete, 1 left
New settings 0x000000a1 received
Unregistering new settings notification
Test condition complete, 0 left
Set link security on - Success 2 - test passed
Set link security on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set link security on - Success 2 - teardown complete Set link security on - Success 2 - done
Set link security on - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set link security on - Success 3 - setup complete
Set link security on - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Powered (0x0005)
Test condition added, total 3
HCI Command 0x0c20 length 1
Test condition complete, 2 left
HCI Command 0x0c13 length 248
Set Powered (0x0005): Success (0x00)
Test condition complete, 1 left
New settings 0x000000a1 received
Unregistering new settings notification
Test condition complete, 0 left
Set link security on - Success 3 - test passed
Set link security on - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set link security on - Success 3 - teardown complete Set link security on - Success 3 - done
Set link security on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Invalid parameters 1 - setup Set link security on - Invalid parameters 1 - setup complete Set link security on - Invalid parameters 1 - run
Sending Set Link Security (0x000a)
Test condition added, total 1
Set Link Security (0x000a): Invalid Parameters (0x0d) Test condition complete, 0 left
Set link security on - Invalid parameters 1 - test passed Set link security on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set link security on - Invalid parameters 1 - teardown complete Set link security on - Invalid parameters 1 - done
Set link security on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Invalid parameters 2 - setup Set link security on - Invalid parameters 2 - setup complete Set link security on - Invalid parameters 2 - run
Sending Set Link Security (0x000a)
Test condition added, total 1
Set Link Security (0x000a): Invalid Parameters (0x0d) Test condition complete, 0 left
Set link security on - Invalid parameters 2 - test passed Set link security on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set link security on - Invalid parameters 2 - teardown complete Set link security on - Invalid parameters 2 - done
Set link security on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Invalid parameters 3 - setup Set link security on - Invalid parameters 3 - setup complete Set link security on - Invalid parameters 3 - run
Sending Set Link Security (0x000a)
Test condition added, total 1
Set Link Security (0x000a): Invalid Parameters (0x0d) Test condition complete, 0 left
Set link security on - Invalid parameters 3 - test passed Set link security on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set link security on - Invalid parameters 3 - teardown complete Set link security on - Invalid parameters 3 - done
Set link security on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security on - Invalid index - setup Set link security on - Invalid index - setup complete Set link security on - Invalid index - run
Sending Set Link Security (0x000a)
Test condition added, total 1
Set Link Security (0x000a): Invalid Index (0x11) Test condition complete, 0 left
Set link security on - Invalid index - test passed Set link security on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set link security on - Invalid index - teardown complete Set link security on - Invalid index - done
Set link security off - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security off - Success 1 - setup
Initial settings completed
Test setup condition added, total 1 Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set link security off - Success 1 - setup complete Set link security off - Success 1 - run
Registering new settings notification Test condition added, total 1
Sending Set Link Security (0x000a)
Test condition added, total 2
Set Link Security (0x000a): Success (0x00) Test condition complete, 1 left
New settings 0x00000080 received Unregistering new settings notification Test condition complete, 0 left
Set link security off - Success 1 - test passed Set link security off - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set link security off - Success 1 - teardown complete Set link security off - Success 1 - done
Set link security off - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set link security off - Success 2 - setup
Initial settings completed
Test setup condition added, total 1 Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set link security off - Success 2 - setup complete Set link security off - Success 2 - run
Registering new settings notification Test condition added, total 1 Registering HCI command callback
Test condition added, total 2
Sending Set Link Security (0x000a)
Test condition added, total 3
HCI Command 0x0c20 length 1
Test condition complete, 2 left
Set Link Security (0x000a): Success (0x00) Test condition complete, 1 left
New settings 0x00000081 received Unregistering new settings notification Test condition complete, 0 left
Set link security off - Success 2 - test passed Set link security off - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set link security off - Success 2 - teardown complete Set link security off - Success 2 - done
Set SSP on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Success 1 - setup
Set SSP on - Success 1 - setup complete
Set SSP on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Secure Simple Pairing (0x000b) Test condition added, total 2
Set Secure Simple Pairing (0x000b): Success (0x00) Test condition complete, 1 left
New settings 0x000000c0 received Unregistering new settings notification Test condition complete, 0 left
Set SSP on - Success 1 - test passed
Set SSP on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set SSP on - Success 1 - teardown complete
Set SSP on - Success 1 - done
Set SSP on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00) Test setup condition complete, 0 left
Set SSP on - Success 2 - setup complete
Set SSP on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Secure Simple Pairing (0x000b) Test condition added, total 3
HCI Command 0x0c56 length 1
Test condition complete, 2 left
Set Secure Simple Pairing (0x000b): Success (0x00) Test condition complete, 1 left
New settings 0x000000c1 received Unregistering new settings notification Test condition complete, 0 left
Set SSP on - Success 2 - test passed
HCI Command 0x0c52 length 241
Set SSP on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set SSP on - Success 2 - teardown complete
Set SSP on - Success 2 - done
Set SSP on - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set SSP on - Success 3 - setup complete
Set SSP on - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Powered (0x0005)
Test condition added, total 3
HCI Command 0x0c56 length 1
Test condition complete, 2 left
HCI Command 0x0c13 length 248
HCI Command 0x0c52 length 241
Set Powered (0x0005): Success (0x00)
Test condition complete, 1 left
New settings 0x000000c1 received
Unregistering new settings notification
Test condition complete, 0 left
Set SSP on - Success 3 - test passed
Set SSP on - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set SSP on - Success 3 - teardown complete
Set SSP on - Success 3 - done
Set SSP on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Invalid parameters 1 - setup
Set SSP on - Invalid parameters 1 - setup complete Set SSP on - Invalid parameters 1 - run
Sending Set Secure Simple Pairing (0x000b)
Test condition added, total 1
Set Secure Simple Pairing (0x000b): Invalid Parameters (0x0d) Test condition complete, 0 left
Set SSP on - Invalid parameters 1 - test passed
Set SSP on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set SSP on - Invalid parameters 1 - teardown complete Set SSP on - Invalid parameters 1 - done
Set SSP on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Invalid parameters 2 - setup
Set SSP on - Invalid parameters 2 - setup complete Set SSP on - Invalid parameters 2 - run
Sending Set Secure Simple Pairing (0x000b)
Test condition added, total 1
Set Secure Simple Pairing (0x000b): Invalid Parameters (0x0d) Test condition complete, 0 left
Set SSP on - Invalid parameters 2 - test passed
Set SSP on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set SSP on - Invalid parameters 2 - teardown complete Set SSP on - Invalid parameters 2 - done
Set SSP on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Invalid parameters 3 - setup
Set SSP on - Invalid parameters 3 - setup complete Set SSP on - Invalid parameters 3 - run
Sending Set Secure Simple Pairing (0x000b)
Test condition added, total 1
Set Secure Simple Pairing (0x000b): Invalid Parameters (0x0d) Test condition complete, 0 left
Set SSP on - Invalid parameters 3 - test passed
Set SSP on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set SSP on - Invalid parameters 3 - teardown complete Set SSP on - Invalid parameters 3 - done
Set SSP on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set SSP on - Invalid index - setup
Set SSP on - Invalid index - setup complete
Set SSP on - Invalid index - run
Sending Set Secure Simple Pairing (0x000b)
Test condition added, total 1
Set Secure Simple Pairing (0x000b): Invalid Index (0x11) Test condition complete, 0 left
Set SSP on - Invalid index - test passed
Set SSP on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set SSP on - Invalid index - teardown complete
Set SSP on - Invalid index - done
Set Secure Connections on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Success 1 - setup complete Set Secure Connections on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Secure Connections (0x002d) Test condition added, total 2
Set Secure Connections (0x002d): Success (0x00) Test condition complete, 1 left
New settings 0x000008c0 received Unregistering new settings notification Test condition complete, 0 left
Set Secure Connections on - Success 1 - test passed Set Secure Connections on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Success 1 - teardown complete Set Secure Connections on - Success 1 - done
Set Secure Connections on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Success 2 - setup complete Set Secure Connections on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Secure Connections (0x002d) Test condition added, total 3
HCI Command 0x0c7a length 1
Test condition complete, 2 left
Set Secure Connections (0x002d): Success (0x00) Test condition complete, 1 left
New settings 0x000008c1 received Unregistering new settings notification Test condition complete, 0 left
Set Secure Connections on - Success 2 - test passed Set Secure Connections on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set Secure Connections on - Success 2 - teardown complete Set Secure Connections on - Success 2 - done
Set Secure Connections on - Invalid params 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Invalid params 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Invalid params 1 - setup complete Set Secure Connections on - Invalid params 1 - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Secure Connections on - Invalid params 1 - test passed Set Secure Connections on - Invalid params 1 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Invalid params 1 - teardown complete Set Secure Connections on - Invalid params 1 - done
Set Secure Connections on - Invalid params 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Invalid params 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Invalid params 2 - setup complete Set Secure Connections on - Invalid params 2 - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Secure Connections on - Invalid params 2 - test passed Set Secure Connections on - Invalid params 2 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Invalid params 2 - teardown complete Set Secure Connections on - Invalid params 2 - done
Set Secure Connections on - Invalid params 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Invalid params 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Invalid params 3 - setup complete Set Secure Connections on - Invalid params 3 - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Secure Connections on - Invalid params 3 - test passed Set Secure Connections on - Invalid params 3 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Invalid params 3 - teardown complete Set Secure Connections on - Invalid params 3 - done
Set Secure Connections on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Invalid index - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Invalid index - setup complete Set Secure Connections on - Invalid index - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Invalid Index (0x11) Test condition complete, 0 left
Set Secure Connections on - Invalid index - test passed Set Secure Connections on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Invalid index - teardown complete Set Secure Connections on - Invalid index - done
Set Secure Connections on - Not supported 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Not supported 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Not supported 1 - setup complete Set Secure Connections on - Not supported 1 - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Not Supported (0x0c) Test condition complete, 0 left
Set Secure Connections on - Not supported 1 - test passed Set Secure Connections on - Not supported 1 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Not supported 1 - teardown complete Set Secure Connections on - Not supported 1 - done
Set Secure Connections on - Not supported 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Bluetooth: hci0: Failed to read codec capabilities (-56)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x05
Manufacturer: 0x003f
Supported settings: 0x000110ff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections on - Not supported 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections on - Not supported 2 - setup complete Set Secure Connections on - Not supported 2 - run
Sending Set Secure Connections (0x002d)
Test condition added, total 1
Set Secure Connections (0x002d): Not Supported (0x0c) Test condition complete, 0 left
Set Secure Connections on - Not supported 2 - test passed Set Secure Connections on - Not supported 2 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections on - Not supported 2 - teardown complete Set Secure Connections on - Not supported 2 - done
Set Secure Connections Only on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections Only on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections Only on - Success 1 - setup complete Set Secure Connections Only on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Secure Connections (0x002d)
Test condition added, total 2
Set Secure Connections (0x002d): Success (0x00) Test condition complete, 1 left
New settings 0x000008c0 received
Unregistering new settings notification
Test condition complete, 0 left
Set Secure Connections Only on - Success 1 - test passed Set Secure Connections Only on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set Secure Connections Only on - Success 1 - teardown complete Set Secure Connections Only on - Success 1 - done
Set Secure Connections Only on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Secure Connections Only on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Secure Connections Only on - Success 2 - setup complete Set Secure Connections Only on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Secure Connections (0x002d)
Test condition added, total 3
HCI Command 0x0c7a length 1
Test condition complete, 2 left
Set Secure Connections (0x002d): Success (0x00) Test condition complete, 1 left
New settings 0x000008c1 received
Unregistering new settings notification
Test condition complete, 0 left
Set Secure Connections Only on - Success 2 - test passed Set Secure Connections Only on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set Secure Connections Only on - Success 2 - teardown complete Set Secure Connections Only on - Success 2 - done
Set High Speed on - Success - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Expected bit 8 not supported
Expected supported settings: 0x0001beff != 0x0001bfff
Set High Speed on - Success - pre setup failed
Index Removed callback
Index: 0x0000
Set High Speed on - Success - done
Set High Speed on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Expected bit 8 not supported
Expected supported settings: 0x0001beff != 0x0001bfff
Set High Speed on - Invalid parameters 1 - pre setup failed
Index Removed callback
Index: 0x0000
Set High Speed on - Invalid parameters 1 - done
Set High Speed on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Expected bit 8 not supported
Expected supported settings: 0x0001beff != 0x0001bfff
Set High Speed on - Invalid parameters 2 - pre setup failed
Index Removed callback
Index: 0x0000
Set High Speed on - Invalid parameters 2 - done
Set High Speed on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Expected bit 8 not supported
Expected supported settings: 0x0001beff != 0x0001bfff
Set High Speed on - Invalid parameters 3 - pre setup failed
Index Removed callback
Index: 0x0000
Set High Speed on - Invalid parameters 3 - done
Set High Speed on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Expected bit 8 not supported
Expected supported settings: 0x0001beff != 0x0001bfff
Set High Speed on - Invalid index - pre setup failed
Index Removed callback
Index: 0x0000
Set High Speed on - Invalid index - done
Set Low Energy on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Success 1 - setup
Set Low Energy on - Success 1 - setup complete
Set Low Energy on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Low Energy (0x000d)
Test condition added, total 2
Set Low Energy (0x000d): Success (0x00)
Test condition complete, 1 left
New settings 0x00000280 received
Unregistering new settings notification
Test condition complete, 0 left
Set Low Energy on - Success 1 - test passed
Set Low Energy on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set Low Energy on - Success 1 - teardown complete
Set Low Energy on - Success 1 - done
Set Low Energy on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Success 2 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Low Energy on - Success 2 - setup complete
Set Low Energy on - Success 2 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Low Energy (0x000d)
Test condition added, total 3
HCI Command 0x0c6d length 2
Test condition complete, 2 left
Set Low Energy (0x000d): Success (0x00)
Test condition complete, 1 left
New settings 0x00000281 received
Unregistering new settings notification
Test condition complete, 0 left
Set Low Energy on - Success 2 - test passed
HCI Command 0x2008 length 32
Set Low Energy on - Success 2 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set Low Energy on - Success 2 - teardown complete
Set Low Energy on - Success 2 - done
Set Low Energy on - Success 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Success 3 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Low Energy on - Success 3 - setup complete
Set Low Energy on - Success 3 - run
Registering new settings notification
Test condition added, total 1
Registering HCI command callback
Test condition added, total 2
Sending Set Powered (0x0005)
Test condition added, total 3
HCI Command 0x0c6d length 2
Test condition complete, 2 left
HCI Command 0x2008 length 32
HCI Command 0x0c13 length 248
Set Powered (0x0005): Success (0x00)
Test condition complete, 1 left
New settings 0x00000281 received
Unregistering new settings notification
Test condition complete, 0 left
Set Low Energy on - Success 3 - test passed
Set Low Energy on - Success 3 - teardown
New settings event received
Index Removed callback
Index: 0x0000
Set Low Energy on - Success 3 - teardown complete
Set Low Energy on - Success 3 - done
Set Low Energy on - Invalid parameters 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Invalid parameters 1 - setup Set Low Energy on - Invalid parameters 1 - setup complete Set Low Energy on - Invalid parameters 1 - run
Sending Set Low Energy (0x000d)
Test condition added, total 1
Set Low Energy (0x000d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Low Energy on - Invalid parameters 1 - test passed Set Low Energy on - Invalid parameters 1 - teardown
Index Removed callback
Index: 0x0000
Set Low Energy on - Invalid parameters 1 - teardown complete Set Low Energy on - Invalid parameters 1 - done
Set Low Energy on - Invalid parameters 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Invalid parameters 2 - setup Set Low Energy on - Invalid parameters 2 - setup complete Set Low Energy on - Invalid parameters 2 - run
Sending Set Low Energy (0x000d)
Test condition added, total 1
Set Low Energy (0x000d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Low Energy on - Invalid parameters 2 - test passed Set Low Energy on - Invalid parameters 2 - teardown
Index Removed callback
Index: 0x0000
Set Low Energy on - Invalid parameters 2 - teardown complete Set Low Energy on - Invalid parameters 2 - done
Set Low Energy on - Invalid parameters 3 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Invalid parameters 3 - setup Set Low Energy on - Invalid parameters 3 - setup complete Set Low Energy on - Invalid parameters 3 - run
Sending Set Low Energy (0x000d)
Test condition added, total 1
Set Low Energy (0x000d): Invalid Parameters (0x0d) Test condition complete, 0 left
Set Low Energy on - Invalid parameters 3 - test passed Set Low Energy on - Invalid parameters 3 - teardown
Index Removed callback
Index: 0x0000
Set Low Energy on - Invalid parameters 3 - teardown complete Set Low Energy on - Invalid parameters 3 - done
Set Low Energy on - Invalid index - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Low Energy on - Invalid index - setup Set Low Energy on - Invalid index - setup complete Set Low Energy on - Invalid index - run
Sending Set Low Energy (0x000d)
Test condition added, total 1
Set Low Energy (0x000d): Invalid Index (0x11) Test condition complete, 0 left
Set Low Energy on - Invalid index - test passed Set Low Energy on - Invalid index - teardown
Index Removed callback
Index: 0x0000
Set Low Energy on - Invalid index - teardown complete Set Low Energy on - Invalid index - done
Set Advertising on - Success 1 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: Set Advertising on - Success 1 - setup
Initial settings completed
Test setup condition added, total 1
Client set connectable: Success (0x00)
Test setup condition complete, 0 left
Set Advertising on - Success 1 - setup complete
Set Advertising on - Success 1 - run
Registering new settings notification
Test condition added, total 1
Sending Set Advertising (0x0029)
Test condition added, total 2
Set Advertising (0x0029): Success (0x00)
Test condition complete, 1 left
New settings 0x00000680 received
Unregistering new settings notification
Test condition complete, 0 left
Set Advertising on - Success 1 - test passed
Set Advertising on - Success 1 - teardown
Index Removed callback
Index: 0x0000
Set Advertising on - Success 1 - teardown complete Set Advertising on - Success 1 - done
Set Advertising on - Success 2 - init
Read Version callback
Status: Success (0x00)
Version 1.20
Read Commands callback
Status: Success (0x00)
Read Index List callback
Status: Success (0x00)
Index Added callback
Index: 0x0000
Read Info callback
Status: Success (0x00)
Address: 00:AA:01:00:00:00
Version: 0x09
Manufacturer: 0x003f
Supported settings: 0x0001beff
Current settings: 0x00000080
Class: 0x000000
Name:
Short name: 15,238 lines not shown · raw message
Part of this message is not shown here. View the raw message.
kernel test robot
build botThank you for the patch! Perhaps something to improve:
Hi Kiran,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on bluetooth-next/master]
[also build test WARNING on bluetooth/master v5.13-rc5 next-20210608] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Kiran-K/Bluetooth-enumerate-local-supported-codec-and-cache-details/20210608-202239 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master config: mips-randconfig-s032-20210608 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/38ec55e0fc2fabf67d0b5f151700afae12db44f7
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kiran-K/Bluetooth-enumerate-local-supported-codec-and-cache-details/20210608-202239 git checkout 38ec55e0fc2fabf67d0b5f151700afae12db44f7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
sparse warnings: (new ones prefixed by >>)
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined builtin:0:0: sparse: this was the original definition net/bluetooth/hci_core.c: note: in included file:
include/net/bluetooth/hci_core.h:142:35: sparse: sparse: array of flexible structures
>> net/bluetooth/hci_core.c:920:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] cid @@ got unsigned short [usertype] @@ net/bluetooth/hci_core.c:920:28: sparse: expected restricted __le16 [usertype] cid net/bluetooth/hci_core.c:920:28: sparse: got unsigned short [usertype] >> net/bluetooth/hci_core.c:921:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] vid @@ got unsigned short [usertype] @@
net/bluetooth/hci_core.c:921:28: sparse: expected restricted __le16 [usertype] vid
net/bluetooth/hci_core.c:921:28: sparse: got unsigned short [usertype]
vim +920 net/bluetooth/hci_core.c
905
906 static int hci_codec_list_add(struct list_head *list,
907 struct hci_op_read_local_codec_caps *sent,
908 struct hci_rp_read_local_codec_caps *rp,
909 void *caps,
910 __u32 len)
911 {
912 struct codec_list *entry;
913
914 entry = kzalloc(sizeof(*entry) + len, GFP_KERNEL);
915 if (!entry)
916 return -ENOMEM;
917
918 entry->id = sent->id;
919 if (sent->id == 0xFF) {
> 920 entry->cid = __le16_to_cpu(sent->cid);
> 921 entry->vid = __le16_to_cpu(sent->vid); 922 }
923 entry->transport = sent->transport;
924 entry->len = len;
925 entry->num_caps = rp->num_caps;
926 if (rp->num_caps)
927 memcpy(entry->caps, caps, len);
928 list_add(&entry->list, list);
929
930 return 0;
931 }
932
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
Marcel Holtmann
maintainerHi Kiran,
Quoted 7 lines
Move reading of supported local codecs into a separate init function, query codecs capabilities and cache the data
Signed-off-by Kiran K <[email protected]>Signed-off-by Chethan T N <[email protected]>Signed-off-by Srivatsa Ravishankar <[email protected]>Reported-by kernel test robot <[email protected]>
what is Reported-by? This makes no sense since this is original code.
Regards
Marcel
Hi Marcel,
Quoted 6 lines
Hi Kiran,
Quoted 3 lines
Move reading of supported local codecs into a separate init function, query codecs capabilities and cache the data
Quoted 6 lines
Quoted 4 lines
Signed-off-by Kiran K <[email protected]>Signed-off-by Chethan T N <[email protected]>Signed-off-by Srivatsa Ravishankar <[email protected]>Reported-by kernel test robot <[email protected]>what is Reported-by? This makes no sense since this is original code.
Got a compiler warning in one of the patchset. Hence added "Reported-by". Ok to remove this in the next patchset.
Quoted 4 lines
Regards
Marcel
Regards,
Kiran
Marcel Holtmann
maintainerHi Kiran,
Quoted 11 lines
Quoted 9 lines
Quoted 7 lines
Move reading of supported local codecs into a separate init function, query codecs capabilities and cache the data
Signed-off-by Kiran K <[email protected]>Signed-off-by Chethan T N <[email protected]>Signed-off-by Srivatsa Ravishankar <[email protected]>Reported-by kernel test robot <[email protected]>what is Reported-by? This makes no sense since this is original code.
Got a compiler warning in one of the patchset. Hence added "Reported-by". Ok to remove this in the next patchset.
yes since they have not been yet upstream.
Regards
Marcel