adding sleep/wakeup functions, moving WirelessHEX