Beacon BLE communication - Zypher nrf52840

How do I send rssi value from beacon over bluetooth. I explored two options for this in zephyr code:

  1. I saw beacon sample but in that no rssi value is passed in the “bt_data” struct. But when i ran this sample on my nrf52840 board , the nrf connect app on my smartphone was able to detect my board and i was able to see other details like service data , tx power of the board on the app but not rssi.

  2. I also saw ibeacon sample which was passing rssi value but ran the sample on by nrf52840 board ,it was not detected by nrf connect app on my smartphone.

How do I get the rssi value and also have the beacon detected on the app.