Pinpad Information
There are two ways to obtain basic information from the connected PinPad
in the POS, such as serial number, model, etc.
ObtemInformacoesPinPad -- direct function.
Through function code passed to IniciaFuncaoSiTefInterativo, and
consequent iterative process.
The first way is using the function below.
int ObtemInformacoesPinPad (InfoPinPad)
Parameter | Type | Default Interface | Description |
---|---|---|---|
InfoPinPad | Output, by value | char * | In return it contains the PinPad information |
If successful, data will be returned in the following format:
2 numeric characters that indicate the information obtained:
01 for Manufacturer Name,
02 for Hardware Model/Version,
03 for Basic Software/Firmware Version,
04 Shared specification version
05 for Basic Application Version,
06 for Serial Number.
3 numeric characters that indicate the size in characters of the
information.
N (according to size above) alphanumeric characters with information.
Example:
01006GERTEC02010PPC900;3MB030190077_0071_0080_0106040041.0605013001.23
100820060160450805232030714
Manufacturer name: GERTEC
Hardware model/version: PPC900;3MB
Basic software/firmware version: 0077_0071_0080_0106
Specification version: 1.06
Basic application version: 001.23 100820
Serial number: 0450805232030714
Note: the Buffer that will receive the PinPad information must have
minimum size of 256 characters, already providing for the possibility of being
new pinpad information included.
In the second way, the automation must pass the function code 775
to IniciaFuncaoSiTefInterativo, and continue in the collection flow
as if it were a transaction.
During the collection flow, the following fields will be returned to the
automation, normally by command 0 (zero).
FieldType | Description |
---|---|
2450 | Manufacturer name |
2451 | Hardware model/version |
2452 | Basic software/firmware version |
2453 | Specification version |
2454 | Basic application version |
2455 | PinPad serial number |
Updated 15 days ago