I have been using the ATClient for some time now and I have noticed an issue when my device (WP7607-1) sends AT commands over the UART1 interface.
For example, when I format my command as follows: “AT\r\n”
I see the following output (in hex):
[2019-04-15_09:12:52]41 54 0D 0A
As you see there is a ‘rogue’ ‘\n’ character preceding the actual command. This causes my AT server device to return an error, since it treats the ‘\n’ character as a command with no input.
How can I get rid of this ‘\n’ character preceding every command?