|
From: | vincent cui |
Subject: | [lwip-users] Get Next to private MIB external node fails |
Date: | Wed, 30 Nov 2011 13:28:45 +0000 |
HI: Any one try lwIP_prvmib.c for getting own external private node ? I use GET to get value, it works Use GET NEXT to get next node value, it fails..and return OID is wrong. By the way, why do I need define the node as MIB_NODE_EX ?, it also works as MIB_NODE_SC…
static struct mib_external_node sensorentry = { &noleafs_get_object_def, &noleafs_get_value, &noleafs_set_test, &noleafs_set_value, MIB_NODE_EX, 0, &sensor_addr_inf, /* 0 tree_levels (empty table) at power-up, 2 when one or more sensors are detected */ 0, &sensorentry_length, &sensorentry_idcmp, &sensorentry_get_subid, &sensorentry_get_object_def_q, &sensorentry_get_value_q, &sensorentry_set_test_q, &sensorentry_set_value_q, &sensorentry_get_object_def_a, &sensorentry_get_value_a, &sensorentry_set_test_a, &sensorentry_set_value_a, &sensorentry_get_object_def_pc, &sensorentry_get_value_pc, &sensorentry_set_test_pc, &sensorentry_set_value_pc };
Vincent Cui |
[Prev in Thread] | Current Thread | [Next in Thread] |