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

lowering TX broadcast strength on BLE_ADV_MODE_FAST?

Hi there,

I'm playing around with the stock hrs_relay example that I've modified. the code works well but I'm noticing that its advertising strength is crazy high.

I was previously using the BLE_Blinky example and set sd_ble_gap_tx_power_set (-30); to lower the broadcast strength to something manageable, (I only want to see the device within a few feet to enable things based on a rudimentary proxmity from rssi without connecting/bonding)

the main difference im seeing is  BLE_blinky had its own ADV_Start function and the HRS_relay has BLE_ADV_MODE_FAST which is preset.

any assistance on how to modify is transmit strength since (sd_ble_gap_tx_power_set (-30); )  doesn't work.

THANKS!

  • Hi!

    Which SDK are you working with?

    I'm playing around with the stock hrs_relay example that I've modified.

    Does that mean that you are using a modified version of the ble_app_hrs example?

    API's and similar is prone to changes and might differ between different versions, so including information such as SDK version, device, softdevice version, custom board or DK, IDE etc. often makes it a lot easier for others to help solve your issue.

    Best regards,
    Joakim

     

Related