Code Monkey home page Code Monkey logo

Comments (3)

e-rk avatar e-rk commented on May 25, 2024

To me it seems that there might be some problem with writing the channel setting to Wireshark's preferences file.
Can you please run tshark -G currentprefs and verify the value of extcap._dev_ttyacm0.channel property before and after starting the capture?
On my system the value changes from the default channel 11 to the desired channel after I start the capture.
If the value doesn't change, there might be some problem with write permissions to the preferences file.

from nrf-sniffer-for-802.15.4.

IanAber avatar IanAber commented on May 25, 2024

I checked the settings using the shark -G currentprefs command as you describe and I see that the value for the channel is correctly recorded as 14.

If I start Wireshark and begin a capture session by selecting the Nordic dongle without changing any of my settings it begins capturing on channel 14 as I would expect. If I then click the light green restart current capture button third from the left on the toolbar, the dongle switches to channel 11, which is the default, and now captures traffic from my other Zigbee network. Closing out of Wireshark and starting again it will initially capture on channel 14 as defined in my preferences.

If I edit the Python script to change the default to channel 14 and I set my preferences to 11 on starting afresh the dongle will capture on channel 11 but on clicking restart will switch to channel 14. This suggests to me that the restart is not using the value found in any preferences file but simply restarting the capture using the hard coded value in the Python script.

from nrf-sniffer-for-802.15.4.

e-rk avatar e-rk commented on May 25, 2024

Hi. Sorry for taking this long to respond.
Can you please check the command line arguments that the extcap script is started with by the Wireshark? The argument of interest would be --channel. If the channel after resetting the capture is a correct one and the sniffer still listens on channel 11 for some reason it would definitely be an extcap issue that we would have to look into. So far I have no clue what is going wrong.

from nrf-sniffer-for-802.15.4.

Related Issues (20)

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.