I want to send data from nRF52840 Dongle to Raspberry Pi B+, Assume nRF52840 Dongle placed in USB drive of Raspberry Pi B+. Please help with coding sample.
I want to send data from nRF52840 Dongle to Raspberry Pi B+, Assume nRF52840 Dongle placed in USB drive of Raspberry Pi B+. Please help with coding sample.
Hi Ashiq.
You can use the ble_app_uart example found in SDK 15.2: nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart\pca10056
You have to configure the pins, because they are configured to the PCA10056 board, and not the Dongle.
You also have to solder the pins you select to wires, and connect them to an RS232 to USB cable which you connect to your Raspberry Pi. You also have to have the Dongle connected so that it has power on so that it can run the application.
The ble_app_uart example will output any received data from BLE to UART. So you have to also run an terminal serial port emulator on your Raspberry Pi to collect the data from UART, such as
- Andreas
Thanks Andreas.
Hi Ashiq,
I have developed a BLE5 beacon scanner for nRF52840 Dongle that sends through serial port to Raspberry Pi (or another PC) the captured BLE5 advertisements.
You can check here:
https://github.com/nicslabdev/NRF52840-Beacon_Scanner
I hope it works,
- Manuel Montenegro.