Microscan HS-2D Manuale Utente Pagina 163

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 162
HS-21/HS-41X Handheld Reader User’s Manual A-45
Appendices
CRB System
The CRB system is a convenient method for creating and maintaining a set of commands
that can be easily sent to the reader. These CRB files can be created in any text editor
with the file extension of .crb. The CRB system accepts all of the valid text commands.
The most commonly used commands are J, N, P, and ~. There should be one command
per line. The CRB file may contain empty lines and comments as well.
The .crb files can be sent directly to the reader using the normal file transfer. As CRB files
are just a list of text commands, they can also be sent by a serial terminal program. Note:
if using a serial terminal program the reader will first need to be set to “text command
mode”; see Text Commands.
You can request a copy of all reader configuration settings in .crb format.
Example CRC16 C Code
CRC16.h:
// crc16.h
#ifndef crc16_h
#define crc16_h
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef uint16_t crc_t;
crc_t crc
( crc_t initialCrc
, const unsigned char* bufPtr
, size_t length
);
#ifdef __cplusplus
} // extern "C"
#endif
#endif
/*eof*/
Vedere la pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 171 172

Commenti su questo manuale

Nessun commento