Programmatically importing ADIFs

2 posts / 0 new
Last post
W3DJS's picture
Programmatically importing ADIFs

I already read the manual, and couldn't find any information on importing ADIFs via the command line or other automated method.

Is this possible?

If no, can I please make it a feature request? I have a BASH script which auto uploads new QSO information to LotW, and ClubLog. I'd like to import those QSOs into CQRLog automatically as well, as it is my centralized logger under Linux.

Thank you and 73,

-Dave W3DJS

Programmatically importing ADIFs

Hi Dave !

First question:
If you have script that uploads qsos to LotW, and ClubLog and you like them to be uploaded also to cqrlog then what is the tool you use to log QSO ????
Some kind of Windoze logger?

Assume that windoze logger is the source then just add to your script a mysql command to add information directly to cqrlog database.
If you use "save log data to local machine" you must start cqrlog first to access database. If your cqrlog database is at PCs mysql database server (port 3306) you do not need to start cqrlog at all to add a new qso to background running database.

I'm not going to make sample command here as I do not know is that what you really want. (I can do it later)

Then another way to log qso to cqrlog is to use UDP remote.
Cqrlog has NewQSO/File/remote mode for N1MM logger. Using that you can push qso data in ADIF format to UDP port localhost:2333 and it is logged. See cqrlog help file "N1MM interface" file:///usr/share/cqrlog/help/h1.html#ch2c

That method is used by WSJT-X /Configuration/Reporting/Secondary UDP server (depreceated) but it can be used by any program that can send adif data as UDP datagram.