Hello.
I am trying to use your library to create a simple SNMP system on my ESP32 board but can only get the SysUpTime OID working.
I have added the following lines to your example:
static unsigned char sysContact[] = {0x2b, 0x06, 0x01, 0x02, 0x01, 0x01, 0x04, 0x00};
char contact[16] = "system contact";
kedi.addObject(sysContact, 8, STRING, &contact);
but when I access OID .1.3.6.1.2.1.1.3.0 (sysContact) I get nothing returned in iReasoning MIB browser but no error. Does the STRING GET function not work in this library as I get 'Type Sequence of length 25 and has 0 children' with a type 'Sequence' on any request I make although the sysUpTime OID does also say 'Type Sequence of length 16 and has 0 children' so I am confused why that works ?
Any help would be welcome as I cannot get it to work.
Hello.
I am trying to use your library to create a simple SNMP system on my ESP32 board but can only get the SysUpTime OID working.
I have added the following lines to your example:
but when I access OID .1.3.6.1.2.1.1.3.0 (sysContact) I get nothing returned in iReasoning MIB browser but no error. Does the STRING GET function not work in this library as I get 'Type Sequence of length 25 and has 0 children' with a type 'Sequence' on any request I make although the sysUpTime OID does also say 'Type Sequence of length 16 and has 0 children' so I am confused why that works ?
Any help would be welcome as I cannot get it to work.