Closed Sergio-tix closed 4 years ago
Also, could you give an example of how to work with a data type String?
I announced
String sysObjectID = "Sensor10";
And on the line
snmp.addStringHandler(".1.3.6.1.2.1.1.2.0", &sysObjectID);
I see a mistake
no matching function for call to 'SNMPAgent::addStringHandler(const char [19], char*)'
Hey,
This could be caused by any number of issues, but you’re correct in that it is most likely A firmware problem.
Could you please post your code, or the relevant parts of it, and I can see if I can identify the issue ?
Thanks.
Привет,
Это может быть вызвано любым количеством проблем, но вы правы в том, что это, скорее всего, проблема с прошивкой.
Не могли бы вы опубликовать свой код или соответствующие части, и я смогу определить, смогу ли я определить проблему?
Благодарю.
I updated ESP8266 core for Arduino v.2.6.3, and now the example works fine. This question can be closed. But still, could you help me with this: https://github.com/fusionps/Arduino_SNMP/issues/12#issuecomment-590119027
Hello! I use ESP-12S ESP-12S_User_Manual.pdf, Arduino IDE 1.8.11, ESP8266 core for Arduino v.2.3.0, Example - ESP_SNMP. Co compiles, loads successfully. The console displays:
Next, using iReasoning MIB Browser I am sending a request .1.3.6.1.4.1.5.0 for IP 192.168.1.15 After 5-7 seconds iReasoning gives an error message,![erreg](https://user-images.githubusercontent.com/18720428/75111663-8611b780-564d-11ea-8de1-4bfcc20b07b0.png)
And in the console I see this:
Settings Arduino IDE
If you request a nonexistent OID
the problem also recurs
P.S. I was looking for information about this error, everywhere they say that the error occurs due to poor nutrition. I power the board from a powerful Power Bank, also has all the necessary capacitors and other elements. But this does not matter, since other projects work fine on this board, the conclusion is that the problem is not in hardware. Do you see a way to solve the problem?