kopia lustrzana https://github.com/Hamlib/Hamlib
Update multicast draft protocol
rodzic
e8c7a198ea
commit
225ab6f85d
|
@ -25,30 +25,35 @@ CRC=0xf49f4708 (this is just an example CRC and not accurate for this example)
|
|||
|
||||
Example JSON
|
||||
{
|
||||
"VFO1": { // unlimited number of VFOs possible
|
||||
"__comment1__": "customizable rig identification -- will allow multiple rigs to be on the multicast",
|
||||
"ID": "Rig#1",
|
||||
"vfos": [
|
||||
{
|
||||
"VFO": "VFOA",
|
||||
"Freq": 14074000, // Hz
|
||||
"Freq": 14074000,
|
||||
"Mode": "USB",
|
||||
"Width": 5000, .. // Hz
|
||||
"RX": 0, // boolean values 0 = off, 1 = on
|
||||
"TX": 0,
|
||||
"Width": 5000,
|
||||
"RX": 0,
|
||||
"TX": 0
|
||||
},
|
||||
"VFO2": {
|
||||
{
|
||||
"VFO": "VFOB",
|
||||
"Freq": 14076000,
|
||||
"Mode": "USB",
|
||||
"Width": 5000,
|
||||
"RX": 0,
|
||||
"TX": 0,
|
||||
},
|
||||
"TX": 0
|
||||
}],
|
||||
"Split": 0,
|
||||
"SatMode": 0
|
||||
"ID": "Rig#1", // customizable rig identification
|
||||
"SatMode": 0,
|
||||
"Rig": "Dummy",
|
||||
"App": "Hamlib",
|
||||
"Version": "20210429", // protocol version date YYYYMMDD
|
||||
"Seq": 1, // 1-up sequence number 32-bit -- wraps around to 1 from 2^32-1
|
||||
"CRC": "0xf49f4708" // 32-bit CRC of all data replacing the CRC value with 0x00000000
|
||||
"__comment_version__": "protocol version date YYYYMMDD",
|
||||
"Version": "20210518",
|
||||
"__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 all data replacing the CRC value with 0x00000000",
|
||||
"CRC": "0xf49f4708"
|
||||
}
|
||||
|
||||
Will be able to set freq, mode, width, ptt
|
||||
|
|
Ładowanie…
Reference in New Issue