What about SNMP?
Has anyone managed to port a 7.4 SNMP implementation to 7.5 with any success? If so how do you deal with tables? In 7.4 you just check the index and fill in the data for the row, allowing for run time setting of the table size, how do you do this in 7.5?
The documentation suggests you don't need to write any setter/getter functions, but how does the data from the device end up in the SNMP agent then??
Help much appreciated to this!
I've only just realised that the SNMP stuff had changed! I've still got ESP 7.4 on my machine, and it set up a load of paths to netos74 utilities - so I've been using the old MIB compiler without realising.
I'm as confused as you are about using the new SNMP stuff - despite comments elsewhere, I found it largely quite straightforward, although the code didn't look very efficient.
I imagine you've read Digi's white paper on the subject, which I found to be little help - it goes into excruciating detail on trivia, and misses out the important stuff (like how you handle data get/set).
It looks to me as if the structure mibTableHeaders in custvars.c (which is defined by your MIBs) has pointers to data areas for each group of data. And presumably the idea is that your code keeps this data up to date for SNMP reads, and has to somehow pick up that its been changed via SNMP. If this is the case, its going to be very difficult to use effectively - in my applications SNMP writes trigger 'real world' actions (like turning on a switch); very easily managed at present.
On the plus side, such words as there are imply that you can have several MIBs active at a time, which I would find useful. Not tried it yet though.