kopia lustrzana https://github.com/Hamlib/Hamlib
93 wiersze
2.6 KiB
JSON
93 wiersze
2.6 KiB
JSON
{
|
|
"__comment1__": "customizable rig identification -- will allow multiple rigs to be on the multicast",
|
|
"ID": "Rig#1",
|
|
"VFOs": [
|
|
{
|
|
"Name": "VFOA",
|
|
"Freq": 14074000,
|
|
"Mode": "USB",
|
|
"Width": 5000,
|
|
"WidthLower": 200,
|
|
"WidthUpper": 3000,
|
|
"RX": true,
|
|
"TX": false
|
|
},
|
|
{
|
|
"Name": "VFOB",
|
|
"Freq": 14076000,
|
|
"Mode": "USB",
|
|
"Width": 5000,
|
|
"WidthLower": 200,
|
|
"WidthUpper": 3000,
|
|
"RX": false,
|
|
"TX": true
|
|
}],
|
|
|
|
"__comment_spectrum__": "Rigs that have spectrum output may include this data",
|
|
"Spectra": [
|
|
{
|
|
"Name": "Main",
|
|
"Length": 475,
|
|
"__comment_spectrum_data__": "2-char hex bytes so data len=2*Length",
|
|
"Data": "00AAFF75BD2AAA...",
|
|
"Type": "FIXED|CENTER",
|
|
"MinLevel": 0,
|
|
"MaxLevel": 140,
|
|
"MinStrength": -100,
|
|
"MaxStrength": 0,
|
|
|
|
"__comment_spectrum_center__": "If Type=CENTER, the following fields will be present:",
|
|
"CenterFreq": 14267000,
|
|
"Span": 25000,
|
|
|
|
"__comment_spectrum_fixed__": "If SpectrumType=FIXED, the following fields will be present:",
|
|
"LowFreq": 14000000,
|
|
"HighFreq": 14250000
|
|
},
|
|
{
|
|
"Name": "Sub",
|
|
"Length": 475,
|
|
"__comment_spectrum_data__": "2-char hex bytes so data len=2*Length",
|
|
"Data": "00AAFF75BD2AAA...",
|
|
"Type": "FIXED|CENTER",
|
|
"MinLevel": 0,
|
|
"MaxLevel": 140,
|
|
"MinStrength": -100,
|
|
"MaxStrength": 0,
|
|
|
|
"__comment_spectrum_center__": "If Type=CENTER, the following fields will be present:",
|
|
"CenterFreq": 14267000,
|
|
"Span": 25000,
|
|
|
|
"__comment_spectrum_fixed__": "If SpectrumType=FIXED, the following fields will be present:",
|
|
"LowFreq": 14000000,
|
|
"HighFreq": 14250000
|
|
}],
|
|
"LastCommand": {
|
|
"ID": "MyApp 123",
|
|
"Command": "set_freq VFOA 14074000",
|
|
"Status": "OK"
|
|
},
|
|
"__comment_gps__": "Rigs that have gps output may include this data Lat -180 to 180 Lat -90 to 90",
|
|
"GPS":
|
|
{
|
|
"Latitude": 31.6543,
|
|
"Longitude": -91.6543,
|
|
"__comment_gps__": "Time is in UTC gps synchronized for this block",
|
|
"Time": "2023-01-18T14:29:18.740561"
|
|
},
|
|
|
|
"Split": true,
|
|
"SatMode": false,
|
|
"__comment_Time__": "Time is from internal rig not GPS synced so may be inaccurate -- see GPS Time",
|
|
"Time": "2023-01-18T14:29:18.740561",
|
|
"Rig": "Dummy",
|
|
"App": "Hamlib",
|
|
"__comment_version__": "protocol version date YYYYMMDD",
|
|
"Version": "20210520",
|
|
"__comment_seq__": "Seq is 1-up sequence number 32-bit -- wraps around to 1 from 2^32-1",
|
|
"Seq": 1,
|
|
"__comment_crc__": "32-bit CRC of entire JSON record replacing the CRC value with 0x00000000",
|
|
"CRC": "0x00000000"
|
|
}
|