rpi-uwb-sniffer
          Hardware
          RPI + UWB

          This software allows you to quickly turn a Raspberry PI into an Ultra-Wide-Band sniffer (it leverage the bitters library and the dw1000 driver to talk to the dw1000 chip).

          For convenience, captured packets are forwarded to the ethernet interface so they can easily be processed/dissected with wireshark.

          Command lines for packet sniffing
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          
          # Sniffing UWB packets on the RPI and forwarding them to Ethernet network
          #
          # UWB chip is tuned for capturing on channel 5 with a 6.8Mb/s baudrate
          # and preambule code 10.
          #
          uwb-sniffer -i eth1 -P 6666                                 \
              -c 5 -b 6800 -p 64                                      \
              --tx_pcode 10 --rx_pcode 10 --tx_plen 128 --rx_pac 8
          
          # Analysing received packet on the desktop environment
          # (it is better to use wireshark that tcpdump)
          #
          tcpdump ether proto 6666 and ether src aa:bb:cc:dd:ee:ff