Skip to main content
Visitor II
June 2, 2020
Question

LWIP SNMP

  • June 2, 2020
  • 1 reply
  • 1793 views

I am having difficulty implementing a snmp agent.

The snmpget reading mode is OK.

snmpget -v1 -c public 10.55.1.1 .1.3.6.1.4.1.54532.1.1.17.0

iso.3.6.1.4.1.54532.1.1.17.0 = INTEGER: 2

but I can't write to a variable using snmpset

snmpset -v1 -c public 10.55.1.1 .1.3.6.1.4.1.54532.1.1.17.0 i 0

Timeout: No Response from 10.55.1.1

MIB

/* status .1.3.6.1.4.1.54532.1.1.17 */

static const struct snmp_scalar_node *****_node = SNMP_SCALAR_CREATE_NODE(17, SNMP_NODE_INSTANCE_READ_WRITE, SNMP_ASN1_TYPE_INTEGER, get_powerstate_value, NULL, set_powerstate_value);

    This topic has been closed for replies.

    1 reply

    Super User
    June 2, 2020