Hi.
I'm polling the Agent from the linux console:
/usr/bin/snmpget -v1 -t 10 -c public 10.100.198.250 .1.3.6.1.4.1.3049.1.13.0
I get the response:
SNMPv2-SMI::enterprises.3049.1.13.0 = Opaque: Float: 13.100000
I.e. Float data type.
If I use SnmpManager on ESP32 and use the following to request the specified parameter:
callbackBattery = snmpManager.addFloatHandler(target, ".1.3.6.1.4.1.3049.1.13.0", &Battery);
where I declare Battery as float Battery then the error:
Incorrect Callback type. Expected: 2 Received: 68 - When calling: .1.3.6.1.4.1.3049.1.13.0
Debug log in file
debug_log.txt
Please tell me what to pay attention to