Update multicast draft protocol

pull/705/head
Mike Black W9MDB 2021-05-18 08:58:21 -05:00
rodzic e8c7a198ea
commit 225ab6f85d
1 zmienionych plików z 18 dodań i 13 usunięć

Wyświetl plik

@ -25,30 +25,35 @@ CRC=0xf49f4708 (this is just an example CRC and not accurate for this example)
Example JSON 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", "VFO": "VFOA",
"Freq": 14074000, // Hz "Freq": 14074000,
"Mode": "USB", "Mode": "USB",
"Width": 5000, .. // Hz "Width": 5000,
"RX": 0, // boolean values 0 = off, 1 = on "RX": 0,
"TX": 0, "TX": 0
}, },
"VFO2": { {
"VFO": "VFOB", "VFO": "VFOB",
"Freq": 14076000, "Freq": 14076000,
"Mode": "USB", "Mode": "USB",
"Width": 5000, "Width": 5000,
"RX": 0, "RX": 0,
"TX": 0, "TX": 0
}, }],
"Split": 0, "Split": 0,
"SatMode": 0 "SatMode": 0,
"ID": "Rig#1", // customizable rig identification
"Rig": "Dummy", "Rig": "Dummy",
"App": "Hamlib", "App": "Hamlib",
"Version": "20210429", // protocol version date YYYYMMDD "__comment_version__": "protocol version date YYYYMMDD",
"Seq": 1, // 1-up sequence number 32-bit -- wraps around to 1 from 2^32-1 "Version": "20210518",
"CRC": "0xf49f4708" // 32-bit CRC of all data replacing the CRC value with 0x00000000 "__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 Will be able to set freq, mode, width, ptt