Hi Dojo Community,
After the firmware upgrade, it was requested to change the SNMP type of certain read parameters from 'octetstring' to 'octetstringascii'.
Could 'octetstringascii' be used for the previous firmware version as well, instead of 'octetstring'? Is the only difference between the two that 'octetstringascii' can display special characters outside of the 0x00 - 0x7F range?
Hi Andrea,
Using the octetstringascii instead of octetstring could have an impact. It depends on the values the old firmware contained and showed.
You can find more about these types in the NOTE sections of this page Type element | DataMiner Docs
But this is a short overview:
In the octetstring it will check if the value is outside the ASCII range and then the value will be represented differently on the moment it fall out of the ASCII range.
In the octetstringascii you know it will always be ASCII.
One note is that the read and write always need to be in the same type to prevent wrong octet values been created and wrong data is been send and read out of the device.
So I would recommend to double check if the old firmware only contained ASCII representable values.
Hi Andrea,
I do believe there should be no problem with using octetstringascii for the old firmware as well.
From my understanding, the octetstringascii is an extension of the more limited octetstring.
You can find more about these types in the NOTE sections of this page Type element | DataMiner Docs
Hi João,
Thank you for the answer.
Hi Thomas,
Thank you for the answer.