Skip to main content

Module session

Module session 

Source
Expand description

SPDU session layer — a sans-IO mechanism over the transport layer (ETSI EN 50221 §7.2).

Multiplexes logical sessions (one per resource in use) over the transport connection: allocates/tracks session_nbs, answers open_session_request for resources the host advertises, opens create_session on demand, and routes session_number+APDU to/from the resource bound to a session. It is mechanism only — which resources the host provides is the caller’s policy, supplied as the provides predicate to SessionLayer::on_spdu.

Structs§

SessionLayer
The session table + session_nb allocator.
SessionOut
What the session layer wants done after handling one SPDU.