Add higher speed mode for Link with BBSes.

master
US1GHQ 2021-09-21 14:53:16 +03:00
parent 493777b047
commit d535c83cb7
8 changed files with 15 additions and 5 deletions

View File

@ -149,6 +149,7 @@
<div>
<label for="aprs_mode">APRS MODE:</label>
<select name="aprs_mode" id="aprs_mode" title="APRS MODE 1200 or 300 Default: 300">
<option value="6000">6000</option>
<option value="1200">1200</option>
<option value="300">300</option>
</select>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
#ifndef BUILD_NUMBER
#define BUILD_NUMBER "8"
#define BUILD_NUMBER "31"
#endif
#ifndef VERSION
#define VERSION "v0.4.3.8-beb69a8 - 2021-09-20 11:02:04.015325"
#define VERSION "v0.4.3.31-493777b - 2021-09-21 14:40:52.321565"
#endif
#ifndef VERSION_SHORT
#define VERSION_SHORT "v0.4.3.8-beb69a8"
#define VERSION_SHORT "v0.4.3.31-493777b"
#endif

View File

@ -22,9 +22,10 @@ PROGMEM static const BG_RF95::ModemConfig MODEM_CONFIG_TABLE[] =
{ 0x92, 0x74, 0x00}, // Bw500Cr45Sf128
{ 0x48, 0x94, 0x00}, // Bw31_25Cr48Sf512
{ 0x78, 0xc4, 0x00}, // Bw125Cr48Sf4096
{ 0x72, 0xc7, 0x8}, // BG 125 cr45 sf12
{ 0x72, 0xc7, 0x8}, // BG 125 cr45 sf12
{ 0x72, 0xb4, 0x00}, // Bw125Cr45Sf2048 <= M0IGA messup speed
{ 0x76, 0x94, 0x04}, // Bw125Cr47Sf512 <= corrected 1200baud
{ 0x72, 0x64, 0x00}, // Bw125Cr45Sf64 <= corrected 9600baud
};
BG_RF95::BG_RF95(uint8_t slaveSelectPin, uint8_t interruptPin, RHGenericSPI& spi)

View File

@ -549,6 +549,7 @@ public:
Bw125Cr45Sf4096, ///< APRS
Bw125Cr45Sf2048, ///< M0IGA Messup speed / 698baud (not 1200)
Bw125Cr47Sf512, ///< corrected 1200 baud
Bw125Cr47Sf64, ///< corrected 1200 baud
} ModemConfigChoice;
/// Constructor. You can have multiple instances, but each instance must have its own

View File

@ -440,11 +440,14 @@ void loraSend(byte txPower, float aprsFreq, const String message) {
for (int i = 0 ; i < message.length() ; i++) {
lora_TXBUFF[i] = (char)loraSendFrameString[i];
}
if (aprsMode == 1200)
{
rf95.setModemConfig(BG_RF95::Bw125Cr47Sf512);
}
else if (aprsMode == 6000)
{
rf95.setModemConfig(BG_RF95::Bw125Cr45Sf128);
}
else
{
rf95.setModemConfig(BG_RF95::Bw125Cr45Sf4096);
@ -902,6 +905,10 @@ void setup(){
{
rf95.setModemConfig(BG_RF95::Bw125Cr47Sf512);
}
else if (aprsMode == 6000)
{
rf95.setModemConfig(BG_RF95::Bw125Cr45Sf128);
}
else
{
rf95.setModemConfig(BG_RF95::Bw125Cr45Sf4096);