Loading ...
Sorry, an error occurred while loading the content.

Re: Re: [aprsisce] Re: KPC3 configuration at exit of APRSIS32 progam

Expand Messages
  • Rob Giuliano
    The APRSISce/32 WIKI:    http://aprsisce.wikidot.com I think patrs were posted before, but more specifics:    http://aprsisce.wikidot.com/doc:openclosecmd
    Message 1 of 29 , Aug 31, 2013
    • 0 Attachment
      The APRSISce/32 WIKI:
       
      I think patrs were posted before, but more specifics:
       
      Robert Giuliano
      KB8RCO


      ---------------------------------------------

      From: "ke6gyd@..." <ke6gyd@...>
      To: aprsisce@yahoogroups.com
      Sent: Saturday, August 31, 2013 9:10 AM
      Subject: RE: Re: [aprsisce] Re: KPC3 configuration at exit of APRSIS32 progam
       
       We'll keep trying, I'll give it a rest for a while and try to digest all the suggestions.
      Thanks
      Bob
      KE6GYD
      --- In aprsisce@yahoogroups.com, <ke6gyd@...> wrote:
      Gentlemen, The device I was using is a KPC3 (no plus) with one port.  I do have a 3+, but not trying it at this time. Haven't played with it yesterday to further try troubleshooting, but I will say that I'm a neophyte with this terminology and use of the .xml file, so that may be part of the problem. I'll try to digest your comments and suggestions and give it a shot in the next few days and let you know what happens.  I did notice that there seems to be two ways to state an .xml file command such as
      <OpenCmd>CD SOFT!cmd:!1</OpenCmd>  (1 meaning seconds of time)
      vs.
      <OpenCmd>CD SOFT</OpenCmd>

      Is there a document that explains this code so I can understand it better.
      I believe that all the items between the >  < are packet terminal commands.

      Thanks Again
      Bob
      KE6GYD
       
       


      --- In aprsisce@yahoogroups.com, <kb8rco@...> wrote:

      Yep!
        Lynn straightened me out as well!
       
      Robert Giuliano
      KB8RCO

      ---------------------------------------------
      From: Fred Hillhouse <fmhillhouse@...>
      To: aprsisce@yahoogroups.com
      Sent: Friday, August 30, 2013 2:02 PM
      Subject: RE: [aprsisce] Re: KPC3 configuration
       
      I think you missed what I was saying. If "cmd:" is expected, and a 1 second delay is normal without adding anymore information to the string, then, adding more text to define the same thing it isn't needed.
       
      From the WIKI:
      If you don't specify a Response (no !), "cmd:" is expected.
      If you don't specify a Delay (only one !), 1 second is assumed.
       
      As I understand it, adding "!cmd:!1" is redundant but it does make it plain what is going on.
       
      If I was to re-write this example from the WIKI:
      <OpenCmd>KISS ON</OpenCmd> <!— Transmit "KISS ON<cr>", Wait for "cmd:", for 1 second max — >
       
      I could add between "ON" and "<", "!cmd:!1" and achieve the same thing. Again, this is my point.
      <OpenCmd>KISS ON!cmd:!1</OpenCmd> which equals <OpenCmd>KISS ON</OpenCmd>
       
      Looking back at the original TNC OpenCmd entry in the XML:
      <OpenCmd>CD SOFT!cmd:!1</OpenCmd> which is the same as <OpenCmd>CD SOFT</OpenCmd>
       
       
      When I mentioned field, it was in reference to the space that could be used for a "wait for string".
       
      If an open command (OpenCmd) is sent, then the default data for the 2 fields are "cmd:" and "1". Each field needs a "!" in front of it.
       
      There is a special case of a non-default delay and still expecting a default response. The response, even though it is default, must be re-stated.
       
      These are a few examples:
       
      Normal, waits for cmd: for up to 1 second (default):
      <OpenCmd>KISS ON</OpenCmd>
       
      Same as Normal, just entered more explicitly:
      <OpenCmd>KISS ON!cmd:!1</OpenCmd>
       
      Expecting a non-default response and a default delay:
      <OpenCmd>KISS ON!Robert</OpenCmd>
       
      Expecting a non-default response and a non-default delay:
      <OpenCmd>KISS ON!Robert!2</OpenCmd>
       
      Expecting default response (re-stated) and with a non-default delay:
      <OpenCmd>KISS ON!cmd:!2</OpenCmd>
       
      Not expecting a response and with a non-default delay:
      <OpenCmd>KISS ON!!2</OpenCmd>
       
      As I said previously, I am trying to get edumacated and this is how I currently understand it.
       
      And, yes I am famous but not REALLY famous. :)
       
       
      Best regards,
      Fred N7FMH
       
      From: aprsisce@yahoogroups.com [mailto:aprsisce@yahoogroups.com] On Behalf Of Rob Giuliano
      Sent: Friday, August 30, 2013 12:59
      To: aprsisce@yahoogroups.com
      Subject: Re: [aprsisce] Re: KPC3 configuration
       
      I believe a command like
      <OpenCmd>CD SOFT!cmd:!1</OpenCmd>
       
      means ->
         Send command "CD SOFT"
         YES - Look for response from TNC of "cmd:" for 1 seond
       
      What "field" are you talking about?  "...but look for what is in the field ..."
      The "FIELD" between two "!" is "cmd:" -> that's what to look for.
       
      The cmd: is what the KPC-3 sends when in "command mode".
         If it arrives immediately, APRSIS32 will go to the next step.
         If it doesn't arrive in "1" second, APRSIS32 will go to the next step.
       
      That is how I understand it, and it seems to be how APRSIS32 is interfacing with my KPC-3.
       
      I can't get at my KPC-3 right now, but will change it to:
        
         <OpenCmd>CD SOFT!Fred!10</OpenCmd>
      to see if it waits 10 seconds before trying the enxt command. 
         (You REALLY are FAMOUS if my KPC-3 actually responds to your name - hihi )
       
      Robert Giuliano
      KB8RCO

      ---------------------------------------------
      From: Fred Hillhouse <fmhillhouse@...>
      To: aprsisce@yahoogroups.com
      Sent: Friday, August 30, 2013 10:35 AM
      Subject: RE: [aprsisce] Re: KPC3 configuration
       
      Since the KPC in question is going into KISS, apparently the XML is fine. NO changes should be made to any XML at this time!!
       
      This now becomes education for me and anyone wishing to follow along.
       
      Okay Lynn, that is what I thought but then I saw the "OpenCmd" operations in the XML of interest below. I had never looked at this section in the WIKI since I don't have a TNC set up in this fashion.
       
      If I look at this line from below:
      <OpenCmd>CD SOFT!cmd:!1</OpenCmd>
       
      I understand this to say:
      Send command "CD SOFT", and don't look for "cmd:" but look for what is in the field, which just happens to be "cmd:" for up to one second.
       
      I think it can be rewritten and produce the same results as:
      <OpenCmd>CD SOFT</OpenCmd>
       
      And one more from the XML:
      <OpenCmd>RESET!!3</OpenCmd>
      I understand this to say:
      Send command "RESET", don't expect any return, wait for 3 seconds, then continue.
       
       
      Best regards,
       
      Fred N7FMH
       
       
      From: aprsisce@yahoogroups.com [mailto:aprsisce@yahoogroups.com] On Behalf Of Lynn W Deffenbaugh (Mr)
      Sent: Friday, August 30, 2013 09:55
      To: aprsisce@yahoogroups.com
      Subject: Re: [aprsisce] Re: KPC3 configuration
       
      Read it carefully and completely.  It says (just above the example you're referencing):
      If you don't specify a Response (no !), "cmd:" is expected
      Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 8/30/2013 9:35 AM, Fred Hillhouse wrote:
      Is there something missing on this page?
       
      In the samples at the bottom, the one for "KISS ON" appears incomplete when compared with the open commands below. Or is "cmd:" always expected so it really doesn't need to be included?
       
      Best regards,
      Fred N7FMH


      From: aprsisce@yahoogroups.com [mailto:aprsisce@yahoogroups.com] On Behalf Of Rob Giuliano
      Sent: Thursday, August 29, 2013 21:31
      To: aprsisce@yahoogroups.com
      Subject: Re: [aprsisce] Re: KPC3 configuration
       
      From the log, it is not going into KISS mode.
      The only issue I see is an "EXTRA <ONE>   on your first <OpenCmd>
        and it looks like I had a bad "cmd:" after the reset.
      Here is an EXACT copy of my port for my KPC-3:
      <!--RFPort[0]-->
      <RFPort Name="KPC3">
      <Protocol>KISS</Protocol>
      <Device>COM1:9600,N,8,1</Device>
      <RfBaud>1200</RfBaud>
      <OpenCmd>^M~!!0</OpenCmd>
      <OpenCmd>^C~!cmd:!2</OpenCmd>
      <OpenCmd>CD SOFT!cmd:!1</OpenCmd>
      <OpenCmd>XFLOW ON!cmd:!0</OpenCmd>
      <OpenCmd>FULLDUP OFF!cmd:!1</OpenCmd>
      <OpenCmd>INT KISS!!0</OpenCmd>
      <OpenCmd>RESET!!3</OpenCmd>
      <CloseCmd>^192^255^192~!!0</CloseCmd>
      <CloseCmd>^C^C^C~!cmd:!3</CloseCmd>
      <QuietTime>0</QuietTime>
      <Enabled>1</Enabled>
      <XmitEnabled>1</XmitEnabled>
      <ProvidesNMEA>0</ProvidesNMEA>
      <RFtoISEnabled>1</RFtoISEnabled>
      <IStoRFEnabled>1</IStoRFEnabled>
      <MyCallNot3rd>0</MyCallNot3rd>
      <BeaconingEnabled>1</BeaconingEnabled>
      <BeaconPath>WIDE2-1</BeaconPath>
      <BulletinObjectEnabled>1</BulletinObjectEnabled>
      <DXEnabled>1</DXEnabled>
      <DXPath>RFONLY</DXPath>
      <MessagesEnabled>1</MessagesEnabled>
      <MessagePath></MessagePath>
      <TelemetryEnabled>0</TelemetryEnabled>
      <TelemetryPath></TelemetryPath>
      <!--DigiXform-->
      </RFPort> ><!--RFPort[0]-->

      If power is lost while connected, it may stay in KISS mode, If you OPEN and CLOSE the port (or exit and restart APRSIS32 again, it will close and reopen the port properly. If you have an issue the first time, try    >Enables >View Logs >Ports(KPC-3)    >Enables > Port >KPC-3            to close the port then again    >Enables > Port >KPC-3            to re-open the port Then check the log - post if needed Robert Giuliano KB8RCO

      ---------------------------------------------

      From: ke6gyd mailto:ke6gyd@...
      To: aprsisce@yahoogroups.com
      Sent: Thursday, August 29, 2013 8:01 PM
      Subject: [aprsisce] Re: KPC3 configuration
       
      Below are the settings I've done as per your last suggestion. Still can't get KPC3 (NO PLUS) to work except for one time after editing the xml file to your suggestions. Don't know if I changed anything that one time. Maybe I'm missing something? <!--RFPort[0]--> <RFPort Name="KPC-3"> <Protocol>KISS</Protocol> <Device>COM1:9600,N,8,1</Device> <RfBaud>1200</RfBaud> <OpenCmd>^M~1!!0</OpenCmd> <OpenCmd>^C~!cmd:!2</OpenCmd> <OpenCmd>CD SOFT!cmd:!1</OpenCmd> <OpenCmd>XFLOW ON!cmd:!1</OpenCmd> <OpenCmd>FULLDUP OFF!cmd:!1</OpenCmd> <OpenCmd>INT KISS!cmd:!1</OpenCmd> <OpenCmd>RESET!cmd:!3</OpenCmd> <CloseCmd>^192^255^192~!!0</CloseCmd> <CloseCmd>^C^C^C~!!0</CloseCmd> <CloseCmd>TC 1!TS 1</CloseCmd> <CloseCmd>TN 2,0!TN 2,0</CloseCmd> <QuietTime>0</QuietTime> <Enabled>0</Enabled> Log shows: Port(KPC-3):2013-08-29T23:59:52.125 KISS:Missing 0, found C0[101]:<C0 82 A0 9E A8>db<E0 96 94>l<88 B0 A4 E2 9C>l<8A B0>@@<E9 03 F0>/235948h3344.52N/11800.58W>261/000!W85!/A=000007 12.5V 38C HDOP00.9 SATS08 <C0> Looks like it somehow is not in KISS mode? Any suggestions would be appreciated. Thanks Bob KE6GYD --- In mailto:aprsisce%40yahoogroups.com, Rob Giuliano mailto:kb8rco@... wrote: > > APRSIS32 has commands in the XML file that provide "INSTRUCTIONS" to the TNC when the port is OPENED or CLOSED. > These commands can be used to tell the KPC-3 to enter KISS MODE when the port is opened, and to tell the KPC-3 to return to its standard mode when the port is closed. >    KEY-> the port is opened when APRSISce/32 requests use of it >              Application start-up if configured as OPEN on last close >             Also through the menu system: >               >Enables >Ports {your KPC3 port name} > >  You have to edit the XML file in the directory where you APRSIS32.EXE file is (or linked to if you have a complex setup) > Mine is setup with: > <OpenCmd>^M~!!0</OpenCmd> > <OpenCmd>^C~!cmd:!2</OpenCmd> > <OpenCmd>CD SOFT!cmd:!1</OpenCmd> > <OpenCmd>XFLOW ON!cmd:!1</OpenCmd> > <OpenCmd>FULLDUP OFF!cmd:!1</OpenCmd> > <OpenCmd>INT KISS!cmd:!1</OpenCmd> > <OpenCmd>RESET!cmd:!3</OpenCmd> > > <CloseCmd>^192^255^192~!!0</CloseCmd> > <CloseCmd>^C^C^C!~!cmd:!3</CloseCmd> > > The open commands seem like a lot of "extras", but I had soime issues with FLOW and Duplex, so I explicitly set them in the setup. > > Give these a try and let us know > > Robert Giuliano > KB8RCO > > > --------------------------------------------- > > > ________________________________ > From: ke6gyd mailto:ke6gyd@... > To: mailto:aprsisce%40yahoogroups.com > Sent: Thursday, August 29, 2013 10:35 AM > Subject: [aprsisce] Re: KPC3 configuration > >   > > I'm leaning toward on demand and would like the TNC to return to normal mode since I use the TNC mostly for EComm use of Packet. > > What I don't understand in the text below is how to set that up with my KPC-3 and 3+. I'm not familiar with the terminology stated. > > Can APRSIS32 put the TNC in KISS Mode by configuring certain settings or is that set in the TNC? Where can I find the menu's to accomplish this? > > BTW, I also have a TinyTrak4 that I've got working just fine in KISS mode with APRSIS32, but I'd like the ability to use the KPC'3 if I don't have the TT4 available. > > Thanks > Bob > KE6GYD > > --- In mailto:aprsisce%40yahoogroups.com, Rob Giuliano <kb8rco@> wrote: > > > > I TOTALLY disagree! > > > > > > I agree that the best mode is KISS, but whether you CHOOSE to have it continuously in KISS mode (over resets) or CHOOSE to have APRSISce/32 put it in KISS mode on start and set it back to normal (converse) mode after shut down, is COMPLELY up to you. > > > > Which you choose will determine what type of port > >    Continuous Mode - Simple KISS > >    KISS on demand - set OPENCMD and CLOSECMD commands to ensure the TNC (KPC-3) is in the correct mode. > > > > I use the KPC-3, all the time (KB8RCO).  Not the Plus . . . > >   > > > > Robert Giuliano > > KB8RCO > > > > > > --------------------------------------------- > > > > From: Adam Mahnke <kc2ant@> > > To: "mailto:aprsisce%40yahoogroups.com" <mailto:aprsisce%40yahoogroups.com> > > Sent: Tuesday, August 27, 2013 10:16 PM > > Subject: RE: [aprsisce] KPC3 configuration > > > >   > > As I recall, the KPC3 will only work in KISS mode, the trick is locking it into KISS mode across a power reset. > > > > http://aprsisce.wikidot.com/tnc-kpc-3 > > > > > > Adam > > KC2ANT > > To: aprsisce@: ke6gyd@: Wed, 28 Aug 2013 00:10:31 +0000Subject: [aprsisce] KPC3 configuration  > > I've just installed APRSISCE and it's working on the laptop (Vista 32)and receiving Local APRS sations via the internet. I need to use a KPC 3 AND 3+ so I can see stations received via RF. Does the KPC3 have to be in KISS mode? I also use the KPC3 with Outpost Packet Message Manager using Terminal Mode, so connections are already made to radio, TNC and computer using a USB to RS232-adapter. I'm a neophyte at APRS as well as packet but wanting to learn more.ThanksBobKE6GYD > > >
    Your message has been successfully submitted and would be delivered to recipients shortly.