manualshive.com logo in svg
background image

 

Data Capture 

for Workforce 

in Motion 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BaracodaPencil 2 

Communication Protocol 

 

©Baracoda 

TM

 – January 2009 

Содержание Pencil 2

Страница 1: ...Data Capture for Workforce in Motion BaracodaPencil 2 Communication Protocol Baracoda TM January 2009...

Страница 2: ...MMUNICATION MESSAGES 7 2 3 2 SCANNER MESSAGES 9 2 3 3 USER INTERFACE MESSAGES 11 2 3 4 MISCELLANEOUS MESSAGES 14 2 3 5 CAPTURE MESSAGES 18 2 4 DECODER COMMUNICATION PROTOCOL 21 2 4 1 FRAME FORMAT 21 2...

Страница 3: ...ed below Document Date Description 1 1 26 Jan 07 Initial release 1 2 29 Sept 08 Added new commands 0x5A 0x5B Get Set master mode Changed barcode prefix suffix into capture prefix suffix Changed 2 3 5...

Страница 4: ...document can be Host to scanner messages the packet is sent only by the host to the scanner Scanner to host messages the packet is sent only by the scanner to the host Bidirectional messages the packe...

Страница 5: ...and purged for backward compatibility with older Baracoda products 2 1 1 2 Acknowledgment packets Code ID Description Frame 0x06 ACK 0x06 0x01 0xYY 0x15 NACK 0x15 0x01 0xYY These messages acknowledge...

Страница 6: ...Encapsulation scheme Encapsulation scheme Encapsulation scheme Code ID Description Payload 0x32 0x33 Barcode data DATA string 2 2 2 2 2 2 2 2 2 2 2 2 Data Data Data Data string format string format st...

Страница 7: ...Code ID 0x42 0x43 Description Get Retransmission Parameters Payload None Response 2 bytes Max number of retransmission 1 to 0xFE 0xFF infinity Delay between transmission 1 to 0xFF in tenth of seconds...

Страница 8: ...t timeouts default 255 infinity Response Get 1 byte shutdown timeout 0 leave current timeouts default 255 infinity Set 1 byte Bit 0 Success Remarks When scanner in charge the shutdown timers can be mo...

Страница 9: ...disconnected Code ID 0x64 0x65 Description Set Operating Mode Payload 1 byte Bit 0 0 real time Bit 0 1 batch If real time mode is set Bit 7 limited Bit 6 ACK beep Bit 5 no ACK beep NOTE the ACK beep e...

Страница 10: ...es YY MM DD HH MM SS Response 1 byte Bit 0 Success Code ID 0x74 0x75 Description Restore defaults settings Payload None Response 1 byte Bit 0 Success Remarks External Flash memory is also erased Code...

Страница 11: ...bled Bit 0 LEDs enabled Code ID 0x84 0x85 Description Set MMI Mode Payload 1 byte Bit 1 Buzzer Enabled Bit 0 LEDs enabled Bit 7 0 Buzzer config select 1 Buzzer config deselect Bit 6 0 leds config sele...

Страница 12: ...ID 0x8C 0x8D Description Stop Signal Payload 1 byte Signal number 0 3 Response 1 byte Bit 0 Success The list of MMI signals is IHM_SIGNAL_CAPTURE_READ 0 IHM_SIGNAL_CAPTURE_ACK 1 IHM_SIGNAL_CAPTURE_NAK...

Страница 13: ...BaracodaPencil 2 Communication Protocol v1 3 13 Data Capture for Workforce in Motion Response 1 byte Bit 0 Success...

Страница 14: ...ngth DataPrefix String Set 1 byte Success Code ID 0xC4 0xC5 Description Get Set DataSuffix Payload Get None Set 1 33 bytes DataSuffix length DataSuffix String Response Get 1 33 bytes DataSuffix length...

Страница 15: ...Description Reset modes Payload None restore defaults keep link keys reboot scanner 1byte 0 restore defaults keep link keys reboot scanner 1 switch off scanner no restoring defaults 2 reboot scanner...

Страница 16: ...upload successful data can be erased from the scanner 0 upload failed do not erase data Response 1 byte Bit 0 Success Code ID 0xD2 0xD3 Description Get Set Anti duplicate scans Payload Get None Set 1...

Страница 17: ...rce in Motion 1 upload data after retrieving Response 1 byte Bit 0 Success Comments This is only available if no new scan has been made Code ID 0xD8 0xD9 Description Enable remote trigger Payload None...

Страница 18: ...R 0 trigger 2 disabled Response 1 byte Bit 0 Success Code ID 0xE6 0xE7 Description Get Data Format Payload None Response 1 byte Bit 2 Timestamp Bit 1 Capture Prefix Bit 0 Capture Suffix Code ID 0xE8 0...

Страница 19: ...Capture Suffix String Code ID 0xF0 0xF1 Description Set Capture Suffix Payload 1 33 bytes Capture Suffix length Capture Suffix String Response 1 byte Bit 0 Success Code ID 0xF4 0xF5 Description Set Ti...

Страница 20: ...Bit 0 Success Code ID 0xFC 0xFD Description Erase stored barcodes Payload None Response 1 byte Bit 0 Success Code ID 0xFE 0xFF Description Barcode decoder Commands Payload header type size Parameters...

Страница 21: ...2 2 4 2 Header Header Header Header The Header field defines the type of symbology to select it is 1 byte long ACSII code Header Selected Symbology A SELECT ALL B Code 93 C Code 128 EAN 128 D EAN 13 U...

Страница 22: ...will be given in the section Command field All the commands will answer 0 if the frame is wrong Commands with type B C D or E will answer 1 as an acknowledgment of good reception of the command The G...

Страница 23: ...mand the default minimal length will be 6 characters for all symbologies 2 This option will not have any effect on symbologies that require a checksum EAN UPC code93 Code128 RSS Concerning the symbolo...

Страница 24: ...ISSN hyphen transmission 3 ISSN price code transmission 4 UPC A transmitted as EAN 13 5 Add on Digits required not required 6 Enable disable Add on 2 MSB 7 Enable disable Add on 5 CODE 39 Header E Bi...

Страница 25: ...EE 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE STANDARD 2 OF 5 Header H Bit Option LSB 0 FREE 1 FREE 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE MATRIX 2 OF 5 Header I Bit Option LSB 0 FREE 1 FREE...

Страница 26: ...REE 5 FREE 6 FREE MSB 7 FREE UPC E Header L Bit Option LSB 0 Number System transmitted 1 2 3 4 FREE 5 UPC E transmitted as UPC A 6 MSB 7 FREE EAN 8 Header M Bit Option LSB 0 FREE 1 2 3 4 EAN 8 transmi...

Страница 27: ...2 4 5 3 2 4 5 3 Usual Usual Usual Usual Commands Commands Commands Commands Type Type Type Type D D D D The method described above set config allows a fast and effective setting of a whole set of conf...

Страница 28: ...E O Disable Code 39 full ASCII mode E P Enable number system transmission D L Q Disable number system transmission D L R Disable prefix All S Enable prefix All T Disable suffix All U Enable suffix All...

Страница 29: ...ds Commands Commands Commands Type Type Type Type E E E E Some commands require more than a Boolean digit and require one or more arguments Special commands will be used in this case defined code E in...

Страница 30: ...ration of Code 39 symbology Frame to be sent to the decoder E A 0 Header Type Size Command The decoder answers the following frame E A 4 01 05 06 20 Header Type Size Command By reading this answer fra...

Страница 31: ...ame to be sent to the decoder F B 2 03 01 Header Type Size Command Reading this frame the decoder understands The user wants to set a configuration Type B for Codabar Header F the configuration will c...

Страница 32: ...4 Max length Enabled set to 32 as default 0 5 0 6 0 7 2 4 6 3 2 4 6 3 2 4 6 3 2 4 6 3 Usual command Usual command Usual command Usual command Example Example Example Example 3 1 3 1 3 1 3 1 Modifying...

Страница 33: ...me of Min Max length for Code39 symbology Frame to be sent to the decoder E E 3 C 2 40 Header Type Size Command Reading this frame the decoder understands The user wants to send a special command Type...

Страница 34: ...only Length xx xx new pin size Payload N digits PIN Defaut 0000 Response 0x01 00 01 01 if done 0x01 00 01 00 if not Remark Max Pin length 16 Command Get Pin Code Header 0x07 Length 00 00 Payload N dig...

Страница 35: ...k If more than one SmartModule needs to connect to the same other device PC Access Point you will need to switch the clock role to allow the slave to be connected to more than one master Note that mos...

Страница 36: ...04 Inquiry Interval MSB Inquiry Interval LSB Inquiry Window MSB Inquiry Window LSB Remark Inquiry Interval and Inquiry Window are in number of Bluetooth slots 1 slot 0 625 ms Command Set inquiry scan...

Страница 37: ...be Connectable Command Get page scan timeout Header 0x25 Length 00 00 Payload Response 0x25 00 04 Page Interval MSB Page Interval LSB Page Window MSB Page Window LSB Remark Page Scan Interval and Pag...

Страница 38: ...Get Sniff Header 0x10 Length 00 00 Payload Response 0x10 00 08 MSB of MinSniff interval LSB of MinSniff interval MSB of MaxSniff interval LSB of MaxSnif interval Sniff Attempts MSB Sniff attempts LSB...

Страница 39: ...xFF means a sniff period of 40s You will have very very low data rate Note This setting takes effect immediately For further details on Sniff values see the Bluetooth spec 1 1 chapter 10 8 2 Command G...

Страница 40: ...secured PIN CODE default 01 Response 0x21 00 01 01 if done 0x21 00 01 00 if not Remark Size PINCODE size 1 For example 0x21 00 05 00 30 30 30 30 to disable security Command Get Bluetooth class device...

Страница 41: ...er 0x37 Length 00 00 Payload Response 0x37 00 01 channel Remark If channel is not zero the Module will directly try to connect if in master mode to the specified rfcomm channel Setting the channel to...

Страница 42: ...eading the Bluetooth spec Command Get Encryption Mode Header 0x40 Length 00 00 Payload Response 0x40 00 01 encryption Remark Command Set Encryption Mode Header 0x41 flash only Length 00 01 Payload Enc...

Отзывы: