Our PC Application is connected to Embedded Gateway Controller over USB. Gateway controller is connected to several embedded controllers over CAN bus and Modbus RTU.
I have no SNMP knowledge and experience. Requirements are that multidrop embedded controllers will generate trap(s).
I need to design and implement SNMP fulfilling the requirements. How should I go about doing that?
Assuming I have average intelligence, how long will it take me to complete this project.
SNMP needs to be implemented in Gateway Controller using C++ language. I have Seven months of C++ experience.
How do I educate myself to reach my goal.
Thank you!
Please allow me to correct the question as follows:
First of all I apologize for incorrectly asking the question. Let's me try to improve the question. The PC application or data center is connected to Gateway board over Ethernet. The PC application is client or manager. Gateway controller is agent or server. Gateway will get events from embedded controller over Modbus RTU and CAN and some of these events will be defined as traps. Gateway controller will generate trap message.
The SNMP communication is between PC and Gateway controller.
OUr gateway controller or target board is ARM7 based. We used Keil tools. Keil RTX OS, Keil middleware libraries, TCP and USB.
Please let me know what commercial libraries will substantially reduce my development time.
No, embedded controllers are not SNMP agents. They are out of picture as far as SNMP is concerned.
If all you need to do is send some traps, it should be very easy to do. Traps are essentially small UDP packets. It's no so difficult to learn how to construct them by reading tutorials on SNMP (you should be interested in SNMP v2c, I presume.) No libraries are necessary. I also suggest that you install Wireshark and capture some real SNMP traffic (including traps.) It always helps to see how it works in practice.
It's going to be SNMP version 3.
What tutorials will help me construct traps?