This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650EM-7ID-RD: HCI Hardware error on TI CC2650

Part Number: CC2650EM-7ID-RD
Other Parts Discussed in Thread: CC2650, BLE-STACK

Hi,

I have an issue CC2650 host_test application with BLE Stack 2.2.1 that works as central device.  Below is a step-by-step actions I did:

1) Start scanning and for completion.

2) Select peripheral from list of found devices.

3) Attempt to connect with selected device.  Note that this device is already stopped to advertise (i.e. it is in non-connectable state)

4) CC2650 do not inform somehow about result of the connection attempt.

5) Start scanning again

6) CC2650 sends HCI Hardware error event with code 0x82 and does not work properly after this.

Logged HCI are here:

[Thu Mar 16 10:12:52.191 2017] HciTx: 1 4 fe 3 3 1 0
[Thu Mar 16 10:12:52.200 2017] HciRx: 4 ff 6 7f 6 0 4 fe 0
[Thu Mar 16 10:12:52.214 2017] HciRx: 4 ff 29 d 6 0 0 0 84 84 d0 84 be c4 bc 1c 2 1 5 5 2 8 18 82 fe 2 a c4 f 9 4d 65 74 65 72 20 31 32 33 34 35 36 37 38
[Thu Mar 16 10:12:52.228 2017] HciRx: 4 ff 22 d 6 0 4 0 84 84 d0 84 be c4 bc 15 f 9 4d 65 74 65 72 20 31 32 33 34 35 36 37 38 4 ff 70 1 3
[Thu Mar 16 10:12:52.293 2017] HciRx: 4 ff 2b d 6 0 0 0 88 51 d1 84 be c4 c2 1e 2 1 6 5 2 1f 18 82 fe f 9 43 47 4d 20 47 54 37 30 30 39 31 31 39 58 4 ff f9 1 80
[Thu Mar 16 10:12:52.308 2017] HciRx: 4 ff 1d d 6 0 4 0 88 51 d1 84 be c4 c2 10 f 9 43 47 4d 20 47 54 37 30 30 39 31 31 39 58
[Thu Mar 16 10:12:52.327 2017] HciRx: 4 ff 2b d 6 0 0 1 95 fa 54 65 74 67 c8 1e 2 1 6 3 2 82 fe 2 a c4 f 9 55 53 42 20 47 54 32 35 35 38 33 33 34 5a 3 ff f9 1
[Thu Mar 16 10:12:52.342 2017] HciRx: 4 ff 12 d 6 0 4 1 95 fa 54 65 74 67 c7 5 4 8 55 53 42
[Thu Mar 16 10:12:52.492 2017] HciRx: 4 ff 28 d 6 0 0 1 d7 76 f2 2 1a e8 b4 1b 2 1 6 11 7 66 9a c 20 0 8 9a 94 e3 11 7b 66 10 3e 4e 6a 5 ff 87 0 9 7f
[Thu Mar 16 10:12:52.508 2017] HciRx: 4 ff 25 d 6 0 4 1 d7 76 f2 2 1a e8 b4 18 10 9 46 6f 72 65 72 75 6e 6e 65 72 20 32 33 35 0 6 16 10 3e 0 12 0
[Thu Mar 16 10:12:52.628 2017] HciRx: 4 ff 28 d 6 0 0 1 bd e4 c1 4d 72 56 a9 1b 2 1 1a 17 ff 4c 0 c e 0 1f 93 e7 fd 74 85 38 4d 2 af 56 2 bd 10 2 b 0
[Thu Mar 16 10:12:52.869 2017] HciRx: 4 ff 18 d 6 0 0 1 28 93 9f 10 f3 49 a4 b 2 1 6 7 ff 4c 0 10 2 b 0
[Thu Mar 16 10:12:52.969 2017] HciRx: 4 ff 18 d 6 0 0 1 af d be 41 4e 5d ab b 2 1 1a 7 ff 4c 0 10 2 a 0
[Thu Mar 16 10:12:53.048 2017] HciRx: 4 ff 24 d 6 0 0 1 d6 b8 a9 b2 d2 f0 a5 17 2 1 6 3 3 e7 fe 9 ff 56 0 f0 d2 b2 a9 b8 d6 5 9 53 4d 30 37
[Thu Mar 16 10:13:03.121 2017] HciRx: 4 ff 18 d 6 0 0 0 54 53 9d 89 5c f4 a4 b 2 1 6 7 ff 4c 0 10 2 b 0
[Thu Mar 16 10:13:12.198 2017] HciRx: 4 ff 4c 1 6 0 9 0 0 84 84 d0 84 be c4 0 0 88 51 d1 84 be c4 0 1 95 fa 54 65 74 67 0 1 d7 76 f2 2 1a e8 0 1 bd e4 c1 4d 72 56 0 1 28 93 9f 10 f3 49 0 1 af d be 41 4e 5d 0 1 d6 b8 a9 b2 d2 f0 0 0 54 53 9d 89 5c f4
[Thu Mar 16 10:13:12.832 2017] HciTx: 1 9 fe 9 0 0 0 84 84 d0 84 be c4
[Thu Mar 16 10:13:12.841 2017] HciRx: 4 ff 6 7f 6 0 9 fe 0
[Thu Mar 16 10:13:48.581 2017] HciTx: 1 30 fe 3 2 e8 3
[Thu Mar 16 10:13:48.588 2017] HciRx: 4 ff 6 7f 6 0 30 fe 0
[Thu Mar 16 10:13:48.593 2017] HciTx: 1 31 fe 1 2
[Thu Mar 16 10:13:48.600 2017] HciRx: 4 ff 8 7f 6 0 31 fe 2 e8 3
[Thu Mar 16 10:13:48.613 2017] HciTx: 1 4 fe 3 3 0 0
[Thu Mar 16 10:13:48.619 2017] HciRx: 4 ff 6 7f 6 0 4 fe 0
[Thu Mar 16 10:13:48.626 2017] HciRx: 4 10 1 82
[Thu Mar 16 10:13:49.620 2017] HciRx: 4 ff 4 1 6 0 0
[Thu Mar 16 10:13:54.586 2017] HciTx: 1 4 fe 3 3 0 0
[Thu Mar 16 10:13:54.593 2017] HciRx: 4 ff 6 7f 6 0 4 fe 0
[Thu Mar 16 10:13:55.593 2017] HciRx: 4 ff 4 1 6 0 0

Could anybody explain why CC2650 behaves so and what does this error code mean&

Any help appreciated.

Sergiy.

  • Hi Sergiy,

    Could you repeat this using BTool to control your Host Test device? The logs are easier to understand.

    Did you make any modifications to Host Test?
  • Hi Rachel,

    I have changed the following preprocessor settings in the Host Test project:
    MAX_NUM_BLE_CONNS=4
    MAX_PDU_SIZE=207
    MAX_NUM_PDU=4

    I suppose they can't influence Host Test application in such manner.

    Also I have reproduced this issue with BTool. Log is below:

    [1] : <Info> - 10:26:58.913
    Port opened at 3/21/2017 10:26:58 AM
    --------------------------------------------------------------------
    [2] : <Tx> - 10:26:59.176
    -Type : 0x01 (Command)
    -OpCode : 0x0C03 (HCI_Reset)
    -Data Length : 0x00 (0) byte(s)
    Dump(Tx):
    0000:01 03 0C 00 ....
    --------------------------------------------------------------------
    [3] : <Rx> - 10:26:59.219
    -Type : 0x04 (Event)
    -EventCode : 0x000E (HCI_CommandCompleteEvent)
    -Data Length : 0x04 (4) bytes(s)
    Packets : 0x01 (1)
    OpCode : 0x0C03 (HCI_Reset)
    Status : 0x00 (0) (Success)
    Dump(Rx):
    0000:04 0E 04 01 03 0C 00 .......
    --------------------------------------------------------------------
    [4] : <Tx> - 10:26:59.231
    -Type : 0x01 (Command)
    -OpCode : 0xFE00 (GAP_DeviceInit)
    -Data Length : 0x26 (38) byte(s)
    ProfileRole : 0x08 (8) (Central)
    MaxScanRsps : 0x05 (5)
    IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    SignCounter : 0x00000001 (1)
    Dump(Tx):
    0000:01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00 ...&............
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0020:00 00 00 00 00 00 01 00 00 00 ..........
    --------------------------------------------------------------------
    [5] : <Rx> - 10:26:59.269
    -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> - 10:26:59.305
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x2C (44) bytes(s)
    Event : 0x0600 (1536) (GAP_DeviceInitDone)
    Status : 0x00 (0) (Success)
    DevAddr : C4:BE:84:D1:51:88
    DataPktLen : 0x00CF (207)
    NumDataPkts : 0x04 (4)
    IRK : 59:8B:04:27:66:4B:3C:11:1C:BA:FA:F4:93:E1:69:B3
    CSRK : DF:29:26:85:3C:58:E4:75:2D:FE:07:FC:9C:0E:59:F4
    Dump(Rx):
    0000:04 FF 2C 00 06 00 88 51 D1 84 BE C4 CF 00 04 59 ..,....Q.......Y
    0010:8B 04 27 66 4B 3C 11 1C BA FA F4 93 E1 69 B3 DF ..'fK<.......i..
    0020:29 26 85 3C 58 E4 75 2D FE 07 FC 9C 0E 59 F4 )&.<X.u-.....Y.
    --------------------------------------------------------------------
    [7] : <Tx> - 10:26:59.410
    -Type : 0x01 (Command)
    -OpCode : 0xFE31 (GAP_GetParam)
    -Data Length : 0x01 (1) byte(s)
    ParamID : 0x15 (21) (TGAP_CONN_EST_INT_MIN)
    Dump(Tx):
    0000:01 31 FE 01 15 .1...
    --------------------------------------------------------------------
    [8] : <Tx> - 10:26:59.420
    -Type : 0x01 (Command)
    -OpCode : 0xFE31 (GAP_GetParam)
    -Data Length : 0x01 (1) byte(s)
    ParamID : 0x16 (22) (TGAP_CONN_EST_INT_MAX)
    Dump(Tx):
    0000:01 31 FE 01 16 .1...
    --------------------------------------------------------------------
    [9] : <Tx> - 10:26:59.430
    -Type : 0x01 (Command)
    -OpCode : 0xFE31 (GAP_GetParam)
    -Data Length : 0x01 (1) byte(s)
    ParamID : 0x1A (26) (TGAP_CONN_EST_LATENCY)
    Dump(Tx):
    0000:01 31 FE 01 1A .1...
    --------------------------------------------------------------------
    [10] : <Tx> - 10:26:59.458
    -Type : 0x01 (Command)
    -OpCode : 0xFE31 (GAP_GetParam)
    -Data Length : 0x01 (1) byte(s)
    ParamID : 0x19 (25) (TGAP_CONN_EST_SUPERV_TIMEOUT)
    Dump(Tx):
    0000:01 31 FE 01 19 .1...
    --------------------------------------------------------------------
    [11] : <Rx> - 10:26:59.459
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x08 (8) bytes(s)
    Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
    Status : 0x00 (0) (Success)
    OpCode : 0xFE31 (GAP_GetParam)
    DataLength : 0x02 (2)
    ParamValue : 0x0050 (80)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
    --------------------------------------------------------------------
    [12] : <Rx> - 10:26:59.491
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x08 (8) bytes(s)
    Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
    Status : 0x00 (0) (Success)
    OpCode : 0xFE31 (GAP_GetParam)
    DataLength : 0x02 (2)
    ParamValue : 0x0050 (80)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
    --------------------------------------------------------------------
    [13] : <Rx> - 10:26:59.524
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x08 (8) bytes(s)
    Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
    Status : 0x00 (0) (Success)
    OpCode : 0xFE31 (GAP_GetParam)
    DataLength : 0x02 (2)
    ParamValue : 0x0000 (0)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 00 00 ......1....
    --------------------------------------------------------------------
    [14] : <Rx> - 10:26:59.559
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x08 (8) bytes(s)
    Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
    Status : 0x00 (0) (Success)
    OpCode : 0xFE31 (GAP_GetParam)
    DataLength : 0x02 (2)
    ParamValue : 0x07D0 (2000)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 D0 07 ......1....
    --------------------------------------------------------------------
    [15] : <Tx> - 10:27:30.858
    -Type : 0x01 (Command)
    -OpCode : 0xFE04 (GAP_DeviceDiscoveryRequest)
    -Data Length : 0x03 (3) byte(s)
    Mode : 0x03 (3) (All)
    ActiveScan : 0x01 (1) (Enable)
    WhiteList : 0x00 (0) (All)
    Dump(Tx):
    0000:01 04 FE 03 03 01 00 .......
    --------------------------------------------------------------------
    [16] : <Rx> - 10:27:30.885
    -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 : 0xFE04 (GAP_DeviceDiscoveryRequest)
    DataLength : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 04 FE 00 .........
    --------------------------------------------------------------------
    [17] : <Rx> - 10:27:30.925
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x2B (43) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : C4:BE:84:D0:84:84
    Rssi : 0xE3 (227)
    DataLength : 0x1E (30)
    Data : 02:01:06:03:02:82:FE:02:0A:C4:0F:09:55:53:42:20:
    47:54:32:35:35:38:33:33:34:5A:03:FF:F9:01
    Dump(Rx):
    0000:04 FF 2B 0D 06 00 00 00 84 84 D0 84 BE C4 E3 1E ..+.............
    0010:02 01 06 03 02 82 FE 02 0A C4 0F 09 55 53 42 20 ............USB
    0020:47 54 32 35 35 38 33 33 34 5A 03 FF F9 01 GT2558334Z....
    --------------------------------------------------------------------
    [18] : <Rx> - 10:27:30.935
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x12 (18) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x04 (4) (Scan Response)
    AddrType : 0x00 (0) (Public)
    Addr : C4:BE:84:D0:84:84
    Rssi : 0xE3 (227)
    DataLength : 0x05 (5)
    Data : 04:08:55:53:42
    Dump(Rx):
    0000:04 FF 12 0D 06 00 04 00 84 84 D0 84 BE C4 E3 05 ................
    0010:04 08 55 53 42 ..USB
    --------------------------------------------------------------------
    [19] : <Rx> - 10:27:30.945
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x18 (24) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : 60:F8:1D:B2:B1:29
    Rssi : 0xAB (171)
    DataLength : 0x0B (11)
    Data : 02:01:06:07:FF:4C:00:10:02:0B:00
    Dump(Rx):
    0000:04 FF 18 0D 06 00 00 00 29 B1 B2 1D F8 60 AB 0B ........)....`..
    0010:02 01 06 07 FF 4C 00 10 02 0B 00 .....L.....
    --------------------------------------------------------------------
    [20] : <Rx> - 10:27:31.034
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x27 (39) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : C4:BE:84:D1:CD:02
    Rssi : 0xAB (171)
    DataLength : 0x1A (26)
    Data : 02:01:06:05:02:1F:18:82:FE:0B:09:50:65:72:69:70:
    68:65:72:61:6C:04:FF:F9:01:80
    Dump(Rx):
    0000:04 FF 27 0D 06 00 00 00 02 CD D1 84 BE C4 AB 1A ..'.............
    0010:02 01 06 05 02 1F 18 82 FE 0B 09 50 65 72 69 70 ...........Perip
    0020:68 65 72 61 6C 04 FF F9 01 80 heral.....
    --------------------------------------------------------------------
    [21] : <Rx> - 10:27:31.836
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x24 (36) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x01 (1) (Random)
    Addr : 77:83:2C:F7:46:EA
    Rssi : 0xAD (173)
    DataLength : 0x17 (23)
    Data : 02:01:06:13:FF:4C:00:0C:0E:08:D3:52:84:9E:EE:3E:
    BA:88:76:74:EB:28:19
    Dump(Rx):
    0000:04 FF 24 0D 06 00 00 01 EA 46 F7 2C 83 77 AD 17 ..$......F.,.w..
    0010:02 01 06 13 FF 4C 00 0C 0E 08 D3 52 84 9E EE 3E .....L.....R...>
    0020:BA 88 76 74 EB 28 19 ..vt.(.
    --------------------------------------------------------------------
    [22] : <Rx> - 10:27:32.796
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x28 (40) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x01 (1) (Random)
    Addr : E8:1A:02:F2:76:D7
    Rssi : 0xAF (175)
    DataLength : 0x1B (27)
    Data : 02:01:06:11:07:66:9A:0C:20:00:08:9A:94:E3:11:7B:
    66:10:3E:4E:6A:05:FF:87:00:09:7F
    Dump(Rx):
    0000:04 FF 28 0D 06 00 00 01 D7 76 F2 02 1A E8 AF 1B ..(......v......
    0010:02 01 06 11 07 66 9A 0C 20 00 08 9A 94 E3 11 7B .....f.. ......{
    0020:66 10 3E 4E 6A 05 FF 87 00 09 7F f.>Nj......
    --------------------------------------------------------------------
    [23] : <Rx> - 10:27:32.833
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x25 (37) bytes(s)
    Event : 0x060D (1549) (GAP_DeviceInformation)
    Status : 0x00 (0) (Success)
    EventType : 0x04 (4) (Scan Response)
    AddrType : 0x01 (1) (Random)
    Addr : E8:1A:02:F2:76:D7
    Rssi : 0xAD (173)
    DataLength : 0x18 (24)
    Data : 10:09:46:6F:72:65:72:75:6E:6E:65:72:20:32:33:35:
    00:06:16:10:3E:00:12:00
    Dump(Rx):
    0000:04 FF 25 0D 06 00 04 01 D7 76 F2 02 1A E8 AD 18 ..%......v......
    0010:10 09 46 6F 72 65 72 75 6E 6E 65 72 20 32 33 35 ..Forerunner 235
    0020:00 06 16 10 3E 00 12 00 ....>...
    --------------------------------------------------------------------
    [24] : <Rx> - 10:27:41.123
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x2C (44) bytes(s)
    Event : 0x0601 (1537) (GAP_DeviceDiscoveryDone)
    Status : 0x00 (0) (Success)
    NumDevs : 0x05 (5)
    Device #0
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : C4:BE:84:D0:84:84
    Device #1
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : 60:F8:1D:B2:B1:29
    Device #2
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x00 (0) (Public)
    Addr : C4:BE:84:D1:CD:02
    Device #3
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x01 (1) (Random)
    Addr : 77:83:2C:F7:46:EA
    Device #4
    EventType : 0x00 (0) (Connectable Undirect Advertisement)
    AddrType : 0x01 (1) (Random)
    Addr : E8:1A:02:F2:76:D7
    Dump(Rx):
    0000:04 FF 2C 01 06 00 05 00 00 84 84 D0 84 BE C4 00 ..,.............
    0010:00 29 B1 B2 1D F8 60 00 00 02 CD D1 84 BE C4 00 .)....`.........
    0020:01 EA 46 F7 2C 83 77 00 01 D7 76 F2 02 1A E8 ..F.,.w...v....
    --------------------------------------------------------------------
    [25] : <Tx> - 10:27:50.057
    -Type : 0x01 (Command)
    -OpCode : 0xFE09 (GAP_EstablishLinkRequest)
    -Data Length : 0x09 (9) byte(s)
    HighDutyCycle : 0x00 (0) (Disable)
    WhiteList : 0x00 (0) (Disable)
    AddrTypePeer : 0x00 (0) (Public)
    PeerAddr : C4:BE:84:D0:84:84
    Dump(Tx):
    0000:01 09 FE 09 00 00 00 84 84 D0 84 BE C4 .............
    --------------------------------------------------------------------
    [26] : <Rx> - 10:27:50.085
    -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 : 0xFE09 (GAP_EstablishLinkRequest)
    DataLength : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 09 FE 00 .........
    --------------------------------------------------------------------
    [27] : <Tx> - 10:28:39.956
    -Type : 0x01 (Command)
    -OpCode : 0xFE04 (GAP_DeviceDiscoveryRequest)
    -Data Length : 0x03 (3) byte(s)
    Mode : 0x03 (3) (All)
    ActiveScan : 0x01 (1) (Enable)
    WhiteList : 0x00 (0) (All)
    Dump(Tx):
    0000:01 04 FE 03 03 01 00 .......
    --------------------------------------------------------------------
    [28] : <Rx> - 10:28:39.986
    -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 : 0xFE04 (GAP_DeviceDiscoveryRequest)
    DataLength : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 04 FE 00 .........
    --------------------------------------------------------------------
    [29] : <Error> - 10:28:39.997
    Could Not Convert Some Of The Data In The Following Message
    (A Specific Message Handler Is Needed To Process The Data)
    --------------------------------------------------------------------
    [30] : <Warning> - 10:28:39.998
    The Last 1 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [31] : <Rx> - 10:28:39.996
    -Type : 0x04 (Event)
    -EventCode : 0x0010 (HCI_HardwareErrorEvent)
    -Data Length : 0x01 (1) bytes(s)
    Raw : 82
    Dump(Rx):
    0000:04 10 01 82 ....
    --------------------------------------------------------------------
    [32] : <Rx> - 10:28:50.232
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x04 (4) bytes(s)
    Event : 0x0601 (1537) (GAP_DeviceDiscoveryDone)
    Status : 0x00 (0) (Success)
    NumDevs : 0x00 (0)
    Dump(Rx):
    0000:04 FF 04 01 06 00 00 .......
    --------------------------------------------------------------------
    [33] : <Tx> - 10:28:58.951
    -Type : 0x01 (Command)
    -OpCode : 0xFE04 (GAP_DeviceDiscoveryRequest)
    -Data Length : 0x03 (3) byte(s)
    Mode : 0x03 (3) (All)
    ActiveScan : 0x01 (1) (Enable)
    WhiteList : 0x00 (0) (All)
    Dump(Tx):
    0000:01 04 FE 03 03 01 00 .......
    --------------------------------------------------------------------
    [34] : <Rx> - 10:28:58.968
    -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 : 0xFE04 (GAP_DeviceDiscoveryRequest)
    DataLength : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 04 FE 00 .........
    --------------------------------------------------------------------
    [35] : <Rx> - 10:29:09.218
    -Type : 0x04 (Event)
    -EventCode : 0x00FF (HCI_LE_ExtEvent)
    -Data Length : 0x04 (4) bytes(s)
    Event : 0x0601 (1537) (GAP_DeviceDiscoveryDone)
    Status : 0x00 (0) (Success)
    NumDevs : 0x00 (0)
    Dump(Rx):
    0000:04 FF 04 01 06 00 00 .......
    --------------------------------------------------------------------


    Could you help me somehow?

    Thank you in advance,
    Sergiy.
  • Hi Sergiy,

    I have not been able to reproduce this. Here is the approach I used:

    1. Program CC2650 LaunchPad with Host Test from BLE-Stack v2.2.1
    2. Program second LaunchPad (I used a CC2640R2 but I don't think that would cause a problem) programmed with Project Zero from SimpleLink Academy for the SimpleLink CC2640R2 SDK v1.35.0
    3. Use BTool to discover devices
    4. Confirm it has been discovered then disconnect CC2640R2 running Project Zero
    5. Attempt to connect to the Project Zero device
    6. Before cancelling the connection request, perform another discovery

    My discovery attempts have all succeeded and the hardware error does not occur. Did you check to see if you are running out of heap? You can find information on enabling heap metrics in the Profiling the ICall Heap Manager section of the TI BLE Software Developer's Guide.

  • Hi Rachel,

    Thank you for your efforts.

    I have changed my sequence a bit based on your approach.  I added a canceling of the connection request before a start of new discovery. This change has resolved an issue. I mean there is no HW Error event from CC2650 and it works as expected.

    Sergiy.