This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import paho.mqtt.client as mqtt | |
import RPi.GPIO as GPIO | |
def on_connect(client, userdata, rc): | |
print ("Connected with rc: " + str(rc)) | |
client.subscribe("kwf/demo/led") | |
def on_message(client, userdata, msg): | |
print ("Topic: "+ msg.topic+"\nMessage: "+str(msg.payload)) | |
if "green" in msg.payload: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BEACONFILE="./beaconfile.txt" | |
if [ -f $BEACONFILE ]; then | |
cat ./beaconfile.txt | |
rm ./beaconfile.txt | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Client to server keep-alives should not be sent more often than once every | |
20 seconds, unless intra-connection meta-data is being conveyed inside the | |
'# ...' keep-alive line. It is suggested that clients send a keep-alive line | |
at least once every 24h, with typical rates in the 10m-1h range. Client to | |
server keep-alives are purely optional; servers may instead choose to | |
implement client time-out based on their L4 TCP behavior, and clients may | |
instead choose to tolerate being periodically dropped from the server as an | |
inactive connection. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kenneth@thor:~$ snmpwalk -v 1 -c public 10.44.1.30 | |
SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v3.2.0 PF:v3.2.1 PN:aos321.bin AF1:v2.0.1 AN1:em201.bin MN: AP9312TH HR: J13 SN: JA0302010295 MD: 01/06/2003) (Embedded PowerNet SNMP Agent SW v2.2 compatible) | |
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.318.1.3.8.1 | |
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (27570) 0:04:35.70 | |
SNMPv2-MIB::sysContact.0 = STRING: Kenneth Finnegan | |
SNMPv2-MIB::sysName.0 = STRING: KWFAPC1 | |
SNMPv2-MIB::sysLocation.0 = STRING: lan.thelifeofkenneth.com | |
SNMPv2-MIB::sysServices.0 = INTEGER: 72 | |
IF-MIB::ifNumber.0 = INTEGER: 1 | |
IF-MIB::ifIndex.1 = INTEGER: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ADD THIS TO ttyreader.c at line 318 | |
FILE *rflogfd; | |
char hackbuf[1024]; | |
sprintf(hackbuf, "/var/log/aprx/kiss.%d.log", S->fd); | |
rflogfd = fopen(hackbuf, "a"); | |
hexdumpfp(rflogfd, S->rdbuf+S->rdlen, i, 1); | |
fprintf(rflogfd, "\n"); | |
fclose(rflogfd); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. igate from aprsis | |
interface_receive_3rdparty() aif=0x62a420, aif->digicount=1 | |
parse_aprs_objectobject name: '442.300' | |
parse_aprs_uncompressed position ok: lat 39.625 lng -99.575 | |
.. parse_aprs() rc=OK type=0x8002 srcif=APRSIS tnc2addr='n7jys-15>APRS:;442.300 *190700z3937.50N/09934.50Wr442.300 + pl 162.2 Western KS. Intertie Repeater' info_start=';442.300 *190700z3937.50N/09934.50Wr442.300 + pl 162.2 Western KS. Intertie Repeater' | |
parse_aprs_objectobject name: '442.300' | |
parse_aprs_uncompressed position ok: lat 39.625 lng -99.575 | |
.. parse_aprs() rc=OK type=0x8002 srcif=APRSIS tnc2addr='n7jys-15>APRS:;442.300 *190700z3937.50N/09934.50Wr442.300 + pl 162.2 Western KS. Intertie Repeater' info_start=';442.300 *190700z3937.50N/09934.50Wr442.300 + pl 162.2 Western KS. Intertie Repeater' | |
## produce 3rd-party AX.25 frames for transmit, and original source one for filtering: | |
parse_aprs_objectobject name: '442.300' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-03-19 06:45:03.454 APRSIS R N7JYS-15>APRS,TCPIP*,qAC,T2VAN:;443.700 *190645z3913.00N/09950.10Wr443.700 + pl 131.8 Western KS. Intertie Repeater | |
2015-03-19 06:45:03.546 APRSIS R N7JYS-15>APRS,TCPIP*,qAC,T2VAN:;443.575 *190645z3832.50N/09959.99Wr443.575 + pl 162.2 K-Link Repeater | |
2015-03-19 06:45:03.546 APRSIS R N7JYS-15>APRS,TCPIP*,qAC,T2VAN:;146.790 *190645z3835.00N/09959.99Wr146.790 - pl 131.8 Western KS. Intertie Repeater | |
2015-03-19 06:45:03.546 APRSIS R N7JYS-15>APRS,TCPIP*,qAC,FIRST:;IRLP3917 *190645z3856.00NL09914.68W&147.045MHz+ PL131.8: LINKED TO REF9733 | |
2015-03-19 06:45:03.546 APRSIS R n7jys-15>APRS,TCPIP*,qAC,T2VAN:;443.675 *190645z3743.79N/09955.68Wr443.675 + pl 162.2 K-Link IRLP Repeater | |
2015-03-19 06:45:03.726 APRSIS R N7JYS-15>APRS,TCPIP*,qAC,FIRST:;IRLP7672 *190645z3917.50NL09950.10W&443.700MHz, - offset PL tone 131.8: LINKED TO REF9733 | |
2015-03-19 06:45:03.818 APRSIS R n7jys-15>APRS,TCPIP*,qAC,FIRST:;IRLP7065 *190645z3747.00NL09955.00W&443.675MHz- PL162.2: LINKED TO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mycall N0CALL #Replace with valid call | |
<aprsis> | |
passcode -1 # Replace with valid passcode | |
server rotate.aprs2.net | |
filter "b/N7JYS-15/W6KWF-14" | |
</aprsis> | |
<logging> | |
pidfile /var/run/aprx.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IM ID Show Product? Product Order Components Min Harmonic Max Harmonic IM Product (MHz) Product Offset (KHz) RX ID Affected RX (MHz) RX Offset (KHz) RX Desc MHz from RX (MHz) TX1 ID TX1 Coef TX1 Freq (MHz) TX1 Offset TX1 Desc TX2 ID TX2 Coef TX2 Freq (MHz) TX2 Offset TX2 Desc TX3 ID TX3 Coef TX3 Freq (MHz) TX3 Offset TX3 Desc TX4 ID TX4 Coef TX4 Freq (MHz) TX4 Offset TX4 Desc | |
======= ============= ============= ========== ============ ============ ================ ==================== ======= ================= =============== ======================================== ================= ======= ======== ============== ========== ======================================== ======= ======== ============== ========== ======================================== ======= ======== ============== ========== ======================================== ======= === |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN CERTIFICATE----- | |
MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx | |
FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD | |
VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv | |
biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy | |
dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t | |
MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB | |
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG | |
A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp | |
b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl |