ok2cqr / cqrlog

Linux logging program for amateur radio operators
https://www.cqrlog.com
GNU General Public License v2.0
130 stars 54 forks source link

Add UDP Log Uploader, based on N1MM+ XML format #558

Closed kwirk closed 10 months ago

kwirk commented 1 year ago

This enables sending of contactinfo, contactreplace and contactdelete N1MM+ XML messages, via UDP, similar to N1MM+ and other loggers.

In order to implement the delete properly, the foreign key constraint on the log_changes table has been removed, such that the contact ID can still be generated.

The contact ID is currently based on the cqrlog_main table primary key, and logbook callsign.

ok2cqr commented 1 year ago

Could you rebase it to the current master, please? Thanks a lot.

OH1KH commented 1 year ago

Petr, it's in Alpha_119 PR already.

image

OH1KH commented 1 year ago

I found small bug from it. It is not fixed yet. "If UPload QSO data immediately" is checked but after that "Enable sending UDP Log Messages" is UNchecked adding new qso will prompt in status window that "uploading should be enabled first"

I do not know do other uploads act same way. Just noticed that yesterday evening when used test log that has UDP upload on and I turned It off for other tests.

ok2cqr commented 10 months ago

Could you solve the conflicts, please? I have no idea how it should work. Could you give me some examples why the CQRLOG needs to receive the data from N1MM running on Windows?

OH1KH commented 10 months ago

As said in earlier message this PR was already added to Alpha_119 PR that you have committed. No need to commit it again. It is not for receiving data from N1MM+, it produces same kind of export than N1MM that is used in some cloud log services. That is how I understood it from creator's explain.

If you create UDP listener you can see datagarm with qso data every time qso is logged.

ok2cqr commented 10 months ago

Thank you for explanation, Saku. I'm closing the pull requested.