Hi,
I made a board with CC2540. I'm testing the connection between my board and a USB dongle with host release firmware (CC2540_USBdongle_HostTestRelease_All).
I have been having problems with this comunication. When I made a Scan (with BTool, I can see the peripherical (my board), but I try to connect that, the connection fails.
you can see this,
[1] : <Tx> - 05:15:45.353 -
Type : 0x01 (Command)
-Opcode : 0xFE09 (GAP_EstablishLinkRequest)
-Data Length : 0x09 (9) byte(s)
HighDutyCycle : 0x00 (Disable)
WhiteList : 0x00 (Disable)
AddrTypePeer : 0x00 (Public)
PeerAddr : 9F:47:5E:9D:C7:E0
Dump(Tx): 01 09 FE 09 00 00 00 9F 47 5E 9D C7 E0
------------------------------------------------------------------------------------------------------------------------
[2] : <Rx> - 05:15:45.433
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (Success)
OpCode : 0xFE09 (GAP_EstablishLinkRequest)
DataLength : 0x00 (0)
Dump(Rx): 04 FF 06 7F 06 00 09 FE 00
------------------------------------------------------------------------------------------------------------------------
[3] : <Rx> - 05:15:46.243
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x13 (19) bytes(s)
Event : 0x0605 (GAP_EstablishLink)
Status : 0x00 (Success)
DevAddrType : 0x00 (Public)
DevAddr : E0:C7:9D:5E:47:9F
ConnHandle : 0x0000 (0)
ConnInterval : 0x0050 (80)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x07D0 (2000)
ClockAccuracy : 0x00 (0)
Dump(Rx): 04 FF 13 05 06 00 00 9F 47 5E 9D C7 E0 00 00 50 00 00 00 D0 07 00
------------------------------------------------------------------------------------------------------------------------
[4] : <Rx> - 05:15:46.763
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x0606 (GAP_TerminateLink)
Status : 0x00 (Success)
ConnHandle : 0x0000 (0)
Reason : 0x3E (Failed To Establish)
Dump(Rx): 04 FF 06 06 06 00 00 00 3E
I don't know that could be wrong.
Also, whenthe connection is madebetween the host andtheperipheraltimesentsa notification andreceivedperipheralthis is more than 1 sec.
Anyone can help me?
Thanks.
Jaime Ramirez