Callsign
Results 1 to 7 of 7

Thread: APRS plugin (uiv32x visual basic)

ad: L-HROutlet
ad: l-assoc
ad: l-WarrenG
ad: l-tentec
ad: l-rl
ad: l-Waters
ad: l-innov
ad: l-gcopper
ad: l-sarc
  1. #1
    Join Date
    Sep 2011
    Location
    Curitiba-Paraná south Brazil
    Posts
    15

    Question APRS plugin (uiv32x visual basic)

    Anyone help me!

    How can i send telemetry data with this program uiv32x made by Visual Basic v5?

    Private Sub mUIV_NotifyTelemetry(strCallsign As String, strTo As String, strDigis As String, strHeader As String, intSource As UIView32.FRAME_SOURCE, strTelemetry As String)

    Dim strA As String
    strA = strCallsign & ">" & strTo
    If strDigis <> "" Then strA = strA & "," & strDigis
    strA = strA & ":" & strTelemetry
    ShowText txtStatus, strA & vbCrLf
    End Sub

    i cant understand each variable!

    Sorry about my English, 73 !

  2. #2
    Join Date
    Mar 2011
    Location
    Waynesboro VA, US
    Posts
    1,003

    Default

    They aren't variables, they are strings.

    I don't know much about the program you've mentioned, but the code snippet is building a string of text called strA from the other strings and adding a few characters to format it. If you were calling me, I think:

    strCallsign = "PU5TOK"
    strTo = "KK4AMP"
    StrDigis = "Hello there!" (I think. someone else check me here if they know more about this particular program)

    strA would be created as blank. The first line after the DIM for it would make strA become:
    PU5TOK>KK4AMP

    If strDigis was empty, strA would be unmodified by the next line. However, it isn't in this example so strA becomes:
    PU5TOK>KK4AMP, Hello there!

    strA then gets a colon ":" and telemetry added to the end of the line. Don't ask me about telemetry, 'cuz I dunno yet.

    The last line of the subroutine appears to print the entire theng, then a CR/LF to be ready for the next print on a new line.
    [SIZE=1][B]"An armed society is a polite society. Manners are good when one may have to back up his acts with his life." - Robert A Heinlein[/B][/SIZE]

  3. #3
    Join Date
    Sep 2011
    Location
    Curitiba-Paraná south Brazil
    Posts
    15

    Default

    Thanks i'll try!

  4. #4
    Join Date
    Sep 2011
    Location
    Curitiba-Paraná south Brazil
    Posts
    15

    Default

    uiv32x is an Automatic Position Reporting System program

  5. #5
    Join Date
    Jul 2005
    Location
    Lakeside, CA
    Posts
    631

    Default

    Quote Originally Posted by PU5TOK View Post
    Anyone help me!

    How can i send telemetry data with this program uiv32x made by Visual Basic v5?
    Are you using a TNC to send the APRS packets? Have you considered simply rolling your own APRS software, rather than relying on someone else's code?

    I ask because using a TNC is really not all that hard; you can enter conversation mode with one command, then it's just a matter of sending short data messages that comprise APRS messages.

    Here's a page outlining the APRS protocol:
    http://www.aprs.net/vm/DOS/PROTOCOL.HTM

  6. #6
    Join Date
    Sep 2011
    Location
    Curitiba-Paraná south Brazil
    Posts
    15

    Default

    TNC APRS packets to send? Have you thought about simply rolling your own APRS software, rather than relying on someone else's code?

    No I'm using only software

    I ask because using a TNC is not really that hard, you can get in talk mode with a command, then just a matter of sending short messages comprising data APRS messages.

    okay

    Here is a page that defines the protocol APRS:
    http://www.aprs.net/vm/DOS/PROTOCOL.HTM

    Thanks, I look

  7. #7
    Join Date
    Sep 2011
    Location
    Curitiba-Paraná south Brazil
    Posts
    15

    Default

    This was a great help, thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •