1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 05:11:49 -05:00
sdrangel/plugins/channeltx/modais
2021-07-17 10:28:23 +02:00
..
aismod.cpp Demod Analyzer: fixed sample rate handling. Fixes #931 2021-06-29 21:47:27 +02:00
aismod.h Demod Analyzer: fixed sample rate handling. Fixes #931 2021-06-29 21:47:27 +02:00
aismodbaseband.cpp GLScope redesign: ScopeVis is not created in the GUI anymore 2021-05-31 15:56:45 +02:00
aismodbaseband.h GLScope redesign: ScopeVis is not created in the GUI anymore 2021-05-31 15:56:45 +02:00
aismodgui.cpp Demod Analyzer: fixed sample rate handling. Fixes #931 2021-06-29 21:47:27 +02:00
aismodgui.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodgui.ui Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodplugin.cpp Updated versions and changelogs 2021-07-17 10:28:23 +02:00
aismodplugin.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodrepeatdialog.cpp Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodrepeatdialog.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodrepeatdialog.ui Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodsettings.cpp Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodsettings.h Demod Analyzer: fixed sample rate handling. Fixes #931 2021-06-29 21:47:27 +02:00
aismodsource.cpp AIS mod and demod, IEEE 802.15.4 mod: scope and spectrum feed optimization 2021-07-16 02:40:44 +02:00
aismodsource.h AIS mod and demod, IEEE 802.15.4 mod: scope and spectrum feed optimization 2021-07-16 02:40:44 +02:00
aismodtxsettingsdialog.cpp Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodtxsettingsdialog.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodtxsettingsdialog.ui Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodwebapiadapter.cpp Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
aismodwebapiadapter.h Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
CMakeLists.txt Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00
readme.md Add AIS mod, demod and feature. 2021-05-07 21:50:27 +01:00

AIS modulator plugin

Introduction

This plugin can be used to transmit AIS (Automatic Identification System) messages using GMSK/FM modulation. AIS is used to track ships and other marine vessels at sea.

You need an AIS license to transmit on the AIS VHF frequencies (161.975MHz and 162.025MHz). This plugin should not therefore be used on those frequencies unless the transmitter and receiver are directly connected via coax. If you have an amateur license, you should be able to transmit AIS within amateur bands.

Interface

AIS Modulator plugin GUI

1: Frequency shift from center frequency of transmission

Use the wheels to adjust the frequency shift in Hz from the center frequency of transmission. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arrows. Pressing shift simultaneously moves digit by 5 and pressing control moves it by 2.

2: Channel power

Average total power in dB relative to a +/- 1.0 amplitude signal generated in the pass band.

3: Channel mute

Use this button to toggle mute for this channel.

4: Mode

Allows setting of RF bandwidth, FM deviation and BT values according to the chosen mode, which can be Narrow (BW=12.5kHz, Dev=2.4k, BT=0.3) or Wide (BW=25kHz, Dev=4.8k, BT=0.4). The latest specification for AIS, ITU-R M.1371-5, only specifies Wide operation.

5: RF Bandwidth

This specifies the bandwidth of a LPF that is applied to the output signal to limit the RF bandwidth. Typically this should be 25kHz.

6: FM Deviation

This specifies the maximum frequency deviation. Typically this should be 4.8kHz, giving a modulation index of 0.5 at 9,600 baud.

7: BT Bandwidth

Bandwidth-time product for the Gaussian filter, used for GMSK modulation. This should typically be 0.4.

8: Gain

Adjusts the gain in dB from -60 to 0dB. The gain should be set to ensure the level meter remains below 100%.

9: Level meter in %

  • top bar (beige): average value
  • bottom bar (brown): instantaneous peak value
  • tip vertical bar (bright red): peak hold value

10: UDP

When checked, a UDP port is opened to receive messages from other features or applications that will be transmitted. These messages do not need to contain the CRC, as it is appended automatically.

11: UDP address

IP address of the interface open the UDP port on, to receive messages to be transmitted.

12: UDP port

UDP port number to receive messages to be transmitted on.

13: Encode

When pressed, the message field will be set to a hex encoded string that represents the message determined by the following controls.

14: Message Type

Select a message type:

  • Scheduled postion report
  • Assigned position report
  • Special position report
  • Base station report

15: MMSI

Enter a 9 digit Maritime Mobile Service Identity, which uniquely identifies a vessel.

16: Status

For position reports, specify the status of the vessel.

17: Latitude

Specifiy the latitude of the vessel or station in decimal degrees, North positive.

18: Longitude

Specifiy the longitude of the vessel or station in decimal degrees, East positive.

19: Insert position

Sets the latitude and longitude fields to the values specified under Preferences > My position.

20: Course

For position reports, specify the vessel's course in degrees. This is the direction in which the vessel is moving.

21: Speed

For position reports, specify the vessel's speed in knots.

22: Heading

For position reports, specify the vessel's heading. This is the direction the vessel is pointing towards.

23: Message

The AIS message send. This should be a hex encoded string.

24: Repeat

Check this button to repeatedly transmit a message. Right click to open the dialog to adjust the delay between retransmission and number of times the message should be repeated.

25: TX

Transmits the message.

API

Full details of the API can be found in the Swagger documentation. Here is a quick example of how to transmit a message from the command line:

curl -X POST "http://127.0.0.1:8091/sdrangel/deviceset/1/channel/0/actions" -d '{"channelType": "AISMod",  "direction": 1, "AISModActions": { "tx": { "data": "000000000000000000000000000000000" }}}'

Or to set the FM deviation:

curl -X PATCH "http://127.0.0.1:8091/sdrangel/deviceset/1/channel/0/settings" -d '{"channelType": "AISMod", "direction": 1, "AISModSettings": {"fmDeviation": 4800}}'