kernel::hil::radio

Trait ConfigClient

Source
pub trait ConfigClient {
    // Required method
    fn config_done(&self, result: Result<(), ErrorCode>);
}
Expand description

Client for callbacks after the radio is configured.

Required Methods§

Source

fn config_done(&self, result: Result<(), ErrorCode>)

Configuring the radio has finished.

§Arguments
  • result: Status of the configuration procedure. Ok(()) if all options were set as expected. On Err(), valid errors are:
    • ErrorCode::FAIL: Internal error occurred.

Implementors§