Edit bug send to aprsc

This commit is contained in:
Atten 2022-04-13 11:43:12 +07:00
parent 222e352c3d
commit 56a10c78a6
4 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
#ifndef MAIN_H
#define MAIN_H
#define VERSION "0.6"
#define VERSION "0.6a"
#define DEBUG
//#define DEBUG_IS

View File

@ -61,5 +61,6 @@ int igateProcess(AX25Msg &Packet)
header += String(F(":"));
aprsClient.print(header);
aprsClient.write(&Packet.info[0], Packet.len); // info binary write aprsc support
aprsClient.println();
return 1;
}

View File

@ -454,7 +454,7 @@ void SA818_INIT(bool boot)
if (config.sql_level > 8)
config.sql_level = 8;
#ifdef SR_FRS
sprintf(str, "AT+DMOSETGROUP=%01d,%0.4f,%0.4f,%d,%01d,%d,4", config.band, config.freq_tx + ((float)config.offset_tx / 1000000), config.freq_rx + ((float)config.offset_rx / 1000000), config.tone_rx, config.sql_level, config.tone_tx);
sprintf(str, "AT+DMOSETGROUP=%01d,%0.4f,%0.4f,%d,%01d,%d,0", config.band, config.freq_tx + ((float)config.offset_tx / 1000000), config.freq_rx + ((float)config.offset_rx / 1000000), config.tone_rx, config.sql_level, config.tone_tx);
SerialRF.println(str);
delay(500);
// Module auto power save setting

View File

@ -590,7 +590,7 @@ void handle_setting()
webString += "</div>\n";
webString += "<div class=\"form-group\">\n";
webString += "<label class=\"col-sm-4 col-xs-12 control-label\">Beacon interval(mSec)</label>\n";
webString += "<label class=\"col-sm-4 col-xs-12 control-label\">Beacon interval(Sec)</label>\n";
webString += "<div class=\"col-sm-2 col-xs-3\"><input class=\"form-control\" id=\"beaconIntv\" name=\"beaconIntv\" type=\"text\" value=\"" + String(config.aprs_beacon) + "\" /></div>\n";
webString += "</div>\n";