components

Module ieee802154

Source
Expand description

Component for IEEE 802.15.4 radio syscall interface.

This provides one Component, Ieee802154Component, which implements a userspace syscall interface to a full 802.15.4 stack with a always-on MAC implementation, as well as multiplexed access to that MAC implementation.

§Usage

let aes_mux = components::ieee802154::MuxAes128ccmComponent::new(
    &base_peripherals.ecb,
)
 .finalize(components::mux_aes128ccm_component_static!(
    nrf52840::aes::AesECB
));

let (radio, mux_mac) = components::ieee802154::Ieee802154Component::new(
    board_kernel,
    capsules_extra::ieee802154::DRIVER_NUM,
    &nrf52::ieee802154_radio::RADIO,
    aes_mux,
    PAN_ID,
    SRC_MAC,
    deferred_caller,
)
.finalize(components::ieee802154_component_static!(
    nrf52::ieee802154_radio::Radio,
    nrf52::aes::AesECB<'static>
));

Structs§

Constants§

Type Aliases§