andrewdodd / ccsniffpiper Goto Github PK
View Code? Open in Web Editor NEWccsniffpiper
License: GNU General Public License v3.0
ccsniffpiper
License: GNU General Public License v3.0
Your csniffpiper was very helpful to me. I've figured out a few changes to make ccsniffpiper work with the CC2540 and generate BLE traces that Wireshark can handle. What's the best way to make this available to other people? Should I fork your code? Attach a patch file?
Hi Andrew
I tried to run the sniffer in two Linux machines, one is a RPI with Raspbian and the other is an Ubuntu 14.04 LTS an I got the same error, just after starting the capture:
~/ccsniffpiper$ sudo python ccsniffpiper.py
FIFO /tmp/ccsniffpiper exists. Using it
Commands:
c: Print current RF Channel
n: Trigger new pcap header before the next frame
h,?: Print this message
[11,26]: Change RF channel
s: Start/stop the packet capture
q: Quit
s
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "ccsniffpiper.py", line 337, in recv
bytesteam = self.dev.read(CC2531.DATA_EP, 4096, 0, CC2531.DATA_TIMEOUT)
TypeError: read() takes at most 4 arguments (5 given)
Thanks,
Marcio
Hi, i'm running ccsniffpiper on MacOS Catalina and recently came across this error when trying to run the programme. Could you possibly let me know what this could be and a fix. Many thanks
FIFO /tmp/ccsniffpiper exists. Using it
Commands:
c: Print current RF Channel
n: Trigger new pcap header before the next frame
h,?: Print this message
[11,26]: Change RF channel
s: Start/stop the packet capture
q: Quit
Traceback (most recent call last):
File "ccsniffpiper.py", line 568, in
snifferDev = CC2531(handlerDispatcher, args.channel)
File "ccsniffpiper.py", line 309, in init
self.dev = usb.core.find(idVendor=0x0451, idProduct=0x16ae)
File "/Users/DavesMac/Library/Python/2.7/lib/python/site-packages/usb/core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
Hi!
I have try to run ccsniffer on ubuntu but get this error:
Traceback (most recent call last):
File "./ccsniffpiper.py", line 549, in
snifferDev = CC2531(handlerDispatcher, args.channel)
File "./ccsniffpiper.py", line 298, in init
self.name = usb.util.get_string(self.dev, 256, 2) # get name from USB descriptor
File "/usr/local/lib/python2.7/dist-packages/usb/util.py", line 328, in get_string
raise ValueError("The device does not support the specified langid")
ValueError: The device does not support the specified langid
Do have any ideas how to fix this?
I installed ccsniffpiper on an iMac running Catalina and set it up with Wireshark 3.03 and a CC2531 dongle. Every packet listed in Wireshark is shown with Bad FCS.
Hello,
Would like to try this tool but my CC2531 appear with different USB-id (idVendor=0451, idProduct=16a8), what is the correct firmware to use with this tool? If you could add it to the github repository would be appreciated!
Best Regards,
Mattias Törnblad
❯ python ccsniffpiper.py
Traceback (most recent call last):
File "ccsniffpiper.py", line 55, in
import usb.core
ImportError: No module named usb.core
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.