components

Module udp_mux

Source
Expand description

Component to initialize the udp/6lowpan interface.

This provides one Component, UDPMuxComponent. This component exposes a MuxUdpSender that other components can implement UDPSenders on top of to use the UDP/6Lowpan stack.

§Usage

   let (udp_mux, udp_recv) = UDPMuxComponent::new(
       mux_mac,
       DEFAULT_CTX_PREFIX_LEN,
       DEFAULT_CTX_PREFIX,
       DST_MAC_ADDR,
       src_mac_from_serial_num,
       local_ip_ifaces,
       mux_alarm,
       MAX_PAYLOAD_LEN,
   )
   .finalize(components::udp_mux_component_static!());

Structs§

Constants§