master
US1GHQ 2021-09-15 14:03:22 +03:00
parent 927887d42c
commit c0905f36db
2 changed files with 11 additions and 8 deletions

View File

@ -1,10 +1,10 @@
#ifndef BUILD_NUMBER
#define BUILD_NUMBER "51"
#define BUILD_NUMBER "70"
#endif
#ifndef VERSION
#define VERSION "v0.4.1.51-094e825 - 2021-09-15 11:45:40.987088"
#define VERSION "v0.4.1.70-927887d - 2021-09-15 13:47:05.313727"
#endif
#ifndef VERSION_SHORT
#define VERSION_SHORT "v0.4.1.51-094e825"
#define VERSION_SHORT "v0.4.1.70-927887d"
#endif

View File

@ -138,11 +138,14 @@ String decode_kiss(const String &inputKISSTNCFrame, bool &dataFrame, bool &pktFr
if (validateKISSFrame(inputKISSTNCFrame)) {
String ax25Frame = decapsulateKISS(inputKISSTNCFrame);
if (ax25Frame.charAt(0) == T_PKT)
{
pktFrame = true;
}
}
bool isLast = false;
String dest = decode_address_ax25(ax25Frame.substring(14, 21), isLast, false);
// Serial.print(src_addr);
for (int p = 0; p <= dest.indexOf('W'); p++) {
char dest_1 = dest.charAt(p);
Serial.print(dest_1);
}
}
if (validateKISSFrame(inputKISSTNCFrame)) {
dataFrame = inputKISSTNCFrame.charAt(1) == CMD_DATA;
if (dataFrame && !pktFrame) {