I have been able to modify SensorEB for the cc2531 USB dongle.

The Collector app is running on the LM3S9D96 board.

With the Collector running, I download and debug the Sensor on the Dongle, and it works perfectly. I can even end the Debug session and remove/reattach the Dongle to the PC and it still works perfectly.

However, if I reset the Collector, I have to rerun the IAR debugger to get the Dongle to rejoin the Collector.

I'd like to add functionality for Button2 (HAL_KEY_SW_2) to do a total reboot of the Dongle, since the Dongle seems to keep settings from the previous run.

How would I do that? Is there a single command for it?