Good Afternoon,
I am using NRF51822-QFAA as ble remote in central mode. It connects to ESP32 and send the command for changing it's mode. I am using the RF module YJ-14001-NRF51822. I made small changes in ble_app_uart_c code as required. It is connecting and communicating with esp32 as required. But it works only for around 1ft to 2ft of distance.
uint32_t ret = sd_ble_gap_tx_power_set(4);
APP_ERROR_CHECK(ret);
I tried adding the above statements after the init functions and before the main loop in int main(){}, but after adding this it is giving reliable press until 3.5ft to 4ft only.
SDK: 12.3V
softdevice: S130
this is the link for the module yj-14001: www.aliexpress.com/.../32867463734.html
could you please suggest me what i am missing and how i can improve this and get better range.