A few minor fixes to the SIOT Zephyr SNMP library:
Added
- Private MIB in the sample —
samples/agentnow serves its uptime object
under the enterprise OID, so it shows how to add device-specific objects.
Fixed
- Private MIBs compile in applications — the tree, MIB, scalar array, and
table node macros, and the README example, no longer depend on a macro that
was visible only inside the library
(#15).
Removed
- Functions that could never link —
snmp_init()and the
snmp_v1/v2c/v3_enable()andsnmp_vX_enabled()functions had declarations
but no definitions, so calling one failed at link time. Start the agent with
net_snmp_agent_start(); v1 and v2c are always enabled. CI now checks that
every public function is defined
(#16).