.: Masters status :. {% if _table['MASTERS']|length >0 %} {% for _master in _table['MASTERS'] %} {% if ((_table['MASTERS'][_master]['PEERS']|length==0 or _table['MASTERS'][_master]['PEERS']|length>0) and emaster==True) or (_table['MASTERS'][_master]['PEERS']|length>0 and emaster==False) %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].items() %} {% endfor %} {% endif %} {% endfor %}
HB Protocol
Master Systems
Callsign (DMR Id)
Info
Time Connected Slot Source Destination
{{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}
{{ _cdata['CALLSIGN']}} (Id: {{ _client }})
{% if _cdata['RX_FREQ'] == 'N/A' and _cdata['TX_FREQ'] == 'N/A' %} Type: IP Network
{% else %} Type: Radio ({{ _cdata['SLOTS'] }})
{% endif %} Soft_Ver: {{_cdata['SOFTWARE_ID'] }}
Hardware: {{_cdata['PACKAGE_ID'] }}

{{_cdata['LOCATION']}}
{{ _cdata['CONNECTED'] }} TS1 {{ _cdata[1]['SUB']|safe }} {{ _cdata[1]['DEST']|safe }}
TS2 {{ _cdata[2]['SUB']|safe }} {{ _cdata[2]['DEST']|safe }}
{% else %}
Waiting for data from the Server...
{% endif %}
.: Peers status :. {% if _table['PEERS']|length >0 %} {% for _peer, _pdata in _table['PEERS'].items() %} {% endfor %}
HB Protocol
Peer Systems
Callsign (DMR Id)
Info
Connected
TX/RX/Lost
Slot Source Destination
{{ _peer}}
Mode: {{ _table['PEERS'][_peer]['MODE'] }}
{{_table['PEERS'][_peer]['CALLSIGN']}} (Id: {{ _table['PEERS'][_peer]['RADIO_ID']}}) Time Slot: {{ _table['PEERS'][_peer]['SLOTS'] }}

{{_table['PEERS'][_peer]['LOCATION']}}
{{ _table['PEERS'][_peer]['STATS']['CONNECTED'] }}
{{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }} / {{ _table['PEERS'][_peer]['STATS']['PINGS_SENT'] - _table['PEERS'][_peer]['STATS']['PINGS_ACKD'] }}
TS1 {{ _pdata[1]['SUB']|safe }} {{ _pdata[1]['DEST']|safe }}
TS2 {{ _pdata[2]['SUB']|safe }} {{ _pdata[2]['DEST']|safe }}
{% endif %}