Wireshark dissector for the ANT+ Protocol
This dissector can be used to analyze ANT+ data captured from a usb device. Note: this is still a work in progress, and as such is expected to contain incomplete profiles.
Use luabundler to create one lua file which is easier to use
luabundler bundle src/main.lua -p "src/?.lua" -o antplus-dissector.luaCopy the generated antplus-dissector.lua file to your Wireshark Plugin Directory
If you want to add profiles to support more sensors, I welcome you to make a PR.
Make sure the usbmon kernel module is loaded: modprobe usbmon,
Then you should be able to capture usb data on usbmon0. For example using tshark:
tshark -i usbmon0 -I -w usb-dump.pcapng -PMake sure you actually have some ant+ data flowing. You can use the antdump utility from antgo to dump all broadcast messages to console, meanwhile tshark should capture all the traffic.