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 Sr. Firmware Engineer Mobile: +8613255150315 Tel: +86 21 34612525x6104 Fax: +86 21 34619770 E-Mail: vincent....@enlogic.com<mailto:vincent.c...@enlogic.com> Shanghai EnLogic Electric Technology Co., Ltd. Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users