Handle rejected M17 RF transmissions.

This commit is contained in:
Jonathan Naylor 2023-01-04 17:19:10 +00:00
parent f216ee4e04
commit 97a00ef2a3
4 changed files with 25 additions and 14 deletions

View file

@ -1,6 +1,6 @@
{
"$defs": {
"mmdvm_state": {"enum": ["lockout", "idle", "d-star", "dmr", "ysf", "nxdn", "pocsag", "fm", "ax,25", "m17"]},
"mmdvm_state": {"type": "string", "enum": ["lockout", "idle", "d-star", "dmr", "ysf", "nxdn", "pocsag", "fm", "ax,25", "m17"]},
"dstar_callsign": {"type": "string", "minLength": 8, "maxLength": 8},
"dstar_extension": {"type": "string", "minLength": 4, "maxLength": 4},
"ysf_callsign": {"type": "string", "minLength": 10, "maxLength": 10},
@ -10,17 +10,17 @@
"p25_id": {"type": "integer", "minimum": 1, "maximum": 65535},
"nxdn_id": {"type": "integer", "minimum": 1, "maximum": 65535},
"pocsag_ric": {"type": "integer"},
"id_type": {"enum": ["group", "individual"]},
"ysf_mode": {"enum": ["v/d_1", "v/d_2", "voice_fr", "data_fr"]},
"ax25_type": {"enum": ["sabm", "disc", "ui", "ua", "rr", "rnr", "rej", "frmr", "i"]},
"dmr_slot": {"enum": [1, 2]},
"source": {"enum": ["rf", "network"]},
"fm_state": {"enum": ["waiting_rf", "waiting_network"]},
"m17_traffic_type": {"enum": ["audio", "audio_data", "data"]},
"id_type": {"type": "string", "enum": ["group", "individual"]},
"ysf_mode": {"type": "string", "enum": ["v/d_1", "v/d_2", "voice_fr", "data_fr"]},
"ax25_type": {"type": "string", "enum": ["sabm", "disc", "ui", "ua", "rr", "rnr", "rej", "frmr", "i"]},
"dmr_slot": {"type": "integer", "enum": [1, 2]},
"source": {"type": "string", "enum": ["rf", "network"]},
"fm_state": {"type": "string", "enum": ["waiting_rf", "waiting_network"]},
"m17_traffic_type": {"type": "string", "enum": ["audio", "audio_data", "data"]},
"ax25_pid": {"type": "string"},
"pocsag_source": {"enum": ["local", "network"]},
"pocsag_function": {"enum": ["numeric", "alphanumeric", "alert_1", "alert_2"]},
"action": {"enum": ["invalid", "rejected", "header", "late_entry", "end", "lost"]},
"pocsag_source": {"type": "string", "enum": ["local", "network"]},
"pocsag_function": {"type": "string", "enum": ["numeric", "alphanumeric", "alert_1", "alert_2"]},
"action": {"type": "string", "enum": ["invalid", "rejected", "header", "late_entry", "end", "lost"]},
"duration": {"type": "number", "minimum": 0.0},
"loss": {"type": "number", "minimum": 0.0},
"ber": {"type": "number", "minimum": 0.0},