added changes for bluetooth protocol
added checksum