For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extend Session

Command 0x1F03 - Extend Session (Session Management Only)

The host can use this command to extend a session for open protocol interfaces, such as the WLAN interface, which require session management to meet PCI requirements.

The sequence of events is as follows:

1

Session start

The host establishes a session with the device on a given interface. For the WLAN interface, a session starts when the host establishes a TLS websocket connection with the device.

2

Device session timer

The device starts a countdown timer for a 30 minute session timeout period.

3

Session expiring notifications

Five minutes before the session timeout period expires, the device starts repeatedly (every minute) sending Notification 0x1001 - Device Information Update to report Session Management / Session Expiring Soon.

4

Host may extend the session

The host may extend the session multiple times, until the device automatically resets to meet PCI’s 24 hour self-test requirement, by sending any command request using the same interface before the timeout occurs. Upon receiving the command, the device resets the session countdown timer to 30 minutes. This helps prevent the session from expiring while the host is actively using the device, including when the device is performing a transaction.

If the host wants to extend the session but does not need to send another command, it may follow these steps at any time during the session:

1

Construct command request

The host constructs the command request in the format below.

2

Send command request

The host sends the command request to the device.

3

Device responds

The device sends a response in the format below to the host.

4

Timer reset

The device resets the session countdown timer to 30 minutes.

5

Session expiration

When the session expires, the device closes the websocket connection.

Last updated