forked from KD8EYF/DMRlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
internal_data_decode.txt
134 lines (133 loc) · 3.96 KB
/
internal_data_decode.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
This is the internal structure dmrlink uses to hold master, peer and local information for each IPSC. the actual numbers are bogus, and the encoded FLAGS and MODE bytes don't match the binary decoding. This example is only to illustrate and document the struture in a "pretty print" type format only. Yeah, you could just pretty print it, but this is a little cleaner and you don't have to go in and take the extra 5 mintues this way.
{
'MASTER': {
'STATUS': {
'KEEP_ALIVES_OUTSTANDING': 1,
'KEEP_ALIVES_MISSED': 0,
'CONNECTED': True,
'KEEP_ALIVES_SENT': 10,
'PEER_LIST': True },
'MODE_DECODE': {
'TS_1': True,
'TS_2': True,
'PEER_MODE': 'DIGITAL',
'PEER_OP': True },
'FLAGS_DECODE': {
'VOICE': True,
'RCM': True,
'XNL_SLAVE': True,
'MASTER': True,
'CON_APP': True,
'XNL_CON': False,
'CSBK': True,
'DATA': True,
'XNL_MASTER': False,
'AUTH': True },
'IP': '10.10.10.1',
'RADIO_ID': '\x00\x00\x00\x01',
'FLAGS': '\x00\x00\xe0\x3d',
'MODE': '\x6a',
'PORT': 50001 },
'PEERS': {
'\x00\x00\x01\x03': {
'STATUS': {
'KEEP_ALIVES_OUTSTANDING': 1,
'KEEP_ALIVES_MISSED': 0,
'CONNECTED': True,
'KEEP_ALIVES_SENT': 8 },
'MODE_DECODE': {
'TS_1': True,
'TS_2': True,
'PEER_MODE': 'DIGITAL',
'PEER_OP': True },
'FLAGS_DECODE': {
'VOICE': True,
'RCM': False,
'XNL_SLAVE': False,
'MASTER': False,
'CON_APP': True,
'XNL_CON': False,
'CSBK': False,
'DATA': True,
'XNL_MASTER': False,
'AUTH': True },
'IP': '10.10.20.1',
'FLAGS': '\x00\x00\x00\x1c',
'MODE': '\x6a',
'PORT': 51990 },
'\x00\x00\x05\x80': {
'STATUS': {
'KEEP_ALIVES_OUTSTANDING': 1,
'KEEP_ALIVES_MISSED': 0,
'CONNECTED': True,
'KEEP_ALIVES_SENT': 8},
'MODE_DECODE': {
'TS_1': True,
'TS_2': True,
'PEER_MODE': 'DIGITAL',
'PEER_OP': True },
'FLAGS_DECODE': {
'VOICE': True,
'RCM': False,
'XNL_SLAVE': False,
'MASTER': False,
'CON_APP': True,
'XNL_CON': False,
'CSBK': False,
'DATA': True,
'XNL_MASTER': False,
'AUTH': True },
'IP': '10.10.20.2',
'FLAGS': '\x00\x00\x00\x01',
'MODE': '\x6a',
'PORT': 50900 },
'\x00\x04\xa2\x37': {
'STATUS': {
'KEEP_ALIVES_OUTSTANDING': 1,
'KEEP_ALIVES_MISSED': 0,
'CONNECTED': True,
'KEEP_ALIVES_SENT': 8 },
'MODE_DECODE': {
'TS_1': True,
'TS_2': True,
'PEER_MODE': 'DIGITAL',
'PEER_OP': True },
'FLAGS_DECODE': {
'VOICE': True,
'RCM': False,
'XNL_SLAVE': False,
'MASTER': False,
'CON_APP': False,
'XNL_CON': False,
'CSBK': True,
'DATA': True,
'XNL_MASTER': True,
'AUTH': True },
'IP': '10.10.20.3',
'FLAGS': '\x00\x00\x00\x01',
'MODE': '\x6a',
'PORT': 50000 },
'LOCAL': {
'TS2_LINK': True,
'AUTH_KEY': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xab\xcd\xef\xf0',
'CON_APP': True,
'RADIO_ID': '\x00\x67\x03',
'ENABLED': True,
'ALIVE_TIMER': 5,
'TS1_LINK': True,
'RCM': True,
'AUTH_ENABLED': True,
'IPSC_MODE': 'DIGITAL',
'DATA_CALL': True,
'NUM_PEERS': 6,
'PORT': 50001,
'VOICE_CALL': True,
'MASTER_PEER': False,
'CSBK_CALL': True,
'XNL_CALL': True,
'XNL_MASTER': True,
'MODE': '\x6a',
'MAX_MISSED': 20,
'FLAGS': '\x00\x00\xe0\xdc',
'PEER_OPER': True }
}