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: Need to Read RSSI Value from Central device

Part Number: CC2652R

Hi Team,

SDK using : simplelink_cc13x2_26x2_sdk_5_20_00_52

We are using CC2652R controller and It is acting as a peripheral. I am using the simple peripheral code.

Requirement 1 : 

Peripheral need to read the RSSI from central before the connection established. (i.e.,) Is there any API to get the RSSI value of central device during receiving the connecting request from central device ?

Application : I need to allow the central device to connect with CC2652R when RSSI value is greater than -30dBm. So this RSSI value has to be get it in connection request before the connection request is established.

  • Hi,

    The peripheral can not scan the central to have the RSSI, or you have to use a multi role project, but I wonder why you need to read the RSSi value of the central? If the peripheral is not connected it can not scan its environnement, it's only advertise.

    So you need to scan peripherals which have a RSSI value corresponding to the one you want. You can add some filter to the scanning to do so.

    regards,

  • Hi Guillaume,

    I don't want to scan from peripheral. Just I need a RSSI value of central while it requesting to connect with my peripheral. Is it possible ?

    During the connection request from central I need central's RSSI in peripheral to calculate the distance  of central (i.e.,) before connection establishment I need it.

  • Hello,

    The HCI API to read RSSi is HCI_ReadRSSICmd() and you can not read it without connection. You have to read the peripheral RSSI from the central side, and continue the process of connection if the RSSI is above or below the desire one. As I mentioned previously you need to filter directly from the scanning part.

    regards,