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

nRF Sniffer integration for 802.15.4 in a python scipt (Pcap file problems)

I have developed a python script to sniff the OpenThread network using the Nrf802154Sniffer() library, which generates a pcap file.

 I used it with the nRF Sniffer hardware (nRF52840 DK and nRF52840 Dongle).


The problem is that in the pcap file generated, I found that there are packets that are not well analyzed, but in Wireshark it sniffs packets well.

Do you have any idea where this problem comes from.

thank you in advance

Best regards,

Ayoub GH

Parents Reply
  • I thank you for your answer and for all this very useful information, it allowed me to understand well the problem of the sniffer.
    I have two other questions to ask you about this problem:
    - Why does it sometimes work very well and I have no problem decrypting package with python sniffer ?
    - Since it seems it's a problem of configuration of sub layers (Coap, 6LowPan, IPv6, IEEE 802.15.4 ...) in my python script, is there a way to configure the sniffer in Python? At the moment, I only use extcap_capture function, however in wireshark, I followed the explainations in the folowing documentation :
    infocenter.nordicsemi.com/.../nRF_Sniffer_802154_User_Guide_v0.7.2.pdf
    Whould you know the needed function to do a correct configuration with Python librarires?

    Best regards,
    Ayoub GH
Children
No Data
Related