Methods
setCallback
setCallback (ISapCallback sapCallback)
Set callback that has response and unsolicited indication functions
Details |
Parameters |
sapCallback
|
Object containing response and unosolicited indication callbacks
|
|
connectReq
oneway connectReq (int32_t token, int32_t maxMsgSize)
CONNECT_REQ from SAP 1.1 spec 5.1.1
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
maxMsgSize
|
MaxMsgSize to be used for SIM Access Profile connection
|
|
disconnectReq
oneway disconnectReq (int32_t token)
DISCONNECT_REQ from SAP 1.1 spec 5.1.3
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
|
apduReq
oneway apduReq (int32_t token, SapApduType type, vec<uint8_t> command)
TRANSFER_APDU_REQ from SAP 1.1 spec 5.1.6
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
type
|
APDU command type
|
command
|
CommandAPDU/CommandAPDU7816 parameter depending on type
|
|
transferAtrReq
oneway transferAtrReq (int32_t token)
TRANSFER_ATR_REQ from SAP 1.1 spec 5.1.8
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
|
powerReq
oneway powerReq (int32_t token, bool state)
POWER_SIM_OFF_REQ and POWER_SIM_ON_REQ from SAP 1.1 spec 5.1.10 + 5.1.12
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
state
|
true for on, false for off
|
|
resetSimReq
oneway resetSimReq (int32_t token)
RESET_SIM_REQ from SAP 1.1 spec 5.1.14
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
|
transferCardReaderStatusReq
oneway transferCardReaderStatusReq (int32_t token)
TRANSFER_CARD_READER_STATUS_REQ from SAP 1.1 spec 5.1.17
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
|
setTransferProtocolReq
oneway setTransferProtocolReq (int32_t token, SapTransferProtocol transferProtocol)
SET_TRANSPORT_PROTOCOL_REQ from SAP 1.1 spec 5.1.20
Details |
RPC mode |
|
Parameters |
token
|
Id to match req-resp.Resp must include same token.
|
transferProtocol
|
Transport Protocol
|
|