Hi TI,
I use the FW built from “C:\ti\simplelink_lowpower_f3_sdk_7_10_00_35\examples\rtos\LP_EM_CC2340R5\ble5stack\host_test”. I can perform HCI command but cannot perform HCIExt. Attachment is test log.
[1] : <Info> - 04:02:06.157 Port opened at 2023/6/13 下午 04:02:06 -------------------------------------------------------------------- [2] : <Tx> - 04:02:06.252 -Type : 0x01 (Command) -OpCode : 0xFC1D (HCIExt_ResetSystemCmd) -Data Length : 0x01 (1) byte(s) Type : 0x00 (0) (Chip Reset) Dump(Tx): 0000:01 1D FC 01 00 ..... -------------------------------------------------------------------- [3] : <Rx> - 04:02:06.401 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x041D (1053) (HCIExt_ResetSystemCmdDone) Status : 0x00 (0) (SUCCESS) CmdOpCode : 0xFC1D (HCIExt_ResetSystemCmd) Dump(Rx): 0000:04 FF 05 1D 04 00 1D FC ........ -------------------------------------------------------------------- [4] : <Tx> - 04:02:06.949 -Type : 0x01 (Command) -OpCode : 0xFE00 (GAP_DeviceInit) -Data Length : 0x08 (8) byte(s) ProfileRole : 0x08 (8) ( Central) AddrMode : 0x00 (0) (ADDRMODE_PUBLIC) RandomAddr : 00:00:00:00:00:00 Dump(Tx): 0000:01 00 FE 08 08 00 00 00 00 00 00 00 ............ -------------------------------------------------------------------- [5] : <Rx> - 04:02:07.098 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE00 (GAP_DeviceInit) DataLength : 0x00 (0) Dump(Rx): 0000:04 FF 06 7F 06 00 00 FE 00 ......... -------------------------------------------------------------------- [6] : <Rx> - 04:02:07.118 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x2C (44) bytes(s) Event : 0x0600 (1536) (GAP_DeviceInitDone) Status : 0x00 (0) (SUCCESS) DevAddr : A4:34:F1:AE:D6:52 DataPktLen : 0x00FF (255) NumDataPkts : 0x05 (5) IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 CSRK : 8B:EE:47:C7:D8:34:21:B5:60:EB:81:B3:89:4E:09:F8 Dump(Rx): 0000:04 FF 2C 00 06 00 52 D6 AE F1 34 A4 FF 00 05 00 ..,...R...4..... 0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8B ................ 0020:EE 47 C7 D8 34 21 B5 60 EB 81 B3 89 4E 09 F8 .G..4!.`....N.. -------------------------------------------------------------------- [7] : <Tx> - 04:02:07.166 -Type : 0x01 (Command) -OpCode : 0xFE61 (GapInit_getPhyParam) -Data Length : 0x02 (2) byte(s) PHY : 0x01 (1) (INIT_PHY_1M) ParamId : 0x02 (2) (INIT_PHYPARAM_CONN_INT_MIN) Dump(Tx): 0000:01 61 FE 02 01 02 .a.... -------------------------------------------------------------------- [8] : <Tx> - 04:02:07.186 -Type : 0x01 (Command) -OpCode : 0xFE61 (GapInit_getPhyParam) -Data Length : 0x02 (2) byte(s) PHY : 0x01 (1) (INIT_PHY_1M) ParamId : 0x03 (3) (INIT_PHYPARAM_CONN_INT_MAX) Dump(Tx): 0000:01 61 FE 02 01 03 .a.... -------------------------------------------------------------------- [9] : <Tx> - 04:02:07.206 -Type : 0x01 (Command) -OpCode : 0xFE61 (GapInit_getPhyParam) -Data Length : 0x02 (2) byte(s) PHY : 0x01 (1) (INIT_PHY_1M) ParamId : 0x04 (4) (INIT_PHYPARAM_CONN_LATENCY) Dump(Tx): 0000:01 61 FE 02 01 04 .a.... -------------------------------------------------------------------- [10] : <Tx> - 04:02:07.217 -Type : 0x01 (Command) -OpCode : 0xFE61 (GapInit_getPhyParam) -Data Length : 0x02 (2) byte(s) PHY : 0x01 (1) (INIT_PHY_1M) ParamId : 0x05 (5) (INIT_PHYPARAM_SUP_TIMEOUT) Dump(Tx): 0000:01 61 FE 02 01 05 .a.... -------------------------------------------------------------------- [11] : <Rx> - 04:02:07.217 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x09 (9) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE61 (GapInit_getPhyParam) DataLength : 0x03 (3) ParamId : 0x02 (2) (INIT_PHYPARAM_CONN_INT_MIN) MinConnectInter: 0x0050 (80) Dump(Rx): 0000:04 FF 09 7F 06 00 61 FE 03 02 50 00 ......a...P. -------------------------------------------------------------------- [12] : <Rx> - 04:02:07.237 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x09 (9) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE61 (GapInit_getPhyParam) DataLength : 0x03 (3) ParamId : 0x03 (3) (INIT_PHYPARAM_CONN_INT_MAX) MaxConnectInter: 0x0050 (80) Dump(Rx): 0000:04 FF 09 7F 06 00 61 FE 03 03 50 00 ......a...P. -------------------------------------------------------------------- [13] : <Rx> - 04:02:07.257 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x09 (9) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE61 (GapInit_getPhyParam) DataLength : 0x03 (3) ParamId : 0x04 (4) (INIT_PHYPARAM_CONN_LATENCY) ConnectLatency : 0x0000 (0) Dump(Rx): 0000:04 FF 09 7F 06 00 61 FE 03 04 00 00 ......a..... -------------------------------------------------------------------- [14] : <Rx> - 04:02:07.277 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x09 (9) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE61 (GapInit_getPhyParam) DataLength : 0x03 (3) ParamId : 0x05 (5) (INIT_PHYPARAM_SUP_TIMEOUT) SuperTimeout : 0x07D0 (2000) Dump(Rx): 0000:04 FF 09 7F 06 00 61 FE 03 05 D0 07 ......a..... -------------------------------------------------------------------- [15] : <Tx> - 04:02:40.428 -Type : 0x01 (Command) -OpCode : 0xFC1D (HCIExt_ResetSystemCmd) -Data Length : 0x01 (1) byte(s) Type : 0x00 (0) (Chip Reset) Dump(Tx): 0000:01 1D FC 01 00 ..... -------------------------------------------------------------------- [16] : <Rx> - 04:02:40.448 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x041D (1053) (HCIExt_ResetSystemCmdDone) Status : 0x00 (0) (SUCCESS) CmdOpCode : 0xFC1D (HCIExt_ResetSystemCmd) Dump(Rx): 0000:04 FF 05 1D 04 00 1D FC ........ -------------------------------------------------------------------- [17] : <Tx> - 04:03:07.086 -Type : 0x01 (Command) -OpCode : 0xFE00 (GAP_DeviceInit) -Data Length : 0x08 (8) byte(s) ProfileRole : 0x08 (8) ( Central) AddrMode : 0x00 (0) (ADDRMODE_PUBLIC) RandomAddr : 00:00:00:00:00:00 Dump(Tx): 0000:01 00 FE 08 08 00 00 00 00 00 00 00 ............ -------------------------------------------------------------------- [18] : <Rx> - 04:03:07.117 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE00 (GAP_DeviceInit) DataLength : 0x00 (0) Dump(Rx): 0000:04 FF 06 7F 06 00 00 FE 00 ......... -------------------------------------------------------------------- [19] : <Rx> - 04:03:07.137 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x2C (44) bytes(s) Event : 0x0600 (1536) (GAP_DeviceInitDone) Status : 0x00 (0) (SUCCESS) DevAddr : A4:34:F1:AE:D6:52 DataPktLen : 0x00FF (255) NumDataPkts : 0x05 (5) IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 CSRK : C3:12:F0:48:2E:0D:FF:73:02:B9:B0:21:C3:84:00:34 Dump(Rx): 0000:04 FF 2C 00 06 00 52 D6 AE F1 34 A4 FF 00 05 00 ..,...R...4..... 0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C3 ................ 0020:12 F0 48 2E 0D FF 73 02 B9 B0 21 C3 84 00 34 ..H...s...!...4 -------------------------------------------------------------------- [20] : <Tx> - 04:04:25.373 -Type : 0x01 (Command) -OpCode : 0xFE61 (GapInit_getPhyParam) -Data Length : 0x02 (2) byte(s) PHY : 0x01 (1) (INIT_PHY_1M) ParamId : 0x00 (0) (INIT_PHYPARAM_SCAN_INTERVAL) Dump(Tx): 0000:01 61 FE 02 01 00 .a.... -------------------------------------------------------------------- [21] : <Rx> - 04:04:25.393 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x09 (9) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE61 (GapInit_getPhyParam) DataLength : 0x03 (3) ParamId : 0x00 (0) (INIT_PHYPARAM_SCAN_INTERVAL) ScanInterval : 0x0010 (16) Dump(Rx): 0000:04 FF 09 7F 06 00 61 FE 03 00 10 00 ......a..... -------------------------------------------------------------------- [22] : <Tx> - 04:06:38.812 -Type : 0x01 (Command) -OpCode : 0xFC01 (HCIExt_SetTxPowerCmd) -Data Length : 0x01 (1) byte(s) Tx Power : 0x09 (9) (HCI_EXT_TX_POWER_0_DBM) Dump(Tx): 0000:01 01 FC 01 09 ..... -------------------------------------------------------------------- [23] : <Tx> - 04:07:31.825 -Type : 0x01 (Command) -OpCode : 0xFC0B (HCIExt_EndModemTestCmd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 0B FC 00 .... -------------------------------------------------------------------- [24] : <Rx> - 04:07:31.855 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x040B (1035) (HCIExt_EndModemTestCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC0B (HCIExt_EndModemTestCmd) Dump(Rx): 0000:04 FF 05 0B 04 01 0B FC ........ -------------------------------------------------------------------- [25] : <Tx> - 04:08:12.376 -Type : 0x01 (Command) -OpCode : 0xFC01 (HCIExt_SetTxPowerCmd) -Data Length : 0x01 (1) byte(s) Tx Power : 0x09 (9) (HCI_EXT_TX_POWER_0_DBM) Dump(Tx): 0000:01 01 FC 01 09 ..... -------------------------------------------------------------------- [26] : <Tx> - 04:08:40.506 -Type : 0x01 (Command) -OpCode : 0xFC08 (HCIExt_ModemTestTxCmd) -Data Length : 0x02 (2) byte(s) CW Mode : 0x01 (1) (HCI_EXT_TX_UNMODULATED_CARRIER) Tx RF Channel : 0x00 (0) Dump(Tx): 0000:01 08 FC 02 01 00 ...... -------------------------------------------------------------------- [27] : <Rx> - 04:08:40.526 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x0408 (1032) (HCIExt_ModemTestTxCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC08 (HCIExt_ModemTestTxCmd) Dump(Rx): 0000:04 FF 05 08 04 01 08 FC ........ -------------------------------------------------------------------- [28] : <Tx> - 04:15:41.440 -Type : 0x01 (Command) -OpCode : 0xFC0B (HCIExt_EndModemTestCmd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 0B FC 00 .... -------------------------------------------------------------------- [29] : <Rx> - 04:15:41.470 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x040B (1035) (HCIExt_EndModemTestCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC0B (HCIExt_EndModemTestCmd) Dump(Rx): 0000:04 FF 05 0B 04 01 0B FC ........ -------------------------------------------------------------------- [30] : <Tx> - 04:17:16.288 -Type : 0x01 (Command) -OpCode : 0xFC01 (HCIExt_SetTxPowerCmd) -Data Length : 0x01 (1) byte(s) Tx Power : 0x09 (9) (HCI_EXT_TX_POWER_0_DBM) Dump(Tx): 0000:01 01 FC 01 09 ..... -------------------------------------------------------------------- [31] : <Tx> - 04:17:27.192 -Type : 0x01 (Command) -OpCode : 0xFC08 (HCIExt_ModemTestTxCmd) -Data Length : 0x02 (2) byte(s) CW Mode : 0x01 (1) (HCI_EXT_TX_UNMODULATED_CARRIER) Tx RF Channel : 0x00 (0) Dump(Tx): 0000:01 08 FC 02 01 00 ...... -------------------------------------------------------------------- [32] : <Rx> - 04:17:27.211 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x0408 (1032) (HCIExt_ModemTestTxCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC08 (HCIExt_ModemTestTxCmd) Dump(Rx): 0000:04 FF 05 08 04 01 08 FC ........ -------------------------------------------------------------------- [33] : <Tx> - 04:20:05.143 -Type : 0x01 (Command) -OpCode : 0xFC0B (HCIExt_EndModemTestCmd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 0B FC 00 .... -------------------------------------------------------------------- [34] : <Rx> - 04:20:05.168 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x040B (1035) (HCIExt_EndModemTestCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC0B (HCIExt_EndModemTestCmd) Dump(Rx): 0000:04 FF 05 0B 04 01 0B FC ........ -------------------------------------------------------------------- [35] : <Tx> - 04:20:17.561 -Type : 0x01 (Command) -OpCode : 0x201E (HCI_LE_TransmitterTest) -Data Length : 0x03 (3) byte(s) TX Channel : 0x00 (0) TestData Length: 0x00 (0) TestData : 00 Dump(Tx): 0000:01 1E 20 03 00 00 00 .. .... -------------------------------------------------------------------- [36] : <Rx> - 04:20:17.587 -Type : 0x04 (Event) -EventCode : 0x000E (HCI_CommandCompleteEvent) -Data Length : 0x04 (4) bytes(s) Packets : 0x01 (1) OpCode : 0x201E (HCI_LE_TransmitterTest) Status : 0x00 (0) (SUCCESS) Dump(Rx): 0000:04 0E 04 01 1E 20 00 ..... . -------------------------------------------------------------------- [37] : <Tx> - 04:20:36.191 -Type : 0x01 (Command) -OpCode : 0x201F (HCI_LE_TestEnd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 1F 20 00 .. . -------------------------------------------------------------------- [38] : <Rx> - 04:20:36.215 -Type : 0x04 (Event) -EventCode : 0x000E (HCI_CommandCompleteEvent) -Data Length : 0x06 (6) bytes(s) Packets : 0x01 (1) OpCode : 0x201F (HCI_LE_TestEnd) Status : 0x00 (0) (SUCCESS) NumOfPackets : 0x0000 (0) Dump(Rx): 0000:04 0E 06 01 1F 20 00 00 00 ..... ... -------------------------------------------------------------------- [39] : <Tx> - 04:20:43.278 -Type : 0x01 (Command) -OpCode : 0xFC01 (HCIExt_SetTxPowerCmd) -Data Length : 0x01 (1) byte(s) Tx Power : 0x09 (9) (HCI_EXT_TX_POWER_0_DBM) Dump(Tx): 0000:01 01 FC 01 09 ..... -------------------------------------------------------------------- [40] : <Tx> - 04:20:49.351 -Type : 0x01 (Command) -OpCode : 0xFC08 (HCIExt_ModemTestTxCmd) -Data Length : 0x02 (2) byte(s) CW Mode : 0x00 (0) (HCI_EXT_TX_MODULATED_CARRIER) Tx RF Channel : 0x00 (0) Dump(Tx): 0000:01 08 FC 02 00 00 ...... -------------------------------------------------------------------- [41] : <Rx> - 04:20:49.367 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x0408 (1032) (HCIExt_ModemTestTxCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC08 (HCIExt_ModemTestTxCmd) Dump(Rx): 0000:04 FF 05 08 04 01 08 FC ........ -------------------------------------------------------------------- [42] : <Tx> - 04:23:03.407 -Type : 0x01 (Command) -OpCode : 0xFC0B (HCIExt_EndModemTestCmd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 0B FC 00 .... -------------------------------------------------------------------- [43] : <Rx> - 04:23:03.426 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x040B (1035) (HCIExt_EndModemTestCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC0B (HCIExt_EndModemTestCmd) Dump(Rx): 0000:04 FF 05 0B 04 01 0B FC ........ -------------------------------------------------------------------- [44] : <Tx> - 04:23:10.984 -Type : 0x01 (Command) -OpCode : 0xFC14 (HCIExt_PacketErrorRateCmd) -Data Length : 0x03 (3) byte(s) ConnHandle : 0xFFFE (65534) PER Test Cmd : 0x01 (1) (Read_PER_Counters) Dump(Tx): 0000:01 14 FC 03 FE FF 01 ....... -------------------------------------------------------------------- [45] : <Rx> - 04:23:11.005 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x0414 (1044) (HCIExt_PacketErrorRateCmdDone) Status : 0x12 (18) (INVALID_HCI_CMD_PARAMS) CmdOpCode : 0xFC14 (HCIExt_PacketErrorRateCmd) PER Command : 0x01 (1) (Read_PER_Counters) Dump(Rx): 0000:04 FF 06 14 04 12 14 FC 01 ......... -------------------------------------------------------------------- [46] : <Tx> - 04:23:36.967 -Type : 0x01 (Command) -OpCode : 0xFC0B (HCIExt_EndModemTestCmd) -Data Length : 0x00 (0) byte(s) Dump(Tx): 0000:01 0B FC 00 .... -------------------------------------------------------------------- [47] : <Rx> - 04:23:36.992 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x05 (5) bytes(s) Event : 0x040B (1035) (HCIExt_EndModemTestCmdDone) Status : 0x01 (1) (UNKNOWN_HCI_CMD) CmdOpCode : 0xFC0B (HCIExt_EndModemTestCmd) Dump(Rx): 0000:04 FF 05 0B 04 01 0B FC ........ --------------------------------------------------------------------
Thanks.