I'd like to minimize signal strength of nRF51822 chip in sending advertisement. How do I configure?
Thanks in advance.
I'd like to minimize signal strength of nRF51822 chip in sending advertisement. How do I configure?
Thanks in advance.
Hi,
The nRF8001 APIs are different compared to the nRF51.
8001 uses a library called "libaci". For setting the tx-power (libaci.c):
retval = lib_aci_set_radio_tx_power(tx_power)
Where the legal input is:
ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, /**< Output power set to -18dBm */
ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, /**< Output power set to -12dBm */
ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, /**< Output power set to -6dBm */
ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03 /**< Output power set to 0dBm - DEFAULT*/
Best regards Håkon
Hi,
If it's .cpp, then you're using the arduino SDK. The enum is defined in aci.h: https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/aci.h
Best regards Håkon
Hi,
If it's .cpp, then you're using the arduino SDK. The enum is defined in aci.h: https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/libraries/BLE/aci.h
Best regards Håkon