Struct nfc_oath::OathController
[−]
[src]
pub struct OathController { pub context: *mut nfc_context, pub device: *mut nfc_device, }
Fields
context: *mut nfc_context
device: *mut nfc_device
Methods
impl OathController
[src]
fn new() -> Result<OathController, String>
[src]
fn close(&self)
[src]
fn poll(&self, duration: Option<Duration>) -> bool
[src]
fn send_apdu(
&self,
class: u8,
instruction: u8,
parameter1: u8,
parameter2: u8,
data: Option<&[u8]>
) -> Result<Vec<u8>, String>
[src]
&self,
class: u8,
instruction: u8,
parameter1: u8,
parameter2: u8,
data: Option<&[u8]>
) -> Result<Vec<u8>, String>