Part Number: CC2642R
Hi,
My target is to achieve BLE 5 long range connection with CC2642R launchpad. I am using simplelink_cc13x2_26x2_sdk_3_30_00_03 sdk and btool v1.42.16 with host-test app firmware. In one device I have flashed host-test-app image found in sdk and connect it with btool software, and with another launchpad i am using default simple peripheral code. When i trying to make connection with btool GUI, i am able to make proper connection upto 20meters, but after that i am not able to connect the peripheral launchpad. I am getting the device on scanning but when i tried to make connection i am getting below error.
--------------------------------------------------------------------
[2082] : <Info> - 05:37:27.480
Device Connected
Handle = 0x0000
Addr Type = 0x00 (ADDRTYPE_PUBLIC)
BDAddr = 80:6F:B0:EE:AE:48
--------------------------------------------------------------------
[2083] : <Rx> - 05:37:27.449
-Type : 0x04 (Event)
-EventCode : 0x000E (HCI_CommandCompleteEvent)
-Data Length : 0x06 (6) bytes(s)
Packets : 0x01 (1)
OpCode : 0x2022 (HCI_LE_SetDataLength)
Status : 0x00 (0) (SUCCESS)
Handle : 0x0000 (0)
Dump(Rx):
0000:04 0E 06 01 22 20 00 00 00 ...." ...
--------------------------------------------------------------------
[2084] : <Info> - 05:37:27.996
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (ADDRTYPE_PUBLIC)
BDAddr = 80:6F:B0:EE:AE:48
--------------------------------------------------------------------
[2085] : <Rx> - 05:37:27.996
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x0606 (1542) (GAP_TerminateLink)
Status : 0x00 (0) (SUCCESS)
ConnHandle : 0x0000 (0)
Reason : 0x3E (62) (FAILED_TO_ESTABLISH)
Dump(Rx):
0000:04 FF 06 06 06 00 00 00 3E ........>
--------------------------------------------------------------------
But after making some changes when i tried the same with simple-central code in place of btool i am able to connect device properly.
#define DEFAULT_SCAN_PHY SCAN_PRIM_PHY_CODED
#define DEFAULT_INIT_PHY INIT_PHY_CODED
From this it seems BTool GUI not supporting coded PHY. How can i enable that in BTool? Can anyone please help here?