Module capsules::ieee802154::driver
[−]
[src]
IEEE 802.15.4 userspace interface for configuration and transmit/receive.
Implements a userspace interface for sending and receiving IEEE 802.15.4 frames. Also provides a minimal list-based interface for managing keys and known link neighbors, which is needed for 802.15.4 security.
Reexports
use core::cell::Cell; |
use core::cmp::min; |
use ieee802154::device; |
use ieee802154::framer; |
use kernel::AppId; |
use kernel::AppSlice; |
use kernel::Callback; |
use kernel::Driver; |
use kernel::Grant; |
use kernel::ReturnCode; |
use kernel::Shared; |
use kernel::common::take_cell::MapCell; |
use kernel::common::take_cell::TakeCell; |
use net::ieee802154::AddressMode; |
use net::ieee802154::Header; |
use net::ieee802154::KeyId; |
use net::ieee802154::MacAddress; |
use net::ieee802154::PanID; |
use net::ieee802154::SecurityLevel; |
use net::stream::decode_bytes; |
use net::stream::encode_bytes; |
use net::stream::SResult; |
use net::stream::decode_u8; |
use net::stream::encode_u8; |
Structs
App | |
DeviceDescriptor | |
KeyDescriptor | |
RadioDriver |
Enums
KeyIdModeUserland |
The Key ID mode mapping expected by the userland driver |
Constants
DRIVER_NUM |
Syscall number |
MAX_KEYS | |
MAX_NEIGHBORS |
Functions
decode_key_id |
Decodes a key ID that is in the format produced by the userland driver. |
encode_address |
Encodes as much as possible about an address into a single usize. |
encode_key_id |
Encodes a key ID into a buffer in the format expected by the userland driver. |
encode_pans |
Encode two PAN IDs into a single usize. |