-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpcs-electronics.mib
More file actions
307 lines (281 loc) · 10.4 KB
/
pcs-electronics.mib
File metadata and controls
307 lines (281 loc) · 10.4 KB
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
PCS-ELECTRONICS-MIB DEFINITIONS ::= BEGIN
-- Quick test examples (replace <ip>):
-- Standard MIB-II:
-- snmpget -v2c -c public <ip> 1.3.6.1.2.1.1.7.0
-- (sysServices.0, expected value: 72)
--
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.2.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.2.2.0
-- snmpset -v2c -c private <ip> 1.3.6.1.4.1.65081.1.2.3.0 i <power_percent_0_to_100>
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.2.3.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.3.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.3.2.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.4.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.4.2.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.4.3.0
-- snmpset -v2c -c private <ip> 1.3.6.1.4.1.65081.1.4.4.0 i <alarm_code_0_to_65535>
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.4.4.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.5.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.5.2.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.5.3.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.6.1.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.6.2.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.7.1.0
-- snmpset -v2c -c private <ip> 1.3.6.1.4.1.65081.1.7.2.0 i <gain_0p1dB_0_to_250>
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.7.2.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.7.3.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.7.4.0
-- snmpset -v2c -c private <ip> 1.3.6.1.4.1.65081.1.7.5.0 i <stereo_channels_0_to_3>
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.7.5.0
-- snmpget -v2c -c public <ip> 1.3.6.1.4.1.65081.1.8.1.0
-- snmpwalk -v2c -c public <ip> 1.3.6.1.4.1.65081
--
-- Unit notes:
-- txForwardPower / txReflectedPower are 0.1 W units (value/10 = watts).
-- txInternalTemperature / txExternalTemperature are 0.1 degC units (value/10 = degC).
-- voltages are in 0.1 V units; currents are in 0.1 A units.
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, enterprises, Integer32, Unsigned32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC;
pcsElectronicsMIB MODULE-IDENTITY
LAST-UPDATED "202602160100Z"
ORGANIZATION "PCS Elektronik d.o.o."
CONTACT-INFO
"Marko Seruga
E-mail: radio@pcs-electronics.com
Web: https://www.pcs-electronics.com"
DESCRIPTION
"Private MIB for PCS Electronics transmitter controller telemetry."
REVISION "202602160100Z"
DESCRIPTION
"Added txStereoChannels (read/write, 0..3) from txboard_settings.stereo_channels.
Kept txAudioGain scaling at txboard_settings.audio_gain10
(0..250 in 0.1 dB steps).
Note: standard system OIDs (including sysServices.0) are under MIB-II
and are intentionally not redefined in this private enterprise MIB."
::= { enterprises 65081 }
pcsProducts OBJECT IDENTIFIER ::= { pcsElectronicsMIB 1 }
pcsPower OBJECT IDENTIFIER ::= { pcsProducts 2 }
pcsTemperature OBJECT IDENTIFIER ::= { pcsProducts 3 }
pcsAlarm OBJECT IDENTIFIER ::= { pcsProducts 4 }
pcsVoltage OBJECT IDENTIFIER ::= { pcsProducts 5 }
pcsCurrent OBJECT IDENTIFIER ::= { pcsProducts 6 }
pcsAudio OBJECT IDENTIFIER ::= { pcsProducts 7 }
pcsFrequency OBJECT IDENTIFIER ::= { pcsProducts 8 }
pcsDeviceObjectId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Firmware device object-id string. Current value in source:
1.3.6.1.4.1.65081.1.1"
::= { pcsProducts 1 }
txForwardPower OBJECT-TYPE
SYNTAX Integer32 (0..1000000)
UNITS "0.1 W"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Transmitter forward/output power from txboard_status.power_forward_w.
Value is scaled by 10 (deci-watts)."
::= { pcsPower 1 }
txReflectedPower OBJECT-TYPE
SYNTAX Integer32 (0..1000000)
UNITS "0.1 W"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Transmitter reflected power from txboard_status.power_refl_w.
Value is scaled by 10 (deci-watts)."
::= { pcsPower 2 }
txPowerPercent OBJECT-TYPE
SYNTAX Integer32 (0..100)
UNITS "percent"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Power setting from txboard_settings.power_percentage.
Value is in 1 percent steps.
SNMP SET stores value and marks settings for EEPROM save."
::= { pcsPower 3 }
txInternalTemperature OBJECT-TYPE
SYNTAX Integer32 (-1000..3000)
UNITS "0.1 degC"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Internal transmitter temperature from txboard_status.internal_temperature_c.
Reported in 0.1 degrees Celsius."
::= { pcsTemperature 1 }
txExternalTemperature OBJECT-TYPE
SYNTAX Integer32 (-1000..3000)
UNITS "0.1 degC"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"External/PA temperature from txboard_status.external_temperature_c.
Reported in 0.1 degrees Celsius."
::= { pcsTemperature 2 }
txAlarmBits OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Alarm status bitmask from low 5 bits of txboard_status.alm_st_bits.
Bits currently used in firmware:
bit0=extTemp, bit1=highSWR, bit2=intTemp, bit3=highCurrent,
bit4=highVoltage."
::= { pcsAlarm 1 }
txPAConnected OBJECT-TYPE
SYNTAX Integer32 (0..1)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Single-bit 0/1 export from bit8 (0x100) of txboard_status.alm_st_bits.
1 means bit8 is set; 0 means bit8 is clear."
::= { pcsAlarm 2 }
txAlarmCodeNow OBJECT-TYPE
SYNTAX INTEGER {
noAlarm(0),
extTemp(1),
highSWR(2),
intTemp(3),
highCurrent(4),
highVoltage(5),
noExciter(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current alarm code mapped from low-byte bits of txboard_status.alm_st_bits.
bit0->1(extTemp), bit1->2(highSWR), bit2->3(intTemp),
bit3->4(highCurrent), bit4->5(highVoltage).
If no mapped alarm bit is set and txboard_status.read_ok is false
while exciter_has_tx() is true, returns 6(noExciter); otherwise 0(noAlarm).
If multiple mapped bits are set, the lowest bit index wins."
::= { pcsAlarm 3 }
txAlarmCodeLatched OBJECT-TYPE
SYNTAX INTEGER {
noAlarm(0),
extTemp(1),
highSWR(2),
intTemp(3),
highCurrent(4),
highVoltage(5),
noExciter(6)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Latched alarm code from txboard_status.alm_code_latched.
This object is writable and can be reset (for example to 0)."
::= { pcsAlarm 4 }
txExciterVoltage OBJECT-TYPE
SYNTAX Integer32 (0..10000)
UNITS "0.1 V"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Exciter voltage from txboard_status.exciter_voltage_v.
Value is scaled by 10 (deci-volts)."
::= { pcsVoltage 1 }
txPAVoltage OBJECT-TYPE
SYNTAX Integer32 (0..10000)
UNITS "0.1 V"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"PA voltage from txboard_status.pa_voltage_v.
Value is scaled by 10 (deci-volts)."
::= { pcsVoltage 2 }
txPA2Voltage OBJECT-TYPE
SYNTAX Integer32 (0..10000)
UNITS "0.1 V"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"PA2 voltage from txboard_status.pa2_voltage_v.
Value is scaled by 10 (deci-volts)."
::= { pcsVoltage 3 }
txExciterCurrent OBJECT-TYPE
SYNTAX Integer32 (0..10000)
UNITS "0.1 A"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Exciter current from txboard_status.exc_current_a.
Value is scaled by 10 (deci-amps)."
::= { pcsCurrent 1 }
txPACurrent OBJECT-TYPE
SYNTAX Integer32 (0..10000)
UNITS "0.1 A"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"PA current from txboard_status.pa_current_a.
Value is scaled by 10 (deci-amps)."
::= { pcsCurrent 2 }
txAudioInputSource OBJECT-TYPE
SYNTAX INTEGER {
analogInput(0),
aesEbu(1),
i2s1(2),
i2s2(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Current input audio source from bits0..1 of txboard_settings.audio_input.
Bit6 (bypass DC blocking filter) and bit7 (Stereo Tool flag) are preserved
and are not changed by this object.
SNMP SET accepts values 0..3."
::= { pcsAudio 1 }
txAudioGain OBJECT-TYPE
SYNTAX Integer32 (0..250)
UNITS "0.1 dB"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Audio input gain from txboard_settings.audio_gain10.
Allowed range is 0..250 in 0.1 dB steps.
SNMP SET stores the new value and marks settings for EEPROM save."
::= { pcsAudio 2 }
txVULeft OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Raw left-channel VU level from txboard_status.vu_left."
::= { pcsAudio 3 }
txVURight OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Raw right-channel VU level from txboard_status.vu_right."
::= { pcsAudio 4 }
txStereoChannels OBJECT-TYPE
SYNTAX INTEGER {
mpxLeft(0),
mpxRight(1),
stereo(2),
monoLeftPlusRight(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Stereo channel mode from txboard_settings.stereo_channels.
SNMP SET accepts values 0..3 and marks settings for EEPROM save."
::= { pcsAudio 5 }
txFrequencykHz OBJECT-TYPE
SYNTAX Integer32 (0..10000000)
UNITS "kHz"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Transmitter frequency in kHz from txboard_settings.fq_mhz."
::= { pcsFrequency 1 }
END