pub struct rfalNfcDiscoverParam {
Show 17 fields pub compMode: rfalComplianceMode, pub techs2Find: u16, pub totalDuration: u16, pub devLimit: u8, pub maxBR: rfalBitRate, pub nfcfBR: rfalBitRate, pub nfcid3: [u8; 10], pub GB: [u8; 48], pub GBLen: u8, pub ap2pBR: rfalBitRate, pub lmConfigPA: rfalLmConfPA, pub lmConfigPF: rfalLmConfPF, pub notifyCb: Option<unsafe extern "C" fn(rfalNfcState)>, pub wakeupEnabled: bool, pub wakeupConfigDefault: bool, pub wakeupConfig: rfalWakeUpConfig, pub activate_after_sak: bool,
}
Expand description

Discovery parameters

Fields

compMode: rfalComplianceMode

< Compliancy mode to be used

techs2Find: u16

< Technologies to search for

totalDuration: u16

< Duration of a whole Poll + Listen cycle

devLimit: u8

< Max number of devices

maxBR: rfalBitRate

< Max Bit rate to be used for communications

nfcfBR: rfalBitRate

< Bit rate to poll for NFC-F

nfcid3: [u8; 10]

< NFCID3 to be used on the ATR_REQ/ATR_RES

GB: [u8; 48]

< General bytes to be used on the ATR-REQ

GBLen: u8

< Length of the General Bytes

ap2pBR: rfalBitRate

< Bit rate to poll for AP2P

lmConfigPA: rfalLmConfPA

< Configuration for Passive Listen mode NFC-A

lmConfigPF: rfalLmConfPF

< Configuration for Passive Listen mode NFC-A

notifyCb: Option<unsafe extern "C" fn(rfalNfcState)>

< Callback to Notify upper layer

wakeupEnabled: bool

< Enable Wake-Up mode before polling

wakeupConfigDefault: bool

< Wake-Up mode default configuration

wakeupConfig: rfalWakeUpConfig

< Wake-Up mode configuration

activate_after_sak: bool

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.