• AVR Freaks

Hot!Connecting SNMP-MIB-Variable to an actual Variable

New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2019/05/20 07:09:15
  • Location: 0
  • Status: offline
2019/05/22 22:15:47 (permalink)

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,
Later in the File I got:

$AgentID(MICROCHIP, 255)
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?
Thanks alot
post edited by Findas - 2019/05/23 06:59:20

0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 4.5