Hi Dirk,

Thanks for pointing this out. I will try to provide a patch to introduce 
varbinds to snmp traps again.


I have another question regarding SNMP. I see you added the option to execute a 
callback function after a succeeded set request.

How should this callback mechanism be used? For example to store the 
'snmpEnableAuthenTraps' setting in non-volatile memory. Should there be a 
single callback function handling all set requests or should every object have 
it's own callback function?


Marco

________________________________
Van: lwip-users <[email protected]> 
namens Dirk Ziegelmeier <[email protected]>
Verzonden: zaterdag 11 juni 2016 10:25
Aan: Mailing list for lwIP users
Onderwerp: Re: [lwip-users] How to add varbinds to SNMP traps?

Hello Marco,

this got lost during the rewrite of the SNMP stack. Since we do not use traps 
in our product, they did not get much attention. If you can provide a patch, 
I'd be happy to apply it.

Dirk

--
Dirk Ziegelmeier * [email protected]<mailto:[email protected]> * 
http://www.ziegelmeier.net

On Fri, Jun 10, 2016 at 10:24 PM, Marco Veeneman 
<[email protected]<mailto:[email protected]>> wrote:

Hi,


I'm currently using LwIP git master commit [0737cfb] and investigating to 
update to the latest master. I'm using the SNMP agent, including sending 
specific SNMP traps with varbinds.


I was checking the changes related to SNMP and in general it looks better than 
the 'old' implementation. But i have a question about the traps implementation 
in the current master:


In the 'old' implementation varbinds were added using the 
'snmp_varbind_tail_add()' function call. How can i add varbinds to a specific 
trap in the 'new' implementation?


mave

_______________________________________________
lwip-users mailing list
[email protected]<mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to