Band info in UDP Messages

General discussions V2
Post Reply
G0GJV
Novice Class
Posts: 5
Joined: 09 Mar 2020, 15:50

Band info in UDP Messages

Post by G0GJV »

I've been asked to extend my contest logger (Minos) by sending out N1MM style UDP messages, in particular by someone who uses Log4OM.

Perhaps you would help me... what information do you expect to receive in the <Band> tag? Some experimentation indicates that N1MM doesn't use ADIF or Cabrillo bands.

Thanks

Mike G0GJV
User avatar
IW3HMH
Site Admin
Posts: 2927
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Band info in UDP Messages

Post by IW3HMH »

Hi
N1MM is sending out an XML without band.
Band is retrieved from <txfreq> and <rxfreq> values.
To transform frequencies into KHz (it's the integer part before decimal separation) i'm using value / 100 from the inbound number

Code: Select all

                                    
                                    if (decimal.TryParse(FwXML.GetXmlKey(node, "txfreq"), out decimal txfreq))
                                    {
                                        qso.Freq = txfreq / 100;
                                        qso.Band = ProgramStorage.RunningConfig.UserBandPlan.GetBand(qso.Freq, out _);
                                    }
Daniele Pistollato - IW3HMH
G0GJV
Novice Class
Posts: 5
Joined: 09 Mar 2020, 15:50

Re: Band info in UDP Messages

Post by G0GJV »

Thanks for that. N1MM does send some band info - I have seen

<band>3.5</band>
<rxfreq>360000</rxfreq>
<txfreq>360000</txfreq>

when doing a quick test.

I will follow your advice and make sure that the frequency is set correctly.

Mike
User avatar
DF5WW
Log4OM Alpha Team
Posts: 2035
Joined: 02 May 2013, 09:49
Location: Kraam, Rhineland Palatinate, Germany
Contact:

Re: Band info in UDP Messages

Post by DF5WW »

Hi Mike,

what N1MM transferres is a frequency and not a band. Band "3.5" only shows the lowest frequency
in MHz. In ADIF standard for a band is used "80m" for that frequency ....
73´s .. Juergen ... ALT-512 SDR (10W) , 50 m random wire at SG-211 autotuner, 2 x Xiegu G90 (20W HF TRX) one as portable Radio. Also TS-790E (40 W) for VHF/UHF with X-50 vertical and Duoband 4-Element LPDA.
G0GJV
Novice Class
Posts: 5
Joined: 09 Mar 2020, 15:50

Re: Band info in UDP Messages

Post by G0GJV »

Looking at

https://n1mmwp.hamdocs.com/appendices/e ... roadcasts/

they say

Freq is the receive frequency represented as values to the tens digit with no delimiter. For example: 160 meters: 181234; 40 meters: 712345; 10 meters: 2812345; 6 meters: 5012345

TXFreq is the transmit frequency represented as values to the tens digit with no delimiter. For example: 160 meters: 181234; 40 meters: 712345; 10 meters: 2812345; 6 meters: 5012345

so it looks like you should be dividing by 10, not 100?
User avatar
DF5WW
Log4OM Alpha Team
Posts: 2035
Joined: 02 May 2013, 09:49
Location: Kraam, Rhineland Palatinate, Germany
Contact:

Re: Band info in UDP Messages

Post by DF5WW »

By the way, the band enumeration in ADIF 3:

1.png
1.png (46.05 KiB) Viewed 5184 times
73´s .. Juergen ... ALT-512 SDR (10W) , 50 m random wire at SG-211 autotuner, 2 x Xiegu G90 (20W HF TRX) one as portable Radio. Also TS-790E (40 W) for VHF/UHF with X-50 vertical and Duoband 4-Element LPDA.
G0GJV
Novice Class
Posts: 5
Joined: 09 Mar 2020, 15:50

Re: Band info in UDP Messages

Post by G0GJV »

This has been about logging contacts from the "contactinfo" message from N1MM - which I now have working, thanks.

Does Log4OM do anything with the "lookupinfo" message?

Mike G0GJV
User avatar
G4POP
Log4OM Alpha Team
Posts: 10813
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Band info in UDP Messages

Post by G4POP »

MikeG0GJV wrote: 10 Mar 2020, 13:53 This has been about logging contacts from the "contactinfo" message from N1MM - which I now have working, thanks.

Does Log4OM do anything with the "lookupinfo" message?

Mike G0GJV
Unfortunately Lele is in the middle of the Coronavirus hot spot in Northern Italy and has many issue to deal with regarding work etc so don't expect a rapid response as he has no time for any thing other than the local emergency.
73 Terry G4POP
G0GJV
Novice Class
Posts: 5
Joined: 09 Mar 2020, 15:50

Re: Band info in UDP Messages

Post by G0GJV »

Understood.
Post Reply