Connecting SNMP-MIB-Variable to an actual Variable
I am working on my first SNMP-Communication. I want to set a variable and make it readable via an OID (so a GET) I wrote both *.mib and compiled it via the mib2bib.jar but how do i connect these two? Is there a function? I think it is the TCPIP_SNMP_VarbindGet, but I am not really sure how to work it!
Thanks in advance
MPLAB IDE v5.15 with Harmony v2.06
In my .mib File I want to declare my Cooperations OID using:
$DeclareVar(myCorp, OID, SINGLE, READONLY, 22.214.171.124.1.1.2)
Later in the File I got:
$DeclareVar(MICROCHIP, OID, SINGLE, READONLY, 126.96.36.199.1.1.2)
Now I know that the contradict each other. But If I delete those 3 lines the IDE throwes Errors while Building I am working at the moment with a new Harmony Project based on the Ethernet Starter Kit II.
How do I correctly register my Corps OID. Do I need to define every step of the OID-Tree like in SMI/ASN.1?
post edited by Findas - 2019/05/23 06:59:20