External UDP broadcasts


External broadcasts can be used by third party software to get info from a contest in progress to make for example reports or have an up-to-date web site with all infromation on it. UDP broadcasts stay in the same network (same subnet) and can't be broadcasted directly over the internet. Mostly this information has to be kept within the contest station due to contest rules or ethics.

There are more UDP broadcasts in the program but not very usefull for users. Like the broadcasts to the N1MM rotor program and the score reporting program, they are not explained here.

Main program

For external UDP broadcasts there are some lines to add to the N1MM logger. ini file. This has to be done with an external text editor (there is no UI for this option).  Not a wordprocessor!
When the section [ExternalBroadcast] is not there is has to be added. An example is:

[ExternalBroadcast]
DestinationIPs=127.0.0.1 192.168.1.56
DestinationPort=12060
IsBroadcastAppInfo=True
IsBroadcastContact=True
IsBroadcastRadio=True

DestinationIPs=Start with IP address 127.0.0.1 (the pc you are running on) and add other PC's IP-addresses (space delimited).
You can send to only one destination port.
DestinationPort=The UDP port to use. Defaults to 12060
IsBroadcastAppInfo=TrueBroadcast Application Info. Defaults to False
IsBroadcastContact=True  Broadcast Contact Info. Defaults to False
IsBroadcastRadio=TrueBroadcast Radio Info. Defaults to False

The dots in the example UDP broadcasts are TAB characters.

IsBroadcastAppInfo=True

This code is broadcasted on the DestinationPort (default: 12060) when IsBroadcastAppInfo=True in the section [ExternalBroadcast] from the file N1MM logger.ini at the moment that the Select Contest dialog is closed with OK (and a contest will be loaded and shown on screen).

Example UDP broadcast

<?xml version="1 .0"?>
<appinfo>
.<dbname>C:\Program Files\N1MM logger\contests-2007.MDB</dbname>
.<contestnr>71</contestnr>
.<contestname>CQWWSSB</contestname>
</appinfo>

IsBroadcastContact=True

This code is broadcasted when IsBroadcastContact=True in the section [ExternalBroadcast] from the file N1MM logger.ini at the moment a qso is logged.

Example UDP broadcast
<?xml version="1.0"?>
<contactinfo>
.<contestname>CQWWSSB</contestname>
.<contestnr>71</contestnr>
.<timestamp>22-6-2008 7:04:00</timestamp>
.<mycall>PA1M</mycall>
.<band>14</band>
.<rxfreq>1420100</rxfreq>
.<txfreq>1420100</txfreq>
.<operator>PA1M</operator>
.<mode>USB</mode>
.<call>K1TTT</call>
.<countryprefix>K</countryprefix>
.<wpxprefix>K1</wpxprefix>
.<stationprefix>PA1M</stationprefix>
.<continent></continent>
.<snt>59</snt>
.<sntnr>233</sntnr>
.<rcv>59</rcv>
.<rcvnr>0</rcvnr>
.<gridsquare></gridsquare>
.<exchange1></exchange1>
.<section></section>.
.<comment></comment>
.<qth></qth>
.<name></name>
.<power></power>
.<misctext></misctext>
.<section>14</section>
.<zone>5</zone>
.<prec></prec>
.<ck>0</ck>
.<ismultiplier1>1</ismultiplier1>
.<ismultiplier2>0</ismultiplier2>
.<ismultiplier3>0</ismultiplier3>
.<points>3</points>
.<radionr>1</radionr>
</contactinfo>

IsBroadcastRadio=True

This code is broadcasted when IsBroadcastRadio=True in the section [ExternalBroadcast] from the file N1MM logger.ini at the moment that the frequencyof the radio changes. The RadioNr in the XML ouput is the Radio number when in SO2R or the VFO number when in SO1V or SO2V.

Example UDP broadcast
<?xml version="1.0"?>
<RadioInfo>
.<RadioNr>2< /RadioNr>
.<Freq>2120000</Freq>
.<TXFreq>2120000</TXFreq>
.<Mode>CW</Mode>
.<OpCall>PA1M</OpCall>
.<IsRunning>False</IsRunning>
</RadioInfo>