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

Reduce coverage range of nRF51822..

Hi, I am using SDK v8.0.0 , Softdevice s110 and Example is ble_app_uart(peripheral).

i want to reduce a range of nRF51822 beacon(PCA20006) up to 2-3meter..

i try this sd_ble_gap_tx_power_set() is defined in BLE_GAP.h and also try NRF_RADIO->TXPOWER=int8_t but it not working. so where i want to see for reduce a range.

is that possible to reduce a range and if yes then How?

Parents
  • You need to use one of allowed values (depending on chip, nRF51 should support +4, 0, -4, -8, -12, -16, -20 and -40) as sd_ble_gap_tx_power_set function parameter.

  • Probably it is set back to previous value somewhere else then, or your argument is invalid. It should work correctly. The argument should be int8_t type, like specified here.

Reply
  • Probably it is set back to previous value somewhere else then, or your argument is invalid. It should work correctly. The argument should be int8_t type, like specified here.

Children
No Data