Generating tables

Richard Gipps <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
                I have generated some code for a table using the following command:

mib2c -c mib2c.create-dataset.conf radioRssiTable

The number of rows in the table is fixed so I added some rows using the following functions.

netsnmp_create_table_data _row()
netsnmp_table_add_row_index()
netsnmp_set_row_column()
netsnmp_table_dataset_add_row()

This works well and I can read the rows in the table. Next I want to be able to call a function which retrieves some data which will be used to update the tables each time a user performs a get or get-next on the table. Mib2c created a radioRssiTable_handler() but the comments in the code seem to indicate that this handler will only perform tasks after the requests have been processed. Is there a way to perform tasks before the requests have been processed?

Regards,
Richard.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.