Relative Content

Tag Archive for serial-portuartat-commandiridium

How to send binary data containing 0x0D without triggering a carriage return using AT commands

I am using AT Commands to interface with a satellite modem. I need to send bytes of data through this serial connection. My problem is that the AT command is terminated when it finds a carriage return, or the hex code 0x0D. Given that my data is not plain text, but rather plain binary data, how can I ensure that the command will not be ended if this binary data happens to have the hex code 0x0D somewhere in it?