Targets for nrf52dk and nrf52840dk are already provided.
(For nrf52840dk replace nrf52 with nrf52840 in target names)
- Prepare repo
newt upgrade
- Build bootloader:
newt build nrf52_boot
- Build app:
newt build nrf52_ext_app
- Create image:
newt create-image nrf52_ext_app 1.0.0
- Load bootloader:
newt load nrf52_boot
- Load app
newt load nrf52_ext_app
Open terminal (e.g. pyterm -p /dev/tty...
).
Flash the application on two nodes. One will serve as consumer the other as producer.
Producer: Start with producer <interval>
, interval given in ms. Recommended values: 200 to 500 as starting points. This should trigger the issue very fast.
Consumer: Start with entering consumer
into the console
The lower, the faster the crash can be triggered. Would not recommend to go below 200/250ms.
Producer produces marked packets every <interval> ms and scans for packets (processes them but does not advertise them back again).
Consumer just scans for marked packets and advertises them back without any changes.