<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Tim,<BR>
<BR>
Below are the pertinent lines from the rpt.conf.<BR>
<BR>
As to the CIV..... <BR>
As we sit now, if I send a *017 command (supposed to load 146.520 simplex), the debug output says this:<BR>
<BR>
String output was �� �'Ms:<BR>
FE FE 20 E0 08 01 FD <BR>
Which from what I find online says that function 08 is set memory mode.<BR>
<BR>
I think, the string should be : FE FE 20 E0 05 00 00 52 06 14 FD . Function 05 being set frequency with acknowledgment. <BR>
Or possibly FE FE 20 E0 00 00 0 052 06 14 FD . Function 00 be set frequency without acknowledgment.<BR>
<BR>
To prove this out, I'll make a file with only those values in it with a hex editor, and blow it out ttyS0 to the xcat and see what happens.<BR>
<BR>
I'll anxiously await to see if anything is wrong.<BR>
<BR>
<BR>
<BR>
functions = functions-remote<BR>
phone_functions = functions-remote<BR>
<BR>
lconn = PP3=1 ; Turn ON Fan<BR>
ldisc = PP3=0 ; Turn OFF Fan<BR>
memory = memory ; Section to hold memory entries (optional)<BR>
remote = xcat ; Radio Command format<BR>
; remote=ft897 for Yaesu FT-897 or<BR>
; remote=rbi for Doug Hall RBI1<BR>
; remote=kenwood for Kenwood mobiles such as the TMG707A<BR>
; remote=ic706 for the Icom IC-706 <BR>
; remote=xcat for Syntor X with XCAT board<BR>
civaddr = 32 ; CI-V address in DECIMAL<BR>
ioport = /dev/ttyS0 ; Specify port for serial port (optional)<BR>
iospeed = 19200 ; COMM port speed<BR>
dusbabek = yes ; either you need it or you don't<BR>
authlevel = 0 ; Remote base authentication level<BR>
; authlevel = 0 : Anyone can use it<BR>
; authlevel = 1 : Requires log in, Waits for Tx key to ask for it<BR>
; authlevel = 2 : Requires log in, asks for it automously<BR>
;mars = 1 ; set=1 for IC-706 w/MARS mods (optional)<BR>
;<BR>
remote_inact_timeout=0 ; Inactivity timer for remote base nodes only (set to 0 to disable).<BR>
remote_timeout=5400 ; Session time out for remote base. (set to 0 to disable)<BR>
split2m = 600 ; Set the default tx split to 600 KC<BR>
<BR>
[functions-remote]<BR>
0=remote,1 ; Retrieve Memory<BR>
1=remote,2 ; Set freq. example : *1146*520*1 for 146.520 (-) Split<BR>
; *1146*970*2 for 146.970 ( ) Simplex<BR>
; *1147*330*3 for 147.330 (+) Split<BR>
2=remote,3 ; Set tx PL tone<BR>
3=remote,4 ; Set rx PL tone<BR>
5=macro,1 ; Call MACROS<BR>
40=remote,100 ; Rx PL off<BR>
41=remote,101 ; Rx PL on<BR>
42=remote,102 ; Tx PL off<BR>
43=remote,103 ; Tx PL on<BR>
44=remote,104 ; Low Power<BR>
45=remote,105 ; Medium Power<BR>
46=remote,106 ; High Power<BR>
711=remote,107 ; Bump -20<BR>
714=remote,108 ; Bump -100<BR>
717=remote,109 ; Bump -500<BR>
713=remote,110 ; Bump +20<BR>
716=remote,111 ; Bump +100<BR>
719=remote,112 ; Bump +500<BR>
721=remote,113 ; Scan - slow<BR>
724=remote,114 ; Scan - quick<BR>
727=remote,115 ; Scan - fast<BR>
723=remote,116 ; Scan + slow<BR>
726=remote,117 ; Scan + quick<BR>
729=remote,118 ; Scan + fast<BR>
79=remote,119 ; Tune (brief AM transmission for automatic antenna tuner)<BR>
61=remote,5 ; Long status query<BR>
62=remote,140 ; Short status query<BR>
67=remote,210 ; Send a *<BR>
69=remote,211 ; Send a #<BR>
91=remote,99,CALLSIGN,LICENSETAG ; Remote base login.<BR>
<BR>
<BR>
[memory]<BR>
; Memories for remote bases<BR>
;Syntax : CC=RRR.RRR,PPP.P,AAAAA<BR>
; C=Channel Number<BR>
; R=RX Frequency<BR>
; P=PL Frequency<BR>
; A=Attributes<BR>
;<BR>
;Attributes : a=AM b=LSB f=FM u=USB<BR>
; l=Low Power m=Medium Power h=High Power<BR>
; -=Minus TX Offset s=Simplex +=Plus TX Offset<BR>
; t=TX PL on r=RX PL on<BR>
;<BR>
init=145.670,123.0,shrt ;Set to this on startup<BR>
<BR>
00=145.510,123.0,sht ;Simplex, High Power, PL Encode<BR>
01=145.530,123.0,sht ;Simplex, High Power, PL Encode<BR>
02=145.550,123.0,sht ;Simplex, High Power, PL Encode<BR>
03=145.570,123.0,sht ;Simplex, High Power, PL Encode<BR>
<BR>
<SNIP><BR>
17=146.520,123.0,sht ;National Simplex/Calling<BR>
<BR>
<SNIP><BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<I>Robert A. Poff</I><BR>
<I>Loganville, PA</I><BR>
<BR>
<B><I><A HREF="http://wb3awj.hobby-site.org/loon.htm">S/V Loon</A></I></B><BR>
<I><FONT SIZE="2">1983 Hunter 34</FONT></I><BR>
<I><FONT SIZE="2">Havre de Grace, MD.</FONT></I><BR>
<BR>
WB3AWJ<I> - Allstar 27784</I><BR>
<I>Powered by Linux</I> <BR>
<BR>
</TD>
</TR>
</TABLE>
On Thu, 2013-08-01 at 15:46 -0700, Tim Sawyer wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Maybe you have something wrong with your remote [functions] stanza. Let's see that that looks like on your system.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
--
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Tim
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
:wq
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
On Aug 1, 2013, at 3:19 PM, Robert A. Poff WB3AWJ <<A HREF="mailto:wb3awj@comcast.net">wb3awj@comcast.net</A>> wrote:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
Still digging on my Agile Remote.<BR>
<BR>
Acid with a Syntor X and XCAT.<BR>
When I try to set a frequency, it's sending the CIV string to retrieve a memory from the radio.<BR>
Not the string needed to set it from one of the memory entries in rpt.conf.<BR>
<BR>
Running Asterisk in the foreground with all the debug turned up here's what I see on the console executing a *017 command :<BR>
<BR>
@@@@ action: remote, param = 1<BR>
@@@@ table index i = 5<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17558 function_remote: 28260 param=1 digitbuf=17 source=2<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17483 get_mem_set: digitbuf=17<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:4225 retrieve_memory: memory=17 block=memory<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10476 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=38<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10760 rpt_telemetry: Tracepoint rpt_telemetry() exit<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:17486 get_mem_set: freq=146.520 res=0<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:12849 collect_function_digits: rv=3<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10476 rpt_telemetry: Tracepoint rpt_telemetry() entered mode=3<BR>
[Aug 1 15:06:09] NOTICE[2718]: app_rpt.c:10760 rpt_telemetry: Tracepoint rpt_telemetry() exit<BR>
Mode<BR>
[Aug 1 15:06:09] NOTICE[2731]: app_rpt.c:13870 serial_remote_io: ioport=/dev/ttyS0 baud=14 iofd=0x19<BR>
String output was �� �'Ms:<BR>
FE FE 20 E0 08 01 FD <BR>
[Aug 1 15:06:09] NOTICE[2732]: app_rpt.c:8420 wait_interval: Delay interval = 2000<BR>
[Aug 1 15:06:10] WARNING[2731]: app_rpt.c:13910 serial_remote_io: -99999 Serial device not responding on node 28260<BR>
Offset Initial/Simplex<BR>
Frequency<BR>
Offset<BR>
CTCSS<BR>
Frequency<BR>
[Aug 1 15:06:10] NOTICE[2731]: app_rpt.c:8420 wait_interval: Delay interval = 2000<BR>
[Aug 1 15:06:11] NOTICE[2732]: app_rpt.c:8424 wait_interval: Delay complete<BR>
-- Hungup 'Zap/pseudo-1521668112'<BR>
[Aug 1 15:06:12] NOTICE[2731]: app_rpt.c:8424 wait_interval: Delay complete<BR>
-- <Zap/pseudo-1162233705> Playing 'rpt/invalid-freq' (language 'en')<BR>
<BR>
At one point I added a statement to printf myrpt->remoterig variable in the check_freq function.<BR>
It returned "myrpt->remoterig=Mode" ?????<BR>
Shouldn't that be "xcat", or "remote_rig_xcat" ?<BR>
<BR>
Any suggestions where I should be looking?<BR>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
Robert A. Poff<BR>
Loganville, PA.<BR>
<BR>
<BR>
"Lieutenant, target the offending power boat and launch photon torpedoes"
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE TYPE=CITE>
_______________________________________________<BR>
App_rpt-users mailing list<BR>
<A HREF="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</A><BR>
<A HREF="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</A><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
</BODY>
</HTML>