|
From: | Baptiste Chaboud-crousaz |
Subject: | [lwip-users] SNMP trap |
Date: | Thu, 2 Apr 2009 09:55:18 +0200 |
User-agent: | Internet Messaging Program (IMP) H3 (4.1.6) |
Hi all,
I would like to send a SNMP trap. I know that lwIP offers to do that tanks to a call to :
err_t snmp_send_trap(s8_t generic_trap, struct snmp_obj_id *eoid, s32_t specific_trap);
But, I don't understand how to fill in the global structure trap_msg in order to include some variable bindings.
Would it be possible to have an example that shows how to fill in trap_msg with 1 or 2 variables bindings?
Thanks.
Best Regards.
Baptiste Chaboud-Crousaz
[Prev in Thread] | Current Thread | [Next in Thread] |