Need some assistance in formatting a string that I am getting from another device over OTG serial connection.
String: eGUtilities:eEeG Park ScopeeE
ESC G SOH SOH Utilities: ESC E SOH STX Park Scope ESC E
I would like to display it as:
Remote Device will always sends a two line answer to a command.
First line will always start with: ESC G SOH SOH
First line ends with: ESC E
Second Line start with: SOH STX
Second line ends with: ESC E