Skip to content

How to modify device parameters or stop the device during data reading? #31

@imxood

Description

@imxood

for the example:
examples\read_serialport.rs

poll.registry()
        .register(&mut rx, SERIAL_TOKEN, Interest::READABLE)
        .unwrap();
loop {
        poll.poll(&mut events, None)?;
        // handle the read event
        // ...
}

How to modify device parameters or stop the device during data reading?

Any good ideas for implementing this? thanks~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions