0neblock / Arduino_SNMP

SNMP Agent built with Arduino
MIT License
78 stars 30 forks source link

Increase length of strings that can be sent from current max of 32 #17

Closed shortbloke closed 3 years ago

shortbloke commented 3 years ago

Increase limit of 32 characters which can be sent for OCTETSTRING to a value defined in SNMP_OCTETSTRING_MAX_LENGTH The new SNMP_OCTETSTRING_MAX_LENGTH default is 1024

Also SNMP_PACKET_LENGTH needed to be increased to support larger payloads. There is instability in the underlying library on ESP8266 platforms if this is too large.

Also, if packet sizes are set too large, then this leads to fragmentation which isn't handled.

0neblock commented 3 years ago

Hey, sorry for the delay, this should be fixed by #23 which no longer has that limit