https://github.com/coderbyheart/beacon-reader
Use the nRF9160 DK to read BLE temperature beacons (Blue Coin T) using the onboard nRF52840
https://github.com/coderbyheart/beacon-reader
smartvan
Last synced: 9 months ago
JSON representation
Use the nRF9160 DK to read BLE temperature beacons (Blue Coin T) using the onboard nRF52840
- Host: GitHub
- URL: https://github.com/coderbyheart/beacon-reader
- Owner: coderbyheart
- Created: 2020-09-30T07:27:18.000Z (about 5 years ago)
- Default Branch: saga
- Last Pushed: 2020-11-29T18:02:51.000Z (about 5 years ago)
- Last Synced: 2025-02-01T11:11:23.051Z (11 months ago)
- Topics: smartvan
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Temperature Beacon Reader using the nRF9160 DK
This implements a temperature beacon reader using the nRF9160 DK:
## Building
### Prepare the Docker image with all build dependencies
docker build -t sdk-nrf-tbr .
### Build the firmware
### For the nRF9160 of the DK
docker run --rm -v ${PWD}:/workdir/ncs/tbr sdk-nrf-tbr \
/bin/bash -c 'cd /workdir/ncs/tbr && west build -p always -b nrf9160dk_nrf9160ns'
nrfjprog -f nrf91 --program build/zephyr/merged.hex --sectoranduicrerase -r --log
### For the nRF52840 of the DK
docker run --rm -v ${PWD}:/workdir/ncs/tbr sdk-nrf-tbr \
/bin/bash -c 'cd ncs/zephyr && west build samples/bluetooth/hci_uart -p always -b nrf9160dk_nrf52840 && ls -la build/zephyr && cp build/zephyr/zephyr.hex /workdir/ncs/tbr/hci_uart.hex'
nrfjprog -f nrf52 --program hci_uart.hex --sectoranduicrerase -r --log