Skip to content

Commit

Permalink
updated jamming parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
chiara-septentrio committed Aug 12, 2024
1 parent dd16a83 commit 24a8079
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 4 additions & 2 deletions ExtLibs/Mavlink/Mavlink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5872,10 +5872,12 @@ public enum GPS_JAMMING_STATE: byte
///<summary> The GPS receiver detected no signal jamming. | </summary>
[Description("The GPS receiver detected no signal jamming.")]
OK=1,
///<summary> The GPS receiver detected and mitigated signal jamming. | </summary>
[Description("The GPS receiver detected and mitigated signal jamming.")]
MITIGATED=2,
///<summary> The GPS receiver detected signal jamming. | </summary>
[Description("The GPS receiver detected signal jamming.")]
DETECTED=2,

DETECTED=3,
};

///<summary> Signal spoofing state in a GPS receiver. </summary>
Expand Down
3 changes: 2 additions & 1 deletion ExtLibs/Mavlink/mavlink.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 7 additions & 4 deletions ExtLibs/Mavlink/message_definitions/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4176,7 +4176,10 @@
<entry value="1" name="GPS_JAMMING_STATE_OK">
<description>The GPS receiver detected no signal jamming.</description>
</entry>
<entry value="2" name="GPS_JAMMING_STATE_DETECTED">
<entry value="2" name="GPS_JAMMING_STATE_MITIGATED">
<description>The GPS receiver detected and mitigated signal jamming.</description>
</entry>
<entry value="3" name="GPS_JAMMING_STATE_DETECTED">
<description>The GPS receiver detected signal jamming.</description>
</entry>
</enum>
Expand All @@ -4188,12 +4191,12 @@
<entry value="1" name="GPS_SPOOFING_STATE_OK">
<description>The GPS receiver detected no signal spoofing.</description>
</entry>
<entry value="2" name="GPS_SPOOFING_STATE_DETECTED">
<description>The GPS receiver detected signal spoofing.</description>
</entry>
<entry value="3" name="GPS_SPOOFING_STATE_MITIGATED">
<description>The GPS receiver detected and mitigated signal spoofing.</description>
</entry>
<entry value="2" name="GPS_SPOOFING_STATE_DETECTED">
<description>The GPS receiver detected signal spoofing.</description>
</entry>
</enum>
</enums>
<messages>
Expand Down

0 comments on commit 24a8079

Please sign in to comment.