demo: [root@M28x NandFlash]# ./omDemo1 4184 1 0 0 0 SNMP10.11.1.89:161 VIDIOC_QUERYCAPno captureMemTotal: 124460 kB MemFree: 71956 kB Buffers: 0 kB Cached: 29532 kB !!!MemVsz 0: 4196 KB SIGRTMAX-1= 63 SerManager new: 1b3f8 !!!MemVsz change: 112 KB !!!MemVsz change: 6084 KB !!!MemVsz change: 1036 KB SMxxx: Type=4184 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=SNMP10.11.1.89:161 Type=4184 CSMSnmpPub::UpdLoad d=1 50ms tout=300 testSM SM=1e250 VIDIOC_QUERYCAPno captureno streamingMemTotal: 124460 kB MemFree: 71508 kB Buffers: 0 kB Cached: 29532 kB start SMxxx->DataGet ... 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:19: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:20: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) 20230104.15:19:20: 50 13 02 40 P..@ : (4)DEBUG : SNMPMessage: return value for build message: (0) t=4184 iaddr=1 iext=0 upsAdvBatteryCapacity=100 upsAdvBatteryRunTimeRemaining=2:13:00.00 upsAdvBatteryTemperature=24 upsAdvInputFrequency=49 upsAdvInputLineVoltage=224 upsAdvOutputCurrent=2 upsAdvOutputFrequency=50 upsAdvOutputLoad=12 upsAdvOutputVoltage=219 upsAdvStateAbnormalConditions=00000000000000000000000000000000 upsBasicStateOutputState=0001010000000000001000000000000000000000000000000000000000000000 brief=▒▒▒▒▒ѹ: 224 V, ▒▒▒▒Ƶ▒▒: 49 Hz smdat0: {qry: "ok", qryid: 16,…} qry : "ok" qryid : 16 reccnt : 11 recs : [{LID: 1, DID: 0, SID: 16, Fld: "upsAdvBatteryCapacity", Val: 100, ValStr: ""},…] 0 : {LID: 1, DID: 0, SID: 16, Fld: "upsAdvBatteryCapacity", Val: 100, ValStr: ""} DID : 0 Fld : "upsAdvBatteryCapacity" LID : 1 SID : 16 Val : 100 ValStr : "" 1 : {LID: 2, DID: 0, SID: 16, Fld: "upsAdvBatteryRunTimeRemaining", Val: 0, ValStr: "2:13:00.00"} DID : 0 Fld : "upsAdvBatteryRunTimeRemaining" LID : 2 SID : 16 Val : 0 ValStr : "2:13:00.00" 2 : {LID: 3, DID: 0, SID: 16, Fld: "upsAdvBatteryTemperature", Val: 24, ValStr: ""} DID : 0 Fld : "upsAdvBatteryTemperature" LID : 3 SID : 16 Val : 24 ValStr : "" 3 : {LID: 4, DID: 0, SID: 16, Fld: "upsAdvInputFrequency", Val: 49, ValStr: ""} DID : 0 Fld : "upsAdvInputFrequency" LID : 4 SID : 16 Val : 49 ValStr : "" 4 : {LID: 5, DID: 0, SID: 16, Fld: "upsAdvInputLineVoltage", Val: 224, ValStr: ""} DID : 0 Fld : "upsAdvInputLineVoltage" LID : 5 SID : 16 Val : 224 ValStr : "" 5 : {LID: 6, DID: 0, SID: 16, Fld: "upsAdvOutputCurrent", Val: 2, ValStr: ""} DID : 0 Fld : "upsAdvOutputCurrent" LID : 6 SID : 16 Val : 2 ValStr : "" 6 : {LID: 7, DID: 0, SID: 16, Fld: "upsAdvOutputFrequency", Val: 50, ValStr: ""} DID : 0 Fld : "upsAdvOutputFrequency" LID : 7 SID : 16 Val : 50 ValStr : "" 7 : {LID: 8, DID: 0, SID: 16, Fld: "upsAdvOutputLoad", Val: 12, ValStr: ""} DID : 0 Fld : "upsAdvOutputLoad" LID : 8 SID : 16 Val : 12 ValStr : "" 8 : {LID: 9, DID: 0, SID: 16, Fld: "upsAdvOutputVoltage", Val: 219, ValStr: ""} DID : 0 Fld : "upsAdvOutputVoltage" LID : 9 SID : 16 Val : 219 ValStr : "" 9 : {LID: 10, DID: 0, SID: 16, Fld: "upsAdvStateAbnormalConditions", Val: 0,…} DID : 0 Fld : "upsAdvStateAbnormalConditions" LID : 10 SID : 16 Val : 0 ValStr : "00000000000000000000000000000000" 10 : {LID: 11, DID: 0, SID: 16, Fld: "upsBasicStateOutputState", Val: 0,…} DID : 0 Fld : "upsBasicStateOutputState" LID : 11 SID : 16 Val : 0 ValStr : "0001010000000000001000000000000000000000000000000000000000000000"