2020-06-02 10:59 AM
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);
2020-06-02 11:28 AM
LwIP mailing list is here: https://lists.nongnu.org/mailman/listinfo/lwip-users