Converting MIB to CPP
Posted: Tue Jul 28, 2015 10:30 am
About 4-years ago I added SNMP to our NB application. I used snmptranslate along with our custom MIBs and NB MIBs and created a .cpp file.
I've made some changes to our MIBs and need to update our NB application, so I followed the same procedure as before. But this time, instead of a list of callback prototypes and macros to build the MIB tree, there is only a few comments. Other than the include files, the following is the full content of the generated .cpp file.
The MIB file changes were fairly small, and the MIBs are working with other devices we have. Is there something new I need to do that's been added over the years?
Steve
I've made some changes to our MIBs and need to update our NB application, so I followed the same procedure as before. But this time, instead of a list of callback prototypes and macros to build the MIB tree, there is only a few comments. Other than the include files, the following is the full content of the generated .cpp file.
Code: Select all
//Un comment these variables if you want to use them
/*Definition of Table add delete functions */
/* Read function prototypes.*/
/* Write function prototypes.*/
/* Read Table pointer definition*/
/* Write Table pointer definition*/
/* Table Function implmentations*/
/* Function implmentation*/
Steve