EasyManua.ls Logo

BIXOLON SPP-R210 - Screxchangeapdu

BIXOLON SPP-R210
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Mobile Printer
Rev. 1.00
- 36 -
3-27 ScrExchangeAPDU
This function performs APDU/TPDU data communication and is only available to use with
SPP-R210 SCR.
async Task<SCRData> ScrExchangeAPDU (byte[] cmdAPDU, uint cmdAPDULen);
[Parameters]
* byte[] cmdAPDU
[in] Command APDU data
* UINT cmdAPDULen
[in] Command APDU length
[Return Values]
* SCRData class
class SCRData
{
public byte[] ATR { get; set; }
public UInt32 ATRLen { get; set; }
public byte[] APDU { get; set; }
public UInt32 APDULen { get; set; }
public byte ResponseS { get; set; }
}
* Example
byte[] cmdAPDU = new byte[512];
BxlWinPhoneSDK.ScrData scrData;
BxlWinPhoneSDK bxlPrinter = new BxlWinPhoneSDK();
……
scrData = await bxlPrinter.ScrExchangeAPDU(CmdAPDU, cmdAPDU.length);
if (0x00 != scrData.ResponseS)
return;
……

Other manuals for BIXOLON SPP-R210

Related product manuals