cancel
Showing results for 
Search instead for 
Did you mean: 

LWIP SNMP

RDos
Associate II

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);

1 REPLY 1
Pavel A.
Evangelist III