This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

2 way beacon/connectable beacon

Hello,

DK:nrf52810

sdk:17.0.2

In my project i have to advertise accelerometer and gyro value through beacon so i have done with using
https://devzone.nordicsemi.com/f/nordic-q-a/76400/nrf52-ble-beacon-with-accelerometer-data-advertising this support.

Now my question is,
Is it possible to send some values from "mobile apk" to "the device" using connectable beacon ..?? (2 way communication)

mobile apk: nrf connect

the device: nrf52810 custom board

If it is possible plz send me the proper procedure

Regards,
Nagendra A Karmarkar

Parents
  • Hello,

    What @awneil says is correct - this would not be a beacon application per se, since beacons advertise as non-connectable.
    If you wish to see an example of how data transfer from a peripheral to a central could be implemented you should take a look at the BLE Nordic UART example from the SDK. In the example, any data received over UART is transmitted to the connected device over BLE, and visa versa.
    You can then modify this to instead relay your sensor data, instead of the UART data.

    Best regards,
    Karl

Reply
  • Hello,

    What @awneil says is correct - this would not be a beacon application per se, since beacons advertise as non-connectable.
    If you wish to see an example of how data transfer from a peripheral to a central could be implemented you should take a look at the BLE Nordic UART example from the SDK. In the example, any data received over UART is transmitted to the connected device over BLE, and visa versa.
    You can then modify this to instead relay your sensor data, instead of the UART data.

    Best regards,
    Karl

Children
Related