dbzoo / wio_terminal Goto Github PK
View Code? Open in Web Editor NEWExamples and projects that run on the SeeedStudio WIO Terminal
Examples and projects that run on the SeeedStudio WIO Terminal
Just to let you know if you update to the latest Arduino_SNMP_Manager library, there is a breaking change when callbacks are created or searched for. In that, you need to provide the IP address in addition to the OID. This was to allow the library to support querying the same OID from multiple devices.
This library is used in router_stats_lcd and router_graph_lcd
In addition, I've updated the example to get the callback when creating the callback, rather than using findCallback. Either works, but it may simplify the code a little.
Original (router_graph_lcd/traffic.cpp) and (router_stats_lcd/router_stats_lcd.ino):
// Create a handler for each of the OID
snmp.addCounter32Handler(oidInOctetsCount32, &inOctetsResponse);
snmp.addCounter32Handler(oidOutOctetsCount32, &outOctetsResponse);
snmp.addTimestampHandler(oidUptime, &uptime);
// Create the call back ID's for each OID
callbackInOctets = snmp.findCallback(oidInOctetsCount32);
callbackOutOctets = snmp.findCallback(oidOutOctetsCount32);
callbackUptime = snmp.findCallback(oidUptime);
Revised for update Arduino_SNMP_Manager library:
callbackInOctets = snmp.addCounter32Handler(router, oidInOctetsCount32, &inOctetsResponse);
callbackOutOctets = snmp.addCounter32Handler(router, oidOutOctetsCount32, &outOctetsResponse);
callbackUptime = snmp.addTimestampHandler(router, oidUptime, &uptime);
Thanks Martin (shortbloke)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.