Expand description
The resource layer — application-layer state machines (ETSI EN 50221 §8), one per resource, driven by the session layer’s APDUs.
Each resource implements Resource: it reacts to its session opening and
to incoming APDUs, producing APDUs to send back, host Notifications, and
requests to open further (module-provided) resources. This module ships the
mandatory ResourceManager; application_information / conditional_access /
date_time / mmi land as further Resource impls.
Structs§
- Application
Information - Application Information (§8.4.2) — module-provided. On open, enquires the
module’s application info; surfaces it as
Notification::ApplicationInfo. - Conditional
Access - Conditional Access Support (§8.4.3) — module-provided. On open, enquires the
module’s supported
CA_system_ids (Notification::CaInfo); decodesca_pmt_reply(Notification::CaPmtReply). The host sendsca_pmtviaHostRequest::SendCaPmt. - Date
Time - Date-Time (§8.5.2) — host-provided. On
date_time_enqreplies with the current UTC; if the enquiry’sresponse_intervalis non-zero, re-sends everyresponse_intervalseconds (driven bytick). - Mmi
- MMI (§8.6) — module-provided. Surfaces the module’s menus/enquiries and the
close as
Notification::Mmievents for the application to display, and answers the module’sdisplay_controlmode negotiation. The host drives the dialog back throughDriver::mmi_menu_answer/mmi_enquiry_answer/mmi_cancel(sent byCiStackon the open MMI session). - Resource
Manager - Resource Manager (§8.4.1) — host-provided. Drives the profile exchange and,
once complete, reports
Notification::CamReadyand asks the host to open the module-provided resources it understands. - Resource
Out - What a resource wants done after reacting to an input.
Traits§
- Resource
- An EN 50221 application-layer resource.