renamed somnConst somnLib, added debug print of packet