LE_Create_Connection failed with Own_Address_Type = 0x3 (3, "RPA or Random Address")

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
tado_4837711
Level 1
Level 1
25 sign-ins 10 sign-ins 5 replies posted

Hi Community:

We are now use CYBT_343026_EVAL (WICED-SDK Version: Wiced_006.004.000.0061) working as a Dual-mode Bluetooth controller with LL Privacy enabled.

When doing the LE_Create_Connection with Own_Address_Type = 0x3(3, "RPA or Random Address") , the controller always HCI Command Complete Event with Status = 0xC (12, "Command Disallowed", "Command Disallowed"). 

Below is the HCI log:

tado_4837711_0-1631674632355.png

We also did a simple test with Cybluetool :

09/14/21 13:01:07.460 com3@115200 c> Reset
HCI Command
com3@115200
[03 0C 00 ]
opcode = 0x0C03 (3075, "Reset")


09/14/21 13:01:07.467 com3 <c Reset
HCI Command Complete Event
com3@115200
[0E 04 ]: 01 03 0C 00
event = 0x0E (14,"Command Complete")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0xC03 (3075, "Reset")
Status = 0x0 (0, "Success", "Success")


09/14/21 13:01:39.941 com3@115200 c> LE_Read_Local_Supported_Features
HCI Command
com3@115200
[03 20 00 ]
opcode = 0x2003 (8195, "LE_Read_Local_Supported_Features")


09/14/21 13:01:39.946 com3 <c LE_Read_Local_Supported_Features
HCI Command Complete Event
com3@115200
[0E 0C ]: 01 03 20 00 FF 00 00 08 00 00 00 00
event = 0x0E (14,"Command Complete")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0x2003 (8195, "LE_Read_Local_Supported_Features")
Status = 0x0 (0, "Success", "Success")
LE_Features = "FF 00 00 08 00 00 00 00"


09/14/21 13:02:07.445 com3@115200 c> LE_Create_Connection
HCI Command
com3@115200
[0D 20 19 ]: 64 00 32 00 00 00 11 11 11 11 11 11 03 02 00 02 00 00 00 0A 00 00 00 00 00
opcode = 0x200D (8205, "LE_Create_Connection")
LE_Scan_Interval = 0x64 (100, in slots. Range: 2.5ms to 10.25s)
LE_Scan_Window = 0x32 (50, in slots. Range: 2.5ms to 10.25s)
InitiatorFilterPolicy = 0x0 (0, "White List not used and the Peer address in this command is used")
Peer_Address_Type = 0x0 (0, "Public Address")
Peer_Address = "111111111111"
Own_Address_Type = 0x3 (3, "RPA or Random Address")
Conn_Interval_Min = 0x02 (2)
Conn_Interval_Max = 0x02 (2)
Conn_Latency = 0x00 (0)
Supervision_Timeout = 0x0A (10)
Minimum_CE_Len = 0x00 (0, in slots. Range:1 to 2*Conn_Interval)
Maximum_CE_Len = 0x00 (0, in slots. Range:1 to 2*Conn_Interval)


09/14/21 13:02:07.451 com3 <e Command Status
HCI Event
com3@115200
[0F 04 ]: 0C 01 0D 20
event = 0x0F (15,"Command Status")
Status = 0xC (12, "Command Disallowed", "Command Disallowed")

Please support us do a kind check  on this issue?

 

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

As per the spec, the controller shall return "Command Disallowed (0x0C)" error code If the Host issues HCI_LE_Create_Connection command when another HCI_LE_Create_Connection command is pending in the Controller.  Please confirm it is not so in your testing.

I could also reproduce similar issue. We will check this with our firmware team. 

 

Could you please let us know the scenario where you uses Own_Address_Type = 0x3 (3, "RPA or Random Address")?

 

Thanks,

-Dheeraj.P.K

View solution in original post

0 Likes
6 Replies