M5Unit-NFC 0.1.0 git rev:93745b5
Loading...
Searching...
No Matches
m5::nfc::isodep::policy_t Struct Reference

Per-exchange timeout/retry override for transceiveINF/transceiveAPDU. More...

#include <isoDEP.hpp>

Public Member Functions

 policy_t (const uint32_t fwt, const uint32_t wtx, const uint8_t retries)
 Construct with explicit values (enables positional brace-init under C++11)
 

Public Attributes

uint32_t fwt_ms {}
 Frame waiting time (ms). 0 is clamped to 1 internally.
 
uint32_t wtx_max_ms {}
 Upper bound for WTX extension (ms)
 
uint8_t max_retries {}
 Number of resends (0 = no resend)
 

Detailed Description

Per-exchange timeout/retry override for transceiveINF/transceiveAPDU.

Note
Passed as a per-call override; it does not modify config_t and does not reset the block number

Constructor & Destructor Documentation

◆ policy_t()

m5::nfc::isodep::policy_t::policy_t ( const uint32_t fwt,
const uint32_t wtx,
const uint8_t retries )
inline

Construct with explicit values (enables positional brace-init under C++11)

Parameters
fwtFrame waiting time in milliseconds
wtxUpper bound for WTX extension in milliseconds
retriesNumber of resends