21
© 2019 unitech Electronics Co., Ltd. All rights reserved.
unitech is a registered trademark of unitech Electronics Co.,Ltd
All product and company names are trademarks, service marks, or registered trademarks of their respective owners
MS925HC User’s Manual
2.9.2 Binary Check Character
Enable
Disable *
Once enabled, a checksum will be added to the end of each data to conduct X
or calculation. For Bluetooth
®
SPP& USB-VCP, the BCC is 1 byte. For
Bluetooth
®
HID, the BCC are 2 bytes.
Example:
The barcode data is “TEST” with terminator <CR><LF>
1. Bluetooth
®
SPP & USB-VCP:
Data Format = <T> + <E> + <S> + <T> + <CR> + <LF> + <BCC>.BCC =
54h ^ 45h ^ 53h ^ 54h ^ 0Dh ^ 0Ah = 11h
2. Bluetooth
®
HID:
Data Format = <T> + <E> + <S> + <T> + <Enter> + <BCC>BCC = 54h ^
45h ^ 53h ^ 54h ^ E7h = F1h
However, since control character cannot be displayed in Bluetooth
®
HID, BCC
will be converted into 2 bytes of characters.
As a result, the data will be: TEST + <Enter> + F + 1