<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div aria-label="Compose body">Well Sam, it's a long story......<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">The shorter version is I had trouble commanding the XCAT. After lots of messing about I found that if I connected to the XCAT with a Wndoze machine<br></div><div aria-label="Compose body">set the config, and played with it for a while, the first time I tried with app_rpt it worked. But not afterward.....<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">So I made up a little set config function into app_rpt.c and called it when commanding the XCAT. </div><div aria-label="Compose body">Yep, it's a patch to gloss over something else. But it got it working.<br></div><div aria-label="Compose body">Nothing earth shattering. But I've had it working and on the air for a year or two now.<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">Here's the set_config_xcat function:<br></div><div aria-label="Compose body"><br></div><div>static int set_config_xcat(struct rpt *myrpt)<br>{<br> unsigned char cmdstr[10];<br><div><br></div> /*set the fixed XCAT Config */<br> cmdstr[0] = cmdstr[1] = 0xfe;<br> cmdstr[2] = myrpt->p.civaddr;<br> cmdstr[3] = 0xe0;<br> cmdstr[4] = 0xaa; /* Set config command */<br> cmdstr[5] = 0x04; /* Sub command */<br> cmdstr[6] = 0x03; /* 440 Band - use for 2m and don't send COS*/<br> cmdstr[7] = 0x00; /* No user bits set */<br> cmdstr[8] = 0xfd;<br> return(civ_cmd(myrpt,cmdstr,9));<br><div><br></div>}<br><div><br></div><br>And put a call to the new function into set_xcat :</div><div><br><div><br></div>static int set_xcat(struct rpt *myrpt)<br>{<br> int res = 0;<br> <br> /* Set XCAT Fixed config */<br> if(debug)<br> printf("Setting XCAT Config\n");<br> if (!res)<br> res = set_config_xcat(myrpt);<br><div><br></div> /* select XCAT Mode/Channel 1 */<br> if(debug)<br> printf("Setting XCAT to Mode 1\n");<br> if (!res)<br> res = simple_command_xcat(myrpt,8,1);<br><div><br></div> /* set Freq */<br><div><br></div> if(debug)<br> printf("Frequency\n");<br> if(res)<br> res = set_freq_xcat(myrpt, myrpt->freq); <br><div><br></div> if(debug)<br> printf("Offset\n");<br> if(!res)<br> res = set_offset_xcat(myrpt, myrpt->offset); /* Offset */<br> if(debug)<br> printf("CTCSS\n");<br> if (!res)<br> res = set_ctcss_freq_xcat(myrpt, myrpt->txplon ? myrpt->txpl : "0.0", <br> myrpt->rxplon ? myrpt->rxpl : "0.0"); /* Tx/Rx CTCSS */<br> /* set Freq */<br> if(debug)<br> printf("Frequency\n");<br> if(!res)<br> res = set_freq_xcat(myrpt, myrpt->freq); <br><div><br></div><br> return res;<br>}<br><div><br></div></div><div><br></div><div>To make things simpler for users, what I've done on the other nodes here in York County is add macros in each of their rpt.conf to command the agile base.<br></div><div>Example : <br></div><div>201=*428260*5201 ;Select Channel 01 on 2m remote base<br>202=*428260*5202 ;Select Channel 02 on 2m remote base<br>203=*428260*5203 ;Select Channel 03 on 2m remote base</div><div><br></div><div>And for quicker access to certain channels, some macros where function code is the KHz of the frequency. <br></div><div>For example below, dialing *53520 on one of the other nodes, will connect to the agile base, and select the channel for 146.520.<br></div><div><br></div><div>3330 = *8401*328260*428260*5242# ;Disc all & connect to 2m Base, change to 147.330<br>3520 = *8401*328260*428260*5217# ;Disc all & connect to 2m Base, change to 146.520<br>3550 = *8401*328260*428260*5219# ;Disc all & connect to 2m Base, change to 146.550<br>3580 = *8401*328260*428260*5221# ;Disc all & connect to 2m Base, change to 146.580<br>3700 = *8401*328260*428260*5243# ;Disc all & connect to 2m Base, change to 146.700<br><div><br></div><div>Something that I've been playing with lately using the agile base is to have a hub node with "archivedir=" set connect to the base every morning at 7AM.<br></div><div>Tune to marine channel 22 and record the daily Coast Guard Safety and Weather broadcast from Baltimore. Disconnect at 8 AM, put it into a tarball and shove that out to a convenient FTP server where I can grab it later in the day if I want to. I don't quite have everything working there yet.<br></div><div><br></div><div><br></div></div></div></body></html>