Appendix A – TLV Data Format
DeviceState
(Hexadecimal string)
The Data output contains the response report sent from the device. Responses from SET request types
returns the ACK status. Responses from GET request types returns the report data in response to the
requested command.
Example Request/Response for Set display message
{
"DeviceID": "",
"WaitTime": 5,
"Data": "070501",
"RequestType": "SET",
"WaitForReport": "01",
"CloseDevice": false,
"EndSession": false,
"EndSessionDisplayMessage": 0
}
{
"Data":
"010007000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000",
"AdditionalOutputData": null,
"ResultStatus": true,
"ResultMessage": null,
"CardPresent": false,
"DeviceState": "00"
}
Example Request/Response for Get device configuration:
{
"DeviceID": "",
"WaitTime": 5,
"Data": "09",
"RequestType": "GET",
SDK - MagneFlex Powder, Middleware| PIN PEDs | Programmer's Manual ( MagneFlex Powder V2 API )
Page 68
Device state.
0x00 = Idle
0x01 = Session
0x02 = Wait For Card
0x03 = Wait For PIN
0x04 = Wait For Selection
0x05 = Displaying Message
0x06 = Test (Reserved for future use)
0x07 = Manual Card Entry
0x08 = Wait for Signature Capture (SC-S Only | SC-F Only)
0x09 = Wait Cardholder Entry
0x0A = Chip Card
0x0B = ICC Kernel Test
0x0C = EMV Transaction
0x0D = Show PAN
Need help?
Do you have a question about the SDK MagneFlex Powder and is the answer not in the manual?