Get channel info and set listening channel
Radio info is written to:
communication.vhf.ip string IP address of Icom M510E
.port number UDP source port
.busy boolean Is channel busy?
.squelch number Squelch setting (0-10)
.channel string Active channel
.fav boolean Is favourite?
.duplex boolean Is channel duplex?
.hilo boolean Allows changing High/Low?
.watt number 1 or 25 Watt
.enabled boolean Is channel enabled
The following api calls can be made
curl -H "Content-Type: application/json" -X PUT http://localhost:3000/signalk/v1/api/vessels/self/communication/vhf/channel -d '{"value": "+1"}'
where value
is -1
for channel down, +1
for channel up or a channel number in 4 characters, e.g. 2019
or 0001
.
Normally the CT-M500 interface box should be used to create the NMEA2000 connectivity. The Icom M510E without AIS seems to have all the AIS software onboard, just not the hardware bits (it seems).
If we can find out how to inject NMEA2000 (which is probably NMEA0183), most functionality of the CT-M500 can be done in software through a SignalK plugin. So if you have access to a CT-M500, I'd like to get in contact.