# Clone driver repo
git clone 'https://github.com/rosvall/cc2531_linux.git'
cd cc2531_linux
# Build
make
# Install module
sudo make modules_install
Download the oem flasher
# Flash bootloader to CC2531 dongle (that runs stock sniffer firmware)
python oem_flasher.py stub.bin bootloader/bootloader.bin
Download the WPAN firmware
# Flash firmware to CC2531 through USB device firmware upgrade
dfu-util -D wpan_fw.dfu