Order Tray | Contact Us | Home | SIG Lists

[aprssig] Python script to upload packets to APRS-IS

AE5PL Lists HamLists at ametx.com
Wed Apr 4 19:42:04 UTC 2007


Hi Bill,

One correction:

> -----Original Message-----
> From: Bill Borgstrom
> Posted At: Wednesday, April 04, 2007 1:52 PM
> Subject: [aprssig] Python script to upload packets to APRS-IS
> 
> =====================================================
> import sys, time
> from socket import *
> 
> serverHost = 'second.aprs.net'
> serverPort = 10151
> password = '12345'
> address = 'N9TN-1>APRS,qAR,N9TN-VS:'
> position = '=3349.13N/11153.55W-'
> # comment length is supposed to be 0 to 43 char. long-
> this is 53 char. but it works
> comment = 'N9TN Python script -- Sky Ranch airport -
> Carefree AZ'
> packet = ''
> delay = 15 # delay in seconds - 15 sec. is for testing
> - should be 20 to 30 min for fixed QTH
> 
> def send_packet():
>         # create socket & connect to server
>         sSock = socket(AF_INET, SOCK_STREAM)
>         sSock.connect((serverHost, serverPort))
>         # logon
>         sSock.send('user N9TN-1 pass ' + password + '


Should be 'user N9TN-VS pass ' (the qAR,N9TN-VS means "gated to APRS-IS
by N9TN-VS" so N9TN-VS should be the "station" that is logging in).

73,

Pete Loveall AE5PL
pete at ae5pl.net




More information about the aprssig mailing list