-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile SNMP Agent Arduino #3
Comments
Take a look at the Example/Actual_SNMP_Agent project. I just pulled down the latest Arduino IDE and made some tweaks. It will now compile. Unfortunately I don't have an Arduino to test with right now. |
Thank you @rexpark . I will try to compile this new version. |
I'm still getting some errors, could you please help me? When i try to compile, i get:
After renaming "String" to "string" the error go away, but then i get this errors:
|
Getting this error when compiling the actual agent for an uno: Global variables use 3107 bytes (151%) of dynamic memory, leaving -1059 bytes for local variables. Maximum is 2048 bytes. |
Hi guys! I put the ArduinoSNMP.h in the libraries, but doesn't works. |
I tried to compile Actual_SNMP_Agent in Arduino IDE v 1.8.13. Result is unsuccessful. There is error log in the attachment. When LinkedList.h was replaced by actual version (from https://github.com/ivanseidel/LinkedList) there were less errors, but sketch did not compiled. Please look on the second error log. Could you help solve this situation? |
I have the same problem as @cats-shadow . |
After fixing a few issues, including replacing LinkedList.h, I get the following error when compiling for an Arduino Nano: Global variables use 3009 bytes (146%) of dynamic memory, leaving -961 bytes for local variables. Maximum is 2048 bytes. |
Just merged a couple PRs into master that should fix multiple compilation errors. I've removed LinkedList.h from the example app and added comments to the Readme stating the library needs to be installed separately now. @janclod, you probably won't be able to get this to run on a Nano. The example app was written for convenience, not memory usage. If you remove most of the example OIDs and reduce the SNMP_MAX_VALUE_LEN to something smaller (based on whatever messages you know you'll be using) you might get it to fit. |
Thanks for updating this and the tips on how to possibly run on Nano. Does it make sense to run a SNMP agent on a Nano? Is there a more sensible approach? |
What goal are you trying to accomplish with SNMP?
|
I would like to send the value coming out from a pin (connected to a temperature sensor) to a SNMP manager |
Hi,
I've tried to compile the example SNMP Agent code, it won't find the module.h included in the SNMPAgent.h file, and if i comment it out, it trows another thousand errors. What module.h file is that?
Could you please help me?
The text was updated successfully, but these errors were encountered: