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.

CC2652R: how to update the phy on live connection

Part Number: CC2652R

i have a central device which connect to the ti device where ti device is pheripheral (assume the code in ti is simple pheripheral code) how to get the tx power of the central device ? how to fetch the rssi for every second of central device so that i can get the approximate distance between the devices. after that i want to know how to set the pheripheral device phy dynamically ? can i have any links or code references ...

  • Hello,

    Thanks for reaching out! Could you provide some answers to the following questions so we can better support you:

    1. What are you using as the central device in this case to connect to the CC2652R as the peripheral?

    2. Have you flashed the simple_peripheral project to the peripheral device yet? (That would be the correct code.)

    3. What version of the SDK do you currently have installed?

    4. Could you give context as to how/why you would like to set the peripheral PHY dynamically?

    My first recommendation would be to take a look at the BLE Scanning and Advertising section of the SimpleLink Academy for CC13xx/CC26xx if you have not already to get more detail about the simple_peripheral project. 

    For your question about RSSI/TX power, take a look at this thread

    Best regards,

    Luke

  • 1. for central using ti_oad app for updating the ota

    2. yes i have flashed the simple peripheral project to device and added custom characteristics and services according to my need. 

    3. cc13xx/cc26xx 6.10.00.29 version

    4. when the user going some distance while doing ota it getting disconnected because i'm setting it to the 2mphy (which has some what less range). what i want to do is based on the user distance if i change the phy of the device ota get slow down when user get far away and ota get speed up when the user is nearby the device. 

    i have studied the ble scanning  and advertising section mostly 

  • Pavan,

    I am glad to hear you have looked through the Academy lessons for the most part. My first recommendation would be to use the latest version of the SDK which can be found here. Was the thread I referenced before useful for what you are trying to implement?

    I can spend some more time looking into the dynamic PHY adjustment capabilities this afternoon and after the weekend.

    Best regards,

    Luke 

  • is there any update??

  • Pavan,

    We currently do not have any examples on how to dynamically change the PHY based on distance of the user. Were you able to upgrade to the latest version of the SDK and look at the thread referenced before?

    Thanks,

    Luke