Code Monkey home page Code Monkey logo

pyccsniffer's People

Contributors

andrewdodd avatar jonathonreinhart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyccsniffer's Issues

file pyCCSniffer.py is not running and showing this error usb.core.NoBackendError: No backend available

I already install the pyusb library but still getting this error

Traceback (most recent call last):
File "C:\Users\670296728\Downloads\pyCCSniffer-master\pyCCSniffer-master\pyCCSniffer.py", line 236, in
snifferDev = CC253xEMK(handler, args.channel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\670296728\Downloads\pyCCSniffer-master\pyCCSniffer-master\cc253xemk.py", line 76, in init
self.initialise()
File "C:\Users\670296728\Downloads\pyCCSniffer-master\pyCCSniffer-master\cc253xemk.py", line 79, in initialise
self.dev, self.vendor_product = _select_device(
^^^^^^^^^^^^^^^
File "C:\Users\670296728\Downloads\pyCCSniffer-master\pyCCSniffer-master\cc253xemk.py", line 26, in _select_device
return usb.core.find(idVendor=vp.idVendor,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\670296728\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 1309, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

Firmware

What firmware is supposed to be loaded?

The device does not support the specified langid

When running sudo python pyCCSniffer.py with Python 2.7.9 The following exception occurs:

Traceback (most recent call last):
  File "pyCCSniffer.py", line 520, in <module>
    snifferDev = CC2531EMK(handlerDispatcher, args.channel)
  File "pyCCSniffer.py", line 293, 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 318, in get_string
    raise ValueError("The device does not support the specified langid")
ValueError: The device does not support the specified langid

It seems to be related to pyusb, but I have no real experience with python so I don't really know.

I have the following python modules installed:

RPi.GPIO==0.6.3
argparse==1.2.1
chardet==2.3.0
colorama==0.3.2
future==0.16.0
html5lib==0.999
ndg-httpsclient==0.3.2
pyOpenSSL==0.13.1
pyasn1==0.1.7
python-apt==0.9.3.12
pyusb==1.0.0
requests==2.4.3
six==1.8.0
urllib3==1.9.1
wheel==0.24.0
wsgiref==0.1.2

For pyusb I have installed libusb:

libusb-0.1-4/stable,now 2:0.1.12-25 armhf [installed]
libusb-1.0-0/stable,now 2:1.0.19-1 armhf [installed]
libusb-1.0-0-dbg/stable,now 2:1.0.19-1 armhf [installed]
libusb-1.0-0-dev/stable,now 2:1.0.19-1 armhf [installed]
libusb-1.0-doc/stable,now 2:1.0.19-1 all [installed]

CC2531 output when there is no activity in the channel

Hi. I've been using your code for sniffing 802.15.4 packets using the CC2531 dongle. I would just like to ask, what is the meaning of a series of 4 bytes received from the dongle when there is no activity in the channel.

I also asked this question in the TI forum and I showed there an example of what I'm currently seeing in the terminal when there is no activity.

https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/p/807758/2991556#2991556

I also hope that I can get your email as I would like to ask questions regarding this sniffer code.

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.