5-13 PARAM_SEND
Description: the command performs two optional operations:
1) The scanner responds to a PARAM_REQUEST.
2) The host demands scanner to change particular parameter values.
Packet Format
(Not including checksum).
Identifies this opcode type.
Bit 0: Identifies transmit status
Bit 5-1: Unused
Bit 6: Change type
Bit 7: Command source
Bit 0:
0 = First time packet is sent
1 = Subsequent transmission attempts
Bit 5-1:Reserved
Bit 6:
0 = Temporary change
1 = Permanent change
Bit 7:
0=Command is from the scanner
1=Command is from the host
All unused bits recommend to be set to 0.
Each parameter code has 4 bytes
‘H’ (0x48) or ‘D’ (0x44) or ‘S’
(0x53)
‘ H’: The type of the parameter value is
hexadecimal, the length of parameter
value is 2 bytes.
‘D’: The type of the parameter value is decimal,
the length of parameter value is 2 bytes.
‘S’: The parameter value is a string ended with
‘\0’ (0x00), the length of parameter value is
1-23 bytes
Next parameter(parameter code,
data type, parameter value)….
2's complement sum of
message contents excluding
checksum.
Note: When data type is ‘S’, it supports 8001-8009 option barcode only.
This message is sent by the scanner in response to the PARAM_REQUEST message, or by the host to
change the scanner’s parameter values.