Skip to content

Conversation

@bitcubik
Copy link

Hello,

this fixes an issue where Wireshark cannot parse packets in the Nordic BLE format when the payload length in the header is not set correctly. This adds a function hook to modify packet headers right before writing them to the output file and uses it to correctly set the payload length in the Nordic header.

The only (unofficial?) documentation of the protocol that Nordic sniffers use I could find is https://github.com/wireshark/wireshark/blob/master/epan/dissectors/packet-nordic_ble.c. However, this does not specify how to actually detect the protocol legacy version 0; if you know how to do that, feel free to add support for it 😄

Cheers,
bitcubik

Wireshark cannot parse packets when payload length is not set correctly. This adds a hook to modify packet headers right before writing them to the output file and uses it to correctly set the payload length in the Nordic header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant