Determine DVmega FW version

A while ago I published some shell code that allowed for detection of the firmware version on DVmegas. That did not work realiably. So I made a small C snippet based on the MMDVM code by Jonathan G4KLX. The source can be found under [1]. It should compile on any Linux system without errors.

Usage is simple:

$ ./DVmega-version /dev/ttyUSB0 
Version: 1 Description: DVMEGA HR2.29

Feel free to use it to determine the FW version on your device. It works even with MMDVM modems if you don’t know what firmware is installed on the MMDVM.