Does anyone on this list have experience using net-snmp set commands?
I've got a situation where I'm opening a session to a video
processing card I want to control. Reading from the card works
flawlessly, and the very first set command I send always works, but
subsequent set commands will work or fail depending on which ones I
send.
One command that sets aspect ratio (an integer 1 through 7) works
perfectly, yet another that turns on or off a text overlay will only
work once.
I've enabled the snmp debug messages with a ~/.snmp.conf entry and
can see that the working packets are 50 bytes long while that ones
that fail are only 30 bytes.
I've tried using net-snmp 5.4 and get the same behavior as Tiger's
default 5.2.1
int status = snmp_synch_response(session, pdu, &response);
if (status == STAT_SUCCESS)
if (response->errstat != SNMP_ERR_NOERROR)
NSLog(@"Error in SNMP Packet");
if (response)
{
snmp_free_pdu(response);
}
}
Ward Witt
The Filmworkers Club
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com