Add DMR to JSON/MQTT.

This commit is contained in:
Jonathan Naylor 2023-01-18 17:58:53 +00:00
parent a87cac4140
commit 72f249b12e
3 changed files with 265 additions and 29 deletions

View file

@ -22,6 +22,7 @@
"pocsag_source": {"type": "string", "enum": ["local", "network"]},
"pocsag_functional": {"type": "string", "enum": ["numeric", "alphanumeric", "alert_1", "alert_2"]},
"action": {"type": "string", "enum": ["invalid", "rejected", "start", "late_entry", "end", "lost"]},
"dmr_action": {"type": "string", "enum": ["csbk", "timeout", "invalid", "rejected", "start", "late_entry", "end", "lost"]},
"duration": {"type": "number", "minimum": 0.0},
"loss": {"type": "number", "minimum": 0.0},
"ber": {"type": "number", "minimum": 0.0},
@ -65,7 +66,9 @@
"destination_type": {"$ref": "#/$defs/destination_type"},
"slot": {"$ref": "#/$defs/dmr_slot"},
"source": {"$ref": "#/$defs/source"},
"action": {"$ref": "#/$defs/action"},
"action": {"$ref": "#/$defs/dmr_action"},
"csbk_desc": {"type": "string"},
"frames": {"type": "integer"},
"duration": {"$ref": "#/$defs/duration"},
"loss": {"$ref": "#/$defs/loss"},
"ber": {"$ref": "#/$defs/ber"},