Get communication parameters command, Supported edc parameter – MagTek MCP User Manual

Page 21

Advertising
background image

Section 3. Transport Frame Types


15

Get Communication Parameters Command

Command Code: 2 (0010)

S-frame Type: Request/Response

Request PCB: 92 (Hex)

Response PCB: A2 (hex)

Description:

This command requests the value of one of the devices communication parameters.

Request Data:

The parameter ID is located in the first byte of the data field.

Response Data:

Result Code

Value

Supported EDC Parameter

Parameter ID: 00 (Hex)

Description:

This parameter is used to determine what error detection codes the device supports for the frame
EDC.

Result Codes:

Success = 00 (Hex)

The command always completes successfully.

Values:

The value of the parameter is a one byte field with the following bit definitions.

The bits are identified by numbering the least significant bit 0 and the most significant bit 7.

Bit Description
0

Set to 1 if 16 bit CRC EDC is supported else set to 0

1

Set to 1 if 8 bit LRC EDC is supported else set to 0

2-7 RFU

Advertising