Tue, 11 Dec 2018 22:24:49 +0000i think __linux__ was the previous choice default tip
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 22:24:49 +0000] rev 20
i think __linux__ was the previous choice

Tue, 11 Dec 2018 21:42:38 +0000tidy and apply unusual tab rule
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:42:38 +0000] rev 19
tidy and apply unusual tab rule

Tue, 11 Dec 2018 21:41:06 +0000not float
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:41:06 +0000] rev 18
not float

Tue, 11 Dec 2018 21:15:42 +0000i wrote that using my brain
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:15:42 +0000] rev 17
i wrote that using my brain

Tue, 11 Dec 2018 21:11:41 +0000don't use double because not really needed after all
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:11:41 +0000] rev 16
don't use double because not really needed after all

Tue, 11 Dec 2018 21:08:16 +0000after configure, remove LIBCONFUSE because openwrt is never going to need it
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:08:16 +0000] rev 15
after configure, remove LIBCONFUSE because openwrt is never going to need it

Tue, 11 Dec 2018 21:02:20 +0000get signal/noise from O/S rather than using /proc
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 21:02:20 +0000] rev 14
get signal/noise from O/S rather than using /proc

Tue, 11 Dec 2018 19:49:49 +0000apply STYLE
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 19:49:49 +0000] rev 13
apply STYLE

Tue, 11 Dec 2018 17:06:07 +0000move this to the right file for now and next rewrite it, however, using
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 17:06:07 +0000] rev 12
move this to the right file for now and next rewrite it, however, using
/proc seems popular in mini snmpd :-)

Tue, 11 Dec 2018 16:56:50 +0000this is working but reads signal from PROC which will be replaced later
"Darron Broad" <darron@kewl.org> [Tue, 11 Dec 2018 16:56:50 +0000] rev 11
this is working but reads signal from PROC which will be replaced later

EG.

./mini_snmpd -c kewl -L London -C root@kewl.org -t 1 -d /overlay,/tmp -i br-lan,eth1,wlan0,wlan0-1 -v -n -w wlan0
Listening on port 161/udp and 161/tcp
updating the MIB (full)
updating the MIB (full)
...

$ snmpwalk -v1 -c kewl 192.168.0.181 1.3.6.1.4.1.762
SNMPv2-SMI::enterprises.762.2.5.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.762.2.5.2.1.3.1 = STRING: "wlan0"
SNMPv2-SMI::enterprises.762.2.5.2.1.7.1 = INTEGER: -256
SNMPv2-SMI::enterprises.762.2.5.2.1.8.1 = INTEGER: -67