add debug-incoming-packets option
All checks were successful
Build Docker containers / Build (push) Successful in 42s
All checks were successful
Build Docker containers / Build (push) Successful in 42s
This commit is contained in:
@ -107,6 +107,11 @@ const optionsList = [
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
description: "This option will drop all packets that have 'OK to MQTT' set to false.",
|
description: "This option will drop all packets that have 'OK to MQTT' set to false.",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "debug-incoming-packets",
|
||||||
|
type: Boolean,
|
||||||
|
description: "This option will print out all known packets as they arrive.",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "drop-portnums-without-bitfield",
|
name: "drop-portnums-without-bitfield",
|
||||||
type: Number,
|
type: Number,
|
||||||
@ -225,7 +230,7 @@ const collectorEnabled = {
|
|||||||
const decryptionKeys = options["decryption-keys"] ?? [
|
const decryptionKeys = options["decryption-keys"] ?? [
|
||||||
"1PG7OiApB1nwvP+rz05pAQ==", // add default "AQ==" decryption key
|
"1PG7OiApB1nwvP+rz05pAQ==", // add default "AQ==" decryption key
|
||||||
];
|
];
|
||||||
const logKnownPacketTypes = false;
|
const logKnownPacketTypes = options["debug-incoming-packets"] ?? false;
|
||||||
const dropPacketsNotOkToMqtt = options["drop-packets-not-ok-to-mqtt"] ?? false;
|
const dropPacketsNotOkToMqtt = options["drop-packets-not-ok-to-mqtt"] ?? false;
|
||||||
const dropPortnumsWithoutBitfield = options["drop-portnums-without-bitfield"] ?? null;
|
const dropPortnumsWithoutBitfield = options["drop-portnums-without-bitfield"] ?? null;
|
||||||
const oldFirmwarePositionPrecision = options["old-firmware-position-precision"] ?? null;
|
const oldFirmwarePositionPrecision = options["old-firmware-position-precision"] ?? null;
|
||||||
|
Reference in New Issue
Block a user