Add support for packet mode, BLE wake-up, and improved (working!) scanner demo sketch