void snmp_api_set_string(snmp_varbind_t *varbind, snmp_oid_t *oid, char *string)
Function to set a varbind with a string.
void snmp_api_set_time_ticks(snmp_varbind_t *varbind, snmp_oid_t *oid, uint32_t integer)
Function to set a varbind with a time tick.
void snmp_api_add_resource(snmp_mib_resource_t *new_resource)
Function to add a new resource.
void snmp_api_set_oid(snmp_varbind_t *varbind, snmp_oid_t *oid, snmp_oid_t *ret_oid)
Function to set a varbind with a oid.
#define BER_DATA_TYPE_OBJECT_IDENTIFIER
Object Identifier.
#define BER_DATA_TYPE_TIMETICKS
TimeTicks.
#define BER_DATA_TYPE_OCTET_STRING
Octet String.
void snmp_mib_add(snmp_mib_resource_t *new_resource)
Adds a resource into the linked list.
SNMP Implementation of the public API.
SNMP Implementation of the BER encoding.
SNMP Implementation of the messages.
uint8_t value_type
The type in this varbind.
union snmp_varbind_s::@41 value
A union to represent the value in this varbind.
const char * string
A pointer to the string value from this varbind.
uint32_t integer
The integer value.