iBeacon example doesn't work with nrf52840dongle or nrf52dk_nrf52832 with zephyr

I have checked out and built the iBeacon sample in zephyr (samples/bluetooth/ibeacon) for nrfconnect version 1.7.1. I tried building for both the nrf52840dongle and nrf52dk_nrf52832, but I can't find the beacon using the nRFConnect app on an iPad or an Android mobile phone. As far as I can tell, this firmware is simply not working. The output of the nrf52dk looks sensible:

*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
Starting iBeacon Demo
Bluetooth initialized
iBeacon started
[00:00:00.006,652] <inf> sdc_hci_driver: SoftDevice Controller build revision: 
                                         3f 47 70 8e 81 95 4e 86  9d d3 a2 95 88 f6 30 0a |?Gp...N. ......0.
                                         7f 53 49 fd                                      |.SI.             
[00:00:00.008,361] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.008,361] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.008,361] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 63.28743 Build 1318420878
[00:00:00.009,216] <inf> bt_hci_core: Identity: F1:E7:21:16:EA:96 (random)
[00:00:00.009,246] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x125b, manufacturer 0x0059
[00:00:00.009,246] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x125b

I built and flashed using "west build --board=nrf52dk_nrf52832" and "west flash" for the nrf52dk. For the nrf52840dongle, I built using "west build --board=nrf52840dongle_nrf52840" (I made sure to delete the build folder before doing this so it would actually rebuild) and flashed using the nRF Connect for Desktop application. I have also attached the zephyr.hex for the nrf52dk.

6761.zephyr.hex

Could you please help me understand what I am doing wrong?

Related