Syntax
typedef struct{
char *dataBuf;
int dataBufLength;
int outputLength;
int id;
char opticonID;
char aimID[4];
} AM_BarcodeBuffer, *pAM_BarcodeBuffer;
Members
- dataBuf
-
Specify the pointer to the buffer that stores the read barcode data.
- dataBufLength
-
Specify the size of the buffer pointed by dataBuf.
- outputLength
-
Returns the number of bytes of the read barcode data.
- id
-
Returns the type of the barcode by the Code ID.
Returns the value with the same code ID as the ReadBarcodeEx function. See Code ID for more information.
Note:
The AdvancedMenu library 1.3.0 or earlier returns a code ID with the same value as the ReadBarcode function. - opticonID
-
Returns the type of the barcode by the the character code of Opticon ID.
See OPTICON Code ID for more information.
- aimID
-
Returns the AIM/ISO15424 code ID, which represents the type of barcode read, as a 3-character string terminated with NUL.
See AIM/ISO15424 code ID for more information.
Note:
- aimID is supported by the AdvancedMenu library 1.4.0 and later.
- When this library is executed on a device with the System 1.0, "???" is returned in aimID.
Remarks
Call AM_ConfigBarcodeReader function with a pointer to this structure to set the buffer to store the read barcode data.Requirements
Header file:
lib.h
AdvancedMenu.h
See also
Last updated: 2021/06/03