added framing and crc checking (no ack yet)