We are implementing Rmtes string partial updates in our application and facing problems with testing it on rics ICAB[1-5]. Initial data snapshot contains proper data and looks like this (e.g. from fid ROW80_5):
1 Yr -07.25/-17.25 +13.50/+07.50 +15.25/+09.25 +09.25/+03.25 -20.75/-30.75
but in refresh message we are receiving update on the same fid and string replaced with something like this
09:02 1.00020 6.0000¥¥6.50/-25.50 .25.25¥¥36.25¥¥¥20.50¥¥¥4.50¥¥¥¥¥0.75¥¥¥0.75
We are using Ema library 1.2.0 and applying updates like this
const FieldEntry& fe = fieldList.getEntry();
rmtesBuffer.apply( fe.getRmtes() );
Initially we were storing char array from obtained string with getAsUTF8().c_buf(), it had the same effect.
So we would like to check whether updated rmtes string contains proper update sequence 0x1B 0x5B <offset position> 0x60, but we were wondering what is the proper way to translate Rmtes string into hex? Also does translation of Rmtes string into EmaBuffer removes any sequences like the one showed above?