[snmp] Large Response Varbinds
Birgit Arkesteijn
birgit at westhawk.co.uk
Thu Jul 31 12:25:19 BST 2008
Dear Krithinarayanan,
You can increase (or set) the debug level in the stack.
Set
AsnObject.setDebug(11);
You'll get a LOT of debug information, but it should print how many
bytes it reads from the socket.
When the stack reads less bytes from the packet than sent, it usually
isn't able to decode it properly, giving your decoding errors.
Those errors should be printed as well.
If the number of bytes corresponds to the number send (and there are no
errors), you can be sure the stack received everything the agent sent.
Cheers, Birgit
On 31/07/08 11:07, krithi wrote:
> Dear Birgit,
> I' am sorry for the confusion. I guess The agent limits its response
> With further investigation with Wireshark Network Analyzer, I noticed
> that the device sends back 1900 bytes of response.
> When tested with a device simulator, I am able to receive 10k bytes of
> data in a single GetBulk
>
> Since the device sends back 1900 bytes (incl. the packet headers),
> I am now doubtful whether the Agent is limiting or I am missing anything
> in capturing the packets through my adapter
>
> Thanks for your support
>
> Krithinarayanan
--
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>
More information about the snmp
mailing list