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
Band info in UDP Messages
- IW3HMH
- Site Admin
- Posts: 2927
- Joined: 21 Jan 2013, 14:20
- Location: Quarto d'Altino - Venezia (ITA)
- Contact:
Re: Band info in UDP Messages
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
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
Re: Band info in UDP Messages
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
<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
- DF5WW
- Log4OM Alpha Team
- Posts: 2035
- Joined: 02 May 2013, 09:49
- Location: Kraam, Rhineland Palatinate, Germany
- Contact:
Re: Band info in UDP Messages
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 ....
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.
Re: Band info in UDP Messages
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?
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?
- DF5WW
- Log4OM Alpha Team
- Posts: 2035
- Joined: 02 May 2013, 09:49
- Location: Kraam, Rhineland Palatinate, Germany
- Contact:
Re: Band info in UDP Messages
By the way, the band enumeration in ADIF 3:
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.
Re: Band info in UDP Messages
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
Does Log4OM do anything with the "lookupinfo" message?
Mike G0GJV
- G4POP
- Log4OM Alpha Team
- Posts: 10813
- Joined: 21 Jan 2013, 14:55
- Location: Burnham on Crouch, Essex UK
Re: Band info in UDP Messages
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
Re: Band info in UDP Messages
Understood.