mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Add P25 to JSON/MQTT.
This commit is contained in:
parent
82dab9a93f
commit
17c194c466
7 changed files with 137 additions and 13 deletions
|
|
@ -1258,8 +1258,10 @@ void CNXDNControl::writeJSON(nlohmann::json& json, const char* source, const cha
|
|||
json["source"] = source;
|
||||
json["action"] = action;
|
||||
json["source_id"] = int(srcId);
|
||||
json["source_info"] = srcInfo;
|
||||
json["destination_id"] = int(dstId);
|
||||
json["destination_type"] = grp ? "group" : "individual";
|
||||
|
||||
if (!srcInfo.empty())
|
||||
json["source_info"] = srcInfo;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue