Skip to content

Commit

Permalink
feat(rsga): add new modes
Browse files Browse the repository at this point in the history
  • Loading branch information
asvol committed Sep 27, 2024
1 parent 25f4612 commit 8bcb9c1
Show file tree
Hide file tree
Showing 11 changed files with 119 additions and 28 deletions.
6 changes: 4 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_audio.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,11 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvAudio
Expand Down
7 changes: 5 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_chart.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,10 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvChart
Expand Down
8 changes: 6 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_gbs.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,9 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvGbs
Expand Down
8 changes: 6 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_radio.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,9 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;
using Asv.Mavlink.V2.AsvAudio;

Expand Down
11 changes: 9 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_rfsa.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,14 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvRfsa
{
Expand Down
65 changes: 57 additions & 8 deletions src/Asv.Mavlink/Protocol/Messages/asv_rsga.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,9 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvRsga
Expand Down Expand Up @@ -52,7 +56,7 @@ public enum MavType:uint
}

/// <summary>
/// A mapping of RSGA modes for custom_mode field of heartbeat.
/// A mapping of RSGA modes for custom_mode[0-7] bits field of heartbeat Max 255 items.
/// ASV_RSGA_CUSTOM_MODE
/// </summary>
public enum AsvRsgaCustomMode:uint
Expand All @@ -63,30 +67,75 @@ public enum AsvRsgaCustomMode:uint
/// </summary>
AsvRsgaCustomModeIdle = 0,
/// <summary>
/// Spectrum analyzer.
/// ASV_RSGA_CUSTOM_MODE_SPECTRUM
/// </summary>
AsvRsgaCustomModeSpectrum = 25,
/// <summary>
/// Localizer generator mode.
/// ASV_RSGA_CUSTOM_MODE_TX_LLZ
/// </summary>
AsvRsgaCustomModeTxLlz = 1,
AsvRsgaCustomModeTxLlz = 50,
/// <summary>
/// Glide Path generator mode.
/// ASV_RSGA_CUSTOM_MODE_TX_GP
/// </summary>
AsvRsgaCustomModeTxGp = 2,
AsvRsgaCustomModeTxGp = 51,
/// <summary>
/// VOR generator mode.
/// ASV_RSGA_CUSTOM_MODE_TX_VOR
/// </summary>
AsvRsgaCustomModeTxVor = 3,
AsvRsgaCustomModeTxVor = 52,
/// <summary>
/// Marker generator mode.
/// ASV_RSGA_CUSTOM_MODE_TX_MARKER
/// </summary>
AsvRsgaCustomModeTxMarker = 4,
AsvRsgaCustomModeTxMarker = 53,
/// <summary>
/// DME beacon mode.
/// ASV_RSGA_CUSTOM_MODE_DME_REP
/// </summary>
AsvRsgaCustomModeDmeRep = 54,
/// <summary>
/// GBAS generator mode.
/// ASV_RSGA_CUSTOM_MODE_TX_GBAS
/// </summary>
AsvRsgaCustomModeTxGbas = 55,
/// <summary>
/// DME plane mode.
/// ASV_RSGA_CUSTOM_MODE_DME_REQ
/// </summary>
AsvRsgaCustomModeDmeReq = 5,
AsvRsgaCustomModeDmeReq = 74,
/// <summary>
/// Localizer analyzer mode.
/// ASV_RSGA_CUSTOM_MODE_RX_LLZ
/// </summary>
AsvRsgaCustomModeRxLlz = 75,
/// <summary>
/// Glide Path analyzer mode.
/// ASV_RSGA_CUSTOM_MODE_RX_GP
/// </summary>
AsvRsgaCustomModeRxGp = 76,
/// <summary>
/// VOR analyzer mode.
/// ASV_RSGA_CUSTOM_MODE_RX_VOR
/// </summary>
AsvRsgaCustomModeRxVor = 77,
/// <summary>
/// Marker analyzer mode.
/// ASV_RSGA_CUSTOM_MODE_RX_MARKER
/// </summary>
AsvRsgaCustomModeRxMarker = 78,
/// <summary>
/// GBAS analyzer mode.
/// ASV_RSGA_CUSTOM_MODE_RX_GBAS
/// </summary>
AsvRsgaCustomModeRxGbas = 79,
/// <summary>
/// Audio radio station mode.
/// ASV_RSGA_CUSTOM_MODE_RADIO
/// </summary>
AsvRsgaCustomModeRadio = 100,
}

/// <summary>
Expand Down
6 changes: 4 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_sdr.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,11 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvSdr
Expand Down
11 changes: 9 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/asv_table.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,14 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.AsvTable
{
Expand Down
6 changes: 4 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/common.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,10 +20,12 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

Expand Down
8 changes: 6 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/minimal.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,9 +20,13 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.Minimal
Expand Down
11 changes: 9 additions & 2 deletions src/Asv.Mavlink/Protocol/Messages/standard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2023 asv-soft (https://github.com/asv-soft)
// Copyright (c) 2024 asv-soft (https://github.com/asv-soft)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,14 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This code was generate by tool Asv.Mavlink.Shell version 3.7.1+98c5c7a392002d9bb54507cd50df001a14c44120
// This code was generate by tool Asv.Mavlink.Shell version 3.10.4+c1002429a625f2cf26c5bd2680700906e0b44d76

using System;
using System.Text;
using System.ComponentModel;
using Asv.Mavlink.V2.Common;
using Asv.Mavlink.V2.Minimal;
using Asv.IO;

namespace Asv.Mavlink.V2.Standard
{
Expand Down

0 comments on commit 8bcb9c1

Please sign in to comment.