another NTOHS was missing...
better cast before you compare an uint to < 0
fixed transceiver debug