Please go through my disscussion with Mathwork support Team as follows
This is in response to Case ID: 1152732
Hello,
I am writing in response to your e-mail of 05/19/2003 where you wrote:
============================================
We are in Embedded Development and developing SNMP Agent using Envoy SNMP
Agent Stack ver 3.0(snmpv1.a library), over Psos OS ver 2.1.4 We have
compiled all the code successfully and we have implemented trap functionality.
We reach to point to test library function (snmpv1.a)SNMP_Create_Trap() and
SNMP_Encode_Packet. However it doesnot execute as per its expectation.
SNMP_Create_Trap()calls does not fill few elements of strucure SNMP_PKT_T.
Please note that we have used Epilogue Technology's Emissary SNMP MIB
Compiler to generate trapfunc.c which contains automatically generated
routines for Creating and Encoding Trap packets which can be sent to
Network Node Managers using socket interface. Rest of the coding as like
SNMPV1 sample application.
We want to know that,whether any prior initialisation is necessary before
calling
SNMP_Create_Trap() and SNMP_Encode_Packet() library routines.
For this purpose we need suitable documentation which gives some example code,
we have got following url while searching doc on web,
http://www.mathworks.nl/support/matrixx/knowbase/OnLineDocs/SUPPORT/PDF/PSOS/5247_001.pdf
we have tried above link but unable to access it,
We request you to please help us,and send us 5247_001.pdf file if you have
the same.
Thanks in Advance
============================================
As of January 10th, 2003, National Instruments will be handling all MATRIXx
inquiries and support issues. Please visit the National Instruments website
at http://www.ni.com/ for contact and support information.
Sincerely,
Sarat Atluri
---------------------------------------
Application Support Engineer
The MathWorks, Inc.
email: satluri@mathworks.com
Fax: (508)647-7201
Web: http://www.mathworks.com/support
http://www.mathworks.com/matlabcentral