Acnapyx has asked for the wisdom of the Perl Monks concerning the following question:
can some one tell me how I can identify bad string or prevent it. I ask a device over serial port and some time device does not return me ASCII chars for example:
Device return: 0\x04\x88\x80\x80\x80\x86\x98\x050
I expect: 7630001998
On next query, device return normal 7630001998
My question is: How I can identify the bad string 0\x04\x88\x80\x80\x80\x86\x98\x050 or prevent it to can send command again.
Also I cant log the variable to see whats have inside.