corrected conversion the nxtmessagetype
Merge branch 'master' of https://github.com/deaddog/sw505-code