I have a DataSource of type SNMP in which I have configured a DataPoint of type octectstring.
I need to make a set of this datapoint with the following information:
0xFF 0xFF 0xFF 0x03 0x00 0x01 0x00 0x00 0x7F 0x00 0x00 0x01
The problem is that when making the DataPoint SET, Mango uses a UTF-8 encoding, in which 1 byte is used to encode the values from 0x00 to 0x7F, and those values above (between 0x80 and 0xFF) encode them in 2 bytes, in such a way that the characters 0xFF converts them into 0xC3 0xBF, so it ends up sending:
0xC3 0xBF 0xC3 0xBF 0xC3 0xBF 0x03 0x00 0x01 0x00 0x00 0x7F 0x00 0x00 0x01
and the server that receives the message does not accept it since it interprets it as wrong.
Is it possible to change the encoding so that Mango uses ISO-8859-1, or is there another way to do the conversion so that it correctly sends the 0xFF byte?
Thanks and Regards!