usbd-ctaphid 0.4.0

usb-device driver for CTAPHID
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use embedded_time::duration::Milliseconds;

// Status to indicate Whether or not to send keepalive messages
pub enum Status {
    // No need
    Idle,
    // Should schedule take with given period in miliseconds
    ReceivedData(Milliseconds),
}

pub enum KeepaliveStatus {
    Processing = 1,
    UpNeeded = 2,
}