2016-12-24 20:12:31 +00:00
|
|
|
//
|
2017-01-07 17:55:09 +00:00
|
|
|
// Created by SQ5RWU on 2016-12-24.
|
2016-12-24 20:12:31 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef STM32_RTTY_CONFIG_H
|
|
|
|
#define STM32_RTTY_CONFIG_H
|
2017-01-22 23:17:52 +00:00
|
|
|
|
|
|
|
#ifdef USE_EXTERNAL_CONFIG
|
|
|
|
#include "config_external.h"
|
|
|
|
#else
|
|
|
|
|
2017-06-09 09:00:58 +00:00
|
|
|
//**************config**********************
|
2017-06-12 22:20:02 +00:00
|
|
|
#define CALLSIGN "NOCALL" // put your RTTY callsign here
|
|
|
|
#define APRS_CALLSIGN "NOCALL" // put your APRS callsign here, 6 characters. If your callsign is shorter add spaces
|
2017-06-09 09:00:58 +00:00
|
|
|
#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)
|
2017-06-09 16:14:16 +00:00
|
|
|
// 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.
|
2017-06-09 09:00:58 +00:00
|
|
|
|
2017-06-06 17:31:42 +00:00
|
|
|
#define APRS_COMMENT " Hello from the sky!"
|
2017-06-09 09:00:58 +00:00
|
|
|
#define RTTY_TO_APRS_RATIO 5 //transmit APRS packet with each x RTTY packet
|
2017-01-21 23:39:32 +00:00
|
|
|
|
2016-12-24 20:12:31 +00:00
|
|
|
//*************frequency********************
|
2017-01-21 23:39:32 +00:00
|
|
|
#define RTTY_FREQUENCY 434.500f //Mhz middle frequency
|
2017-01-10 01:24:10 +00:00
|
|
|
#define APRS_FREQUENCY 432.500f //Mhz middle frequency
|
2017-06-09 09:00:58 +00:00
|
|
|
//************rtty speed*********************** si4032
|
|
|
|
#define RTTY_SPEED 75 // RTTY baudrate
|
|
|
|
// SHIFT is always 450Hz
|
|
|
|
//************rtty bits************************ si4032
|
|
|
|
#define RTTY_7BIT 1 // if 0 --> 5 bits
|
|
|
|
//************rtty stop bits******************* si4032
|
2016-12-24 21:30:18 +00:00
|
|
|
#define RTTY_USE_2_STOP_BITS 0
|
2016-12-24 20:12:31 +00:00
|
|
|
//********* power definition**************************
|
2017-06-09 09:00:58 +00:00
|
|
|
#define TX_POWER 0 // PWR 0...7 0- MIN ... 7 - MAX
|
|
|
|
// 0 --> -8dBm
|
|
|
|
// 1 --> -5dBm
|
|
|
|
// 2 --> -2dBm
|
|
|
|
// 3 --> 1dBm
|
|
|
|
// 4 --> 4dBm
|
|
|
|
// 5 --> 7dBm
|
|
|
|
// 6 --> 10dBm
|
|
|
|
// 7 --> 13dBm
|
|
|
|
//****************************************************
|
2017-01-22 15:50:09 +00:00
|
|
|
// WARNING: do not use this in flying tracker!
|
|
|
|
#define ALLOW_DISABLE_BY_BUTTON 1
|
2017-06-09 09:00:58 +00:00
|
|
|
//********** frame delay in msec**********************
|
2017-01-07 17:55:09 +00:00
|
|
|
#define tx_delay 5000
|
2017-01-22 23:17:52 +00:00
|
|
|
#endif
|
2016-12-24 20:12:31 +00:00
|
|
|
|
|
|
|
#endif //STM32_RTTY_CONFIG_H
|