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.

CC2642R: BLE

Part Number: CC2642R

Currently Iam working on the BLE device . I came across one use cases , where BLE device should accept only txphy1M and txphy2M. using BLE client  , I need to send PHY value with txphycoded .

Can anyone help me to know which API  I should use in Btool  which help me to send  'txphycoded' value to the BLE device or allow Btool to set with txphycoded

 I have tried  following API. 

HCI_LE_setphy : still not able to set phycoded 

GAPInit Connet : here when I configured this , after sending connect request using Btoool , I have received 'GapInitFailed-> BleAlredyInRequestMode' .Hence , not able to connect with the BLE device

is it expected behavior of the BLE device? 

  • Hi,

    Thank you for reaching out. Don't hesitate to provide more details on the use case you are targeting as the limited information provided there makes difficult for us to provide good answers.

    You can leverage the test commands HCIExt_EnhancedModemTestTxCmd() and HCIExt_EnhancedModemTestRxCmd() to send / receive packets using a specified PHY. Please note these are test commands.

    The command HCI_LE_SetPhy should only be used when a connection has been established.You can read further about the available HCI commands by referencing the API References.

    BTool provide a user interface allowing to establish a connection, I would recommend to leverage this. The interface also allows to configure the PHYs used for the connection.

    I hope this will help,

    Best regards,

  • I have tried the same . But Btool still send the PHY value with older configured . Not the phy decoded .

    ex: send phycoded (0x04) , Btool respond with success, but value is set as 0x02