Moved APRS comment do config

df8oe-master^2
Łukasz Nidecki 2017-06-06 19:31:42 +02:00
rodzic 1444a68b4a
commit c61e25ee9b
3 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -13,6 +13,7 @@ Have a nice day ;)
* 14.12.2016 - Reverse engineeded connections, initial hard work, resulting in working RTTY by SQ7FJB
* 07.01.2017 - GPS now using proprietiary UBLOX protocol, more elastic code to set working frequency by SQ5RWU
* 23.01.2017 - Test APRS code, small fixes in GPS code by SQ5RWU
* 06.06.2017 - APRS code fix, some code cleanup
#TODO
@ -25,6 +26,7 @@ Shift 450Hz
* ```CALLSIGN``` RTTY callsign
* ```APRS_CALLSIGN``` APRS callsign
* ```APRS_COMMENT``` APRS comment
* ```APRS_SSID``` APRS SSID - '1' -> 1, 'A' -> 10 etc.
* ```RTTY_TO_APRS_RATIO``` number of RTTY frames between each APRS frame
* ```RTTY_FREQUENCY``` RTTY frequency in MHz

Wyświetl plik

@ -61,7 +61,7 @@ void aprs_send_position(GPSEntry gpsData, int8_t temperature, uint16_t voltage)
aprs_packet_counter ++;
sprintf(packet_buffer,
("!%02d%02d.%02u%c/%03d%02u.%02u%cO/A=%06ld/P%dS%dT%dV%d Hello from the sky!"),
("!%02d%02d.%02u%c/%03d%02u.%02u%cO/A=%06ld/P%dS%dT%dV%d%s"),
abs(la_degrees), la_minutes, la_h_minutes,
la_degrees > 0 ? 'N' : 'S',
abs(lo_degrees), lo_minutes, lo_h_minutes,
@ -70,7 +70,8 @@ void aprs_send_position(GPSEntry gpsData, int8_t temperature, uint16_t voltage)
aprs_packet_counter,
gpsData.sats_raw,
temperature,
voltage
voltage,
APRS_COMMENT
);
qaprs.sendData(packet_buffer);
}

Wyświetl plik

@ -13,6 +13,7 @@
#define CALLSIGN "NO1LIC-1" // put your callsign here
#define APRS_CALLSIGN "NO1LIC"
#define APRS_SSID 'B'
#define APRS_COMMENT " Hello from the sky!"
#define RTTY_TO_APRS_RATIO 5
//*************frequency********************