Hi Clément,
Host_test running on device well, the code compiled under SDK 7.20.00.29, while tried to follow above guidance to set my device to advertise, problem happened, GAP_DeviceInit failed to get correct response, the Rx as below [4]:
[3] : <Tx> - 09:07:11.620
-Type : 0x01 (Command)
-OpCode : 0xFE00 (GAP_DeviceInit)
-Data Length : 0x08 (8) byte(s)
ProfileRole : 0x01 (1) (Broadcaster)
AddrMode : 0x00 (0) (ADDRMODE_PUBLIC)
RandomAddr : 00:00:00:00:00:00
Dump(Tx):
0000:01 00 FE 08 01 00 00 00 00 00 00 00 ............
--------------------------------------------------------------------
[4] : <Rx> - 09:07:11.639
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x12 (18) (Invalid xxxxxxxxxxxx)
OpCode : 0xFE00 (GAP_DeviceInit)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 12 00 FE 00 .........
Can you please help to explain what was happening and how to make the command run well. thanks
Regards /Customer.