Browse Source

Not done

master
US1GHQ 1 month ago
parent
commit
c0905f36db
  1. 6
      include/version.h
  2. 13
      lib/KISS_TO_TNC2/KISS_TO_TNC2.cpp

6
include/version.h

@ -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

13
lib/KISS_TO_TNC2/KISS_TO_TNC2.cpp

@ -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) {

Loading…
Cancel
Save