Trait kernel::hil::radio::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§