Pinoccio / library-pinoccio

Arduino library for Pinoccio
Other
28 stars 24 forks source link

Add a "sniffer" module #184

Closed matthijskooijman closed 10 years ago

matthijskooijman commented 10 years ago

This module allows capturing packets from the mesh. To use it, enable the module and call sniffer.start:

> module.enable("sniffer")
> sniffer.start

This dumps raw packets to the Serial port (but completely stops all other processing on the Scout!).

By running sniffer.start(1), a binary output mode is selected which works in concert with a small script:

https://github.com/Pinoccio/tool-serial-pcap

amcjen commented 10 years ago

This is brilliant! I'd like to try today :)