cc2540
cc2540 copied to clipboard
Somewhat working pcap output
I got a CC2540 dongle (different manufacturer) and got the code running on MacOS.
- One needs to claim an interface first, otherwise one gets error messages for bulk transfers.
Verified with USB sniffer on Windows: the USB dongle at hand has the same protocol.
Additionally I replaced the console dump by pcap file output, suitable to be read by wireshark.
Motivated by https://github.com/christianpanton/ccsniffer/blob/master/ccsniffer.py verified the payload: It is BLE link layer protocol.
Used it to sniff advertisement packets of several devices.
Thanks for your great starting point