Skip to content

Add real onReceive() callback that will be called when snmp response is actually parsed #21

@damago1

Description

@damago1

Currently there is no possibility to check if snmp request had been processed. In the examples the call to "uptime" oid is used as sudo check. However many devices are updating this parameter not every 100ms but for instance every 1 second or something like this. And not all devices return this properly anyway.

As I understand the 'callback" classes are not real callbacks because no code is called back upon processing of received packet.

The solution would be to extend the ValueCallback class by "onReceive" field which can be used by the user to store a pointer to function which will be called after snmp request had been fulfilled.

If there is already some method of getting definite information that snmp request had been processed - please let know in a form of an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions