Functions | |
void | snmp_init (void) |
void | snmp_msg_event (u8_t request_id) |
struct snmp_varbind * | snmp_varbind_alloc (struct snmp_obj_id *oid, u8_t type, u8_t len) |
Variables | |
const s32_t | snmp_version = 0 |
const char | snmp_publiccommunity [7] = "public" |
void snmp_init | ( | void | ) |
Starts SNMP Agent. Allocates UDP pcb and binds it to IP_ADDR_ANY port 161.
void snmp_msg_event | ( | u8_t | request_id | ) |
Handle one internal or external event. Called for one async event. (recv external/private answer)
request_id | identifies requests from 0 to (SNMP_CONCURRENT_REQUESTS-1) |
struct snmp_varbind* snmp_varbind_alloc | ( | struct snmp_obj_id * | oid, | |
u8_t | type, | |||
u8_t | len | |||
) | [read] |
Varbind-list functions.
const char snmp_publiccommunity[7] = "public" |
default SNMP community string
const s32_t snmp_version = 0 |
SNMP v1 == 0