Simulator
When the C SDK simulator is started on a terminal, its menu will look like this: The table below describes each option on the simulator terminal.| Command | Description |
|---|---|
Start session 0 | Starts a session (a transaction) with product code 0. |
Close Session 0 | Only relevant in multisession. Closes the session (settles it) at the end of a transaction. |
Cancel Session | Cancels the transaction from the peripheral’s end. Can be sent up until the consumer’s card has been approved. |
Query sessions | Gives information about which sessions are currently open. This option is relevant from 4.0.0.22 and above. |
Reader state | Gives information about whether the reader is enabled (1)/disabled (0). This option is relevant from 4.0.0.22 and above. |
Link stats | Provides information about the number of CRC errors, packet retransmissions, and communication losses. |
Quit | Quits the simulator program. |
Transaction Flow Examples
Below are examples of the flow for each transaction type:- Regular Transaction (Single Session):
- Start a session: with
[0]: Start session. - Present card, wait for authorization and “Thank you” screen.
- Start a session: with
- Multi-Session Transaction:
- Start a session with
[0]: Start session 0. - Present card, wait for authorization and “Thank you” screen.
- Close the relevant session- in this case, use
[1]: Close Session 0.
- Start a session with