This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there up-to-date doc on nRF Sniffer 2.0? (using Wireshark and nRF51-DK)

I have the nRF51-DK and have installed Python etc. and the nrf_sniffer_2.0.0-beta-1_51296aa.

3 .hex files are in that installer: sniffer_pca10028_51296aa.hex, sniffer_pca10031_51296aa.hex,

and sniffer_pca10040_51296aa.hex.  I have no idea which one to use.  None of the documentation

talks about this.  I tried the 3rd one and LED1 never blinks (as "user guide" says it should) even

though I've got plenty of BLE traffic  close by.  I don't know if there are any jumper settings

needed on the board, or not.

Please advise!

Thank you!

Jim

Parents
  • Joakim, thanks for clarifying the .hex naming.  I have gone back and uninstalled Python 3.x and replaced it with 2.7.  I then went through all the staps in the UG v.2.1, and reached the point where it appears the firmware is running on the nRF51-DK.   LED1=OFF, LED2=BLINKing irregularly, LED3,4=ON.  Wireshark 2.6.2 does NOT show a "View->Interface Toolbars" menu item.  I've tried to run the "nrf_sniffer.bat" in the ...wireshark\extcap folder, and get the following:

    // C:\Program Files (x86)\Wireshark\extcap>python --version
    // Python 2.7.15

    C:\Program Files (x86)\Wireshark\extcap>nrf_sniffer.bat
    Traceback (most recent call last):
    File "C:\Program Files (x86)\Wireshark\extcap\nrf_sniffer.py", line 60, in <module>
    import serial
    ImportError: No module named serial

    I'm suspecting this has something to do with "pyserial", but have no idea.  In installing that, I do recall running "setup.py" with no apparent errors.

    Any suggestions?

Reply
  • Joakim, thanks for clarifying the .hex naming.  I have gone back and uninstalled Python 3.x and replaced it with 2.7.  I then went through all the staps in the UG v.2.1, and reached the point where it appears the firmware is running on the nRF51-DK.   LED1=OFF, LED2=BLINKing irregularly, LED3,4=ON.  Wireshark 2.6.2 does NOT show a "View->Interface Toolbars" menu item.  I've tried to run the "nrf_sniffer.bat" in the ...wireshark\extcap folder, and get the following:

    // C:\Program Files (x86)\Wireshark\extcap>python --version
    // Python 2.7.15

    C:\Program Files (x86)\Wireshark\extcap>nrf_sniffer.bat
    Traceback (most recent call last):
    File "C:\Program Files (x86)\Wireshark\extcap\nrf_sniffer.py", line 60, in <module>
    import serial
    ImportError: No module named serial

    I'm suspecting this has something to do with "pyserial", but have no idea.  In installing that, I do recall running "setup.py" with no apparent errors.

    Any suggestions?

Children
No Data
Related