Ping app used to verify the Tock OS 6LoWPAN/IEEE 802.15.4 stack implementation. Forwards IPv6 ICMP packets to and from the Internet via Linux.
End goal is a setup like this:
[imix running Tock OS] ))) ((( [imix running Tock OS] <----> [Raspberry Pi running Linux] <----> Internet
The second imix will transfer packets to and from the Raspberry Pi using SLIP.
serial_log.py
: Reads from serial on the Raspberry Pi and prints to the console.tun_ping.py
: A first stab at stuffing raw bytes into a Linux network interface by setting up a tunnel device.setup_interfaces.sh
: Sets up wpan and lowpan interfaces on the Raspberry Pi.
radio_rx_slip_tx/
: Tock userspace program that implements SLIP in one direction. Writes all radio packets received to serial usingprintf()
.lowpan_frag_dummy.rs
: Tock kernel space program that sends ICMP packets over IEEE 802.15.4.pyCCSniffer
: Uses a Texas Instruments CC2531emk USB dongle to sniff packets, dissect them, and stuff them into a WPAN interface on Linux. @ptcrews and I were using this to develop the outbound side of the ping app (the TI dongle can only receive IEEE 802.15.4 frames, not transmit).