i had two nrf52dks where in that one broadcasts and another should read the data like rssi,major,minor,mac address and battery level of 1st nrf52dk
i had two nrf52dks where in that one broadcasts and another should read the data like rssi,major,minor,mac address and battery level of 1st nrf52dk
Hello,
Can you elaborate more on what you are trying to accomplish?
two nrf52dks where in that one broadcasts and another should read the data
The best way would be to look at the central (reads data) and peripheral (broadcasts data) examples. Once you have found what services you need, you can enable each service in the sdk_config.h using the Template Application as a starting point.
Kind regards,
Oeyvind

Yes - that would be how a BLE Beacon works.
https://en.wikipedia.org/wiki/Bluetooth_low_energy_beacon
If you want the Peripheral to broadcast specific stuff in its advertising data, then you have to write the code to make it so.
For example, see:
https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/ble_sdk_app_beacon
So you you need a Central which scans for advertising packets, and reads the data from them.
Hi,
Can you please be more specific in what you mean with the correct answer? Please provide some output of the incorrect answer. What board, SDK and SoftDevice are you using?
Thank you.
-Oeyvind
I see my reply was more delayed then I thought.
Unfortunately, we do not have an example of scanning beacons. See this case for more information.
-Oeyvind
I see my reply was more delayed then I thought.
Unfortunately, we do not have an example of scanning beacons. See this case for more information.
-Oeyvind