From 24a807952736626b533ef10a1ad1b19182589bf4 Mon Sep 17 00:00:00 2001 From: chiara-septentrio Date: Mon, 12 Aug 2024 11:13:45 +0200 Subject: [PATCH] updated jamming parameter --- ExtLibs/Mavlink/Mavlink.cs | 6 ++++-- ExtLibs/Mavlink/mavlink.lua | 3 ++- ExtLibs/Mavlink/message_definitions/common.xml | 11 +++++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ExtLibs/Mavlink/Mavlink.cs b/ExtLibs/Mavlink/Mavlink.cs index 36206b1832..d575c9d351 100644 --- a/ExtLibs/Mavlink/Mavlink.cs +++ b/ExtLibs/Mavlink/Mavlink.cs @@ -5872,10 +5872,12 @@ public enum GPS_JAMMING_STATE: byte /// The GPS receiver detected no signal jamming. | [Description("The GPS receiver detected no signal jamming.")] OK=1, + /// The GPS receiver detected and mitigated signal jamming. | + [Description("The GPS receiver detected and mitigated signal jamming.")] + MITIGATED=2, /// The GPS receiver detected signal jamming. | [Description("The GPS receiver detected signal jamming.")] - DETECTED=2, - + DETECTED=3, }; /// Signal spoofing state in a GPS receiver. diff --git a/ExtLibs/Mavlink/mavlink.lua b/ExtLibs/Mavlink/mavlink.lua index b08daa0ca1..7e6590a309 100644 --- a/ExtLibs/Mavlink/mavlink.lua +++ b/ExtLibs/Mavlink/mavlink.lua @@ -2023,7 +2023,8 @@ local enumEntryName = { ["GPS_JAMMING_STATE"] = { [0] = "GPS_JAMMING_STATE_UNKNOWN", [1] = "GPS_JAMMING_STATE_OK", - [2] = "GPS_JAMMING_STATE_DETECTED", + [2] = "GPS_JAMMING_STATE_MITIGATED", + [3] = "GPS_JAMMING_STATE_DETECTED", }, ["GPS_SPOOFING_STATE"] = { [0] = "GPS_SPOOFING_STATE_UNKNOWN", diff --git a/ExtLibs/Mavlink/message_definitions/common.xml b/ExtLibs/Mavlink/message_definitions/common.xml index c8e1cb698e..2d16976592 100644 --- a/ExtLibs/Mavlink/message_definitions/common.xml +++ b/ExtLibs/Mavlink/message_definitions/common.xml @@ -4176,7 +4176,10 @@ The GPS receiver detected no signal jamming. - + + The GPS receiver detected and mitigated signal jamming. + + The GPS receiver detected signal jamming. @@ -4188,12 +4191,12 @@ The GPS receiver detected no signal spoofing. - - The GPS receiver detected signal spoofing. - The GPS receiver detected and mitigated signal spoofing. + + The GPS receiver detected signal spoofing. +