lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Get Next to private MIB external node fails


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
Sr. Firmware Engineer
Mobile: +8613255150315
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: address@hidden
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]