122 lines
4.4 KiB
C
122 lines
4.4 KiB
C
|
//
|
||
|
// Created by SQ5RWU on 2016-12-24.
|
||
|
// Extended by OK1TE
|
||
|
//
|
||
|
|
||
|
#ifndef RS41HUP_CONFIG_H
|
||
|
#define RS41HUP_CONFIG_H
|
||
|
|
||
|
#ifdef USE_EXTERNAL_CONFIG
|
||
|
#include "config_external.h"
|
||
|
#else
|
||
|
|
||
|
|
||
|
//********** RTTY
|
||
|
#define SEND_RTTY 1 // Set to 0 to disable RTTY
|
||
|
//**************RTTY Data Format**********************
|
||
|
// $$$<callsign>,<frame#>,[<hh:mm:ss>],[<latitude>,<longitude>],[<height>],[<speed>],[<rtty comment>],[<radio chip temperature (°C)>],[<battery voltage>],[<used gps satellites>],[<good gps datasets>,<bad gps datasets>,<gps fix flags>]*<CRC>
|
||
|
#define RTTY_CALLSIGN "F6KHK" // put your RTTY callsign here, max. 15 characters
|
||
|
#define SEND_RTTY_TIME 1
|
||
|
#define SEND_RTTY_LATLON 1
|
||
|
#define SEND_RTTY_HEIGHT 1
|
||
|
#define SEND_RTTY_SPEED 1
|
||
|
#define SEND_RTTY_MESSAGE 1
|
||
|
#define SEND_RTTY_TEMPERATURE 1
|
||
|
#define SEND_RTTY_VOLTAGE 1
|
||
|
#define SEND_RTTY_SATELLITES 1
|
||
|
#define SEND_RTTY_GPSDATA 1
|
||
|
|
||
|
#define RTTY_COMMENT " Rs41 tracker!" // max. 25 characters
|
||
|
#define RTTY_WWL 1 // Send WWL instead of the comment
|
||
|
// World Wide Locator pairs (precision)
|
||
|
#define PAIR_COUNT 4 // max. 6 (12 characters WWL)
|
||
|
|
||
|
#define RTTY_FREQUENCY 433.500f //Mhz middle frequency
|
||
|
|
||
|
//************RTTY Shift*********************** si4032
|
||
|
#define RTTY_DEVIATION 0x2 // RTTY shift = RTTY_DEVIATION x 270Hz
|
||
|
|
||
|
//************RTTY Speed*********************** si4032
|
||
|
#define RTTY_SPEED 75 // RTTY baudrate 45, 50, 75, 100
|
||
|
|
||
|
//************rtty bits************************ si4032
|
||
|
#define RTTY_7BIT 1 // if 0 --> 5 bits
|
||
|
|
||
|
//************rtty stop bits******************* si4032
|
||
|
#define RTTY_USE_2_STOP_BITS 0
|
||
|
|
||
|
|
||
|
//********** APRS
|
||
|
#define SEND_APRS 1 // Set to 0 to disable APRS
|
||
|
#define APRS_CALLSIGN "F6KHK" // put your APRS callsign here, 6 characters. If your callsign is shorter add spaces
|
||
|
|
||
|
#define APRS_SSID 'B' // put your APRS SSID here
|
||
|
// 0 --> Your primary station usually fixed and message capable
|
||
|
// 1 --> generic additional station, digi, mobile, wx, etc.
|
||
|
// 2 --> generic additional station, digi, mobile, wx, etc.
|
||
|
// 3 --> generic additional station, digi, mobile, wx, etc.
|
||
|
// 4 --> generic additional station, digi, mobile, wx, etc.
|
||
|
// 5 --> Other network sources (Dstar, Iphones, Blackberry's etc)
|
||
|
// 6 --> Special activity, Satellite ops, camping or 6 meters, etc.
|
||
|
// 7 --> walkie talkies, HT's or other human portable
|
||
|
// 8 --> boats, sailboats, RV's or second main mobile
|
||
|
// 9 --> Primary Mobile (usually message capable)
|
||
|
// A --> internet, Igates, echolink, winlink, AVRS, APRN, etc.
|
||
|
// B --> balloons, aircraft, spacecraft, etc.
|
||
|
// C --> APRStt, DTMF, RFID, devices, one-way trackers*, etc.
|
||
|
// D --> Weather stations
|
||
|
// E --> Truckers or generally full time drivers
|
||
|
// F --> generic additional station, digi, mobile, wx, etc.
|
||
|
|
||
|
#define APRS_DISPLAY_TABLE '/' // put desired APRS Display Table character here
|
||
|
// / --> Primary symbol Table (Mostly stations)
|
||
|
// \\ --> Alternate symbol table (Mostly Objects)
|
||
|
#define APRS_DISPLAY_SYMBOL 'O' // put desired APRS Display Symbol character here
|
||
|
// O --> Balloon (in the primary table)
|
||
|
// See: http://www.aprs.net/vm/DOS/SYMBOLS.HTM
|
||
|
|
||
|
#define APRS_FREQUENCY 432.500f //Mhz middle frequency
|
||
|
|
||
|
#define APRS_COMMENT " Rs41 tracker!"
|
||
|
#define APRS_RELAYS "WIDE1-1,WIDE2-1"
|
||
|
#define APRS_DESTINATION "APZQAP"
|
||
|
#define APRS_DESTINATION_SSID '0'
|
||
|
#define RTTY_TO_APRS_RATIO 2 //transmit APRS packet with each x RTTY packet
|
||
|
|
||
|
//********** Morse (CW)
|
||
|
#define SEND_MORSE 1 // Set to 0 to disable CW
|
||
|
#define MORSE_PREFIX "DE F6KHK" // Start of the message
|
||
|
#define SEND_MORSE_WWL 1 // in <WW-locator>
|
||
|
#define SEND_MORSE_HEIGHT 0 // ASL <altitude>
|
||
|
#define SEND_MORSE_VOLTAGE 0 // bat <voltage>
|
||
|
#define MORSE_SUFFIX " +" // AR^ (end of transmission)
|
||
|
#define MORSE_WPM 20 // Speed in words per minute 5 - 40
|
||
|
#define RTTY_TO_MORSE_RATIO 3 // Transmit morse message with each x RTTY packet
|
||
|
|
||
|
//********* power definition**************************
|
||
|
#define TX_POWER 5 // PWR 0...7 0- MIN ... 7 - MAX
|
||
|
// 0 --> -1dBm
|
||
|
// 1 --> 2dBm
|
||
|
// 2 --> 5dBm
|
||
|
// 3 --> 8dBm
|
||
|
// 4 --> 11dBm
|
||
|
// 5 --> 14dBm
|
||
|
// 6 --> 17dBm
|
||
|
// 7 --> 20dBm
|
||
|
//****************************************************
|
||
|
|
||
|
// Switch sonde ON/OFF via Button
|
||
|
// If this is a flight you might prevent sonde from powered off by button
|
||
|
#define ALLOW_DISABLE_BY_BUTTON 1
|
||
|
|
||
|
//********** Frame Delay in msec**********************
|
||
|
#define TX_DELAY 5000
|
||
|
|
||
|
// Enable/disable LED blinking
|
||
|
// when set to 0, LEDs will stop blinking approx. 10 minutes after powering on the sonde
|
||
|
#define LED_ENABLED 1
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif //RS41HUP_CONFIG_H
|