code cleanup, code style, bugfix in Wakeup() by olebowle, BlueLink Remap defines, try to make firmware update more easy