This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Scan only one nrf52832 peripheral

HI

I am using nrf52832 modules with SDK 11.0.0, s132.

I am able to advertise and scan the devices and display RSSI and peer address.

For my project i want to display the RSSI of the advertising nrf module , but the central device is scanning all the surrounding peripheral devices.So how do i implement to scan only one particular peripheral device and there by display that device address and RSSI only??

central: ble_app_uart_c example

peripheral: ble_beacon example

Thanks,

Uma

Parents
  • Hi Uma,

    You have a few options in this case:

    1. Scan with whitelisting provided that you know the MAC address or IRK (if the peripheral uses privacy). If you are not bonded with the device, you can do something similar to this.
    2. Just filter in the handling of the BLE_GAP_EVT_ADV_REPORT event. Then you can filter on anything you want (MAC address, name or whatever), and only print the RSSI of the device(s) you are interested in.
  • Hi,

    Thank you for explaining.

    Regarding the TX power level, the range or distance reduces as power level is set to -4, -8 and so on right?

    At the reception end is there any feature with regards to the LNA/PA control ? or it is already enabled in the module ?How does it work in the nrf52832 module?

    Thanks in advance.

  • Hi,

    guma said:
    Regarding the TX power level, the range or distance reduces as power level is set to -4, -8 and so on right?

    Yes, that is correct. For instance, a 6 dB decrease in power will give you half the range.

    guma said:
    At the reception end is there any feature with regards to the LNA/PA control ? or it is already enabled in the module ?How does it work in the nrf52832 module?

    What do you mean? The receiver end does not have any similar parameter to Tx power. But if you refer to SoftDevice support for controlling an external PA and/or LNA, that is in place. You can, for instance, refer to this post.

Reply
  • Hi,

    guma said:
    Regarding the TX power level, the range or distance reduces as power level is set to -4, -8 and so on right?

    Yes, that is correct. For instance, a 6 dB decrease in power will give you half the range.

    guma said:
    At the reception end is there any feature with regards to the LNA/PA control ? or it is already enabled in the module ?How does it work in the nrf52832 module?

    What do you mean? The receiver end does not have any similar parameter to Tx power. But if you refer to SoftDevice support for controlling an external PA and/or LNA, that is in place. You can, for instance, refer to this post.

Children
No Data
Related