Pinpad information

There are two ways to obtain basic PINPAD information connected to the POS, such as serial number, Model, etc.

ObteminformsPinpad - Direct function.

Through function code passed to the Functional initiative, and consequent iterative process.

The first form is using the function below.

int ObtemInformacoesPinPad (InfoPinPad)
TypocampoDescriptionMessageTest
InfoPinPadOutput, by valueChar *On return contains the information of the pinpad
TypocampoDescription
2450Manufacturer Name
2451Hardware Model / Version
2452Basic Software/Firmware Version
2453Specification Version
2454Basic Application Version
2455Pinpad Serial Number

In case of success, the data will be returned in the following format:

2 numerical characters that indicate the information obtained being:

01 for the manufacturer's name,

02 for the model / version of the hardware,

03 for the version of the basic software/firmware,

04 version of shared specification

05 for the basic application version,

06 for the serial number.

3 numerical characters that indicate the size in information characters.

N (as size above) alphanumeric characters with the information.

Example:#

` 01006GERTEC02010PPC900;3MB030190077_0071_0080_0106040041.0605013001.23 100820060160450805232030714 ` Manufacturer Name: GERTEC

Hardware Model / Version: PPC900;3MB

Basic Software Version/Firmware: 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 a minimum size of 256 characters, Already predicting the possibility of new Pinpad information.


In the second form, automation must pass the Function code 775 to the initiative initial, and continue the collection flow as if it were a transaction.

During the flow of collection, the following fields will be returned to automation, usually by command 0 (zero).

TypocampoDescription
2450Manufacturer Name
2451Hardware Model / Version
2452Basic Software/Firmware Version
2453Specification Version
2454Basic Application Version
2455Pinpad Serial Number