remove unnecessary ifdefs
move function inc_packetcounter to util file and use it everywhere
Correct usage of requested brightness value. Send status message.