kopia lustrzana https://github.com/sh123/esp32_loraprs
Comments
rodzic
8d872510b0
commit
e2f12ebff1
2
config.h
2
config.h
|
@ -92,7 +92,7 @@
|
||||||
#define CFG_RF_TO_IS true // forward packets from radio to internet
|
#define CFG_RF_TO_IS true // forward packets from radio to internet
|
||||||
#define CFG_IS_TO_RF false // forward packets from internet to radio based on CFG_APRS_FILTER
|
#define CFG_IS_TO_RF false // forward packets from internet to radio based on CFG_APRS_FILTER
|
||||||
#define CFG_BEACON false // enable perdiodic beacon from CFG_APRS_RAW_BKN
|
#define CFG_BEACON false // enable perdiodic beacon from CFG_APRS_RAW_BKN
|
||||||
#define CFG_TEXT_PACKETS false // enable aprs text packets instead of binary for interoperability with other projects (disables KISS + AX.25!)
|
#define CFG_TEXT_PACKETS false // enable aprs TNC2 text packets instead of binary for interoperability with other projects (disables KISS + AX.25!)
|
||||||
#define CFG_TEXT_PACKETS_PREFIX false // // true - enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
#define CFG_TEXT_PACKETS_PREFIX false // // true - enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
||||||
|
|
||||||
// Frequency correction for narrow band bandwidths
|
// Frequency correction for narrow band bandwidths
|
||||||
|
|
|
@ -82,7 +82,7 @@ void initializeConfig(LoraPrs::Config &cfg) {
|
||||||
cfg.EnableIsToRf = CFG_IS_TO_RF; // send data from aprsis to rf
|
cfg.EnableIsToRf = CFG_IS_TO_RF; // send data from aprsis to rf
|
||||||
cfg.EnableRepeater = CFG_DIGIREPEAT; // digirepeat incoming packets
|
cfg.EnableRepeater = CFG_DIGIREPEAT; // digirepeat incoming packets
|
||||||
cfg.EnableBeacon = CFG_BEACON; // enable periodic AprsRawBeacon beacon to rf and aprsis if rf to aprsis is enabled
|
cfg.EnableBeacon = CFG_BEACON; // enable periodic AprsRawBeacon beacon to rf and aprsis if rf to aprsis is enabled
|
||||||
cfg.EnableTextPackets = CFG_TEXT_PACKETS; // enables text packets and disables KISS+AX25 binary frames for interoperability
|
cfg.EnableTextPackets = CFG_TEXT_PACKETS; // enables TNC2 text packets and disables KISS+AX25 binary frames for interoperability
|
||||||
cfg.EnableTextPacketsPrefix = CFG_TEXT_PACKETS_PREFIX; // enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
cfg.EnableTextPacketsPrefix = CFG_TEXT_PACKETS_PREFIX; // enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
||||||
|
|
||||||
// kiss
|
// kiss
|
||||||
|
|
|
@ -67,7 +67,7 @@ struct Config
|
||||||
bool EnableIsToRf; // true - enable APRS-IS to RF submission
|
bool EnableIsToRf; // true - enable APRS-IS to RF submission
|
||||||
bool EnableRepeater; // true - digirepeat incoming packets based on WIDEn-n paths
|
bool EnableRepeater; // true - digirepeat incoming packets based on WIDEn-n paths
|
||||||
bool EnableBeacon; // true - send AprsRawBeacon to RF and APRS-IS if EnableRfToIs is true
|
bool EnableBeacon; // true - send AprsRawBeacon to RF and APRS-IS if EnableRfToIs is true
|
||||||
bool EnableTextPackets; // true - use text plain messages insead of AX25 binary frames for interoperability with other projects
|
bool EnableTextPackets; // true - use TNC2 text plain messages insead of AX25 binary frames for interoperability with other projects
|
||||||
bool EnableTextPacketsPrefix; // true - enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
bool EnableTextPacketsPrefix; // true - enable aprs-lora 3 byte prefix '<', 0xff, 0x01
|
||||||
|
|
||||||
// external ptt tx control
|
// external ptt tx control
|
||||||
|
|
Ładowanie…
Reference in New Issue