More APRS enhancements
This commit is contained in:
@@ -152,7 +152,7 @@ export class Frame implements IFrame {
|
||||
|
||||
case '`': // Mic-E current
|
||||
case "'": // Mic-E old
|
||||
return this.decodeMicE(dataType);
|
||||
return this.decodeMicE();
|
||||
|
||||
case ':': // Message
|
||||
return this.decodeMessage();
|
||||
@@ -448,7 +448,7 @@ export class Frame implements IFrame {
|
||||
return result;
|
||||
}
|
||||
|
||||
private decodeMicE(dataType: string): DecodedPayload | null {
|
||||
private decodeMicE(): DecodedPayload | null {
|
||||
try {
|
||||
// Mic-E encodes position in both destination address and information field
|
||||
const dest = this.destination.call;
|
||||
@@ -585,7 +585,6 @@ export class Frame implements IFrame {
|
||||
const messageBits: number[] = [];
|
||||
|
||||
for (let i = 0; i < 6; i++) {
|
||||
const char = dest.charAt(i);
|
||||
const code = dest.charCodeAt(i);
|
||||
let digit: number;
|
||||
let msgBit: number;
|
||||
|
||||
Reference in New Issue
Block a user