[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Serial communication problem
From: |
Alastair Watts |
Subject: |
Re: Serial communication problem |
Date: |
Sat, 25 Oct 2008 12:08:05 +1030 |
On Sat, 2008-10-25 at 02:20 +0200, Filip Houf wrote:
> Please help with basic communication.
>
> Problem is if I open COM like file and after write command, so I read
> not just answer but command and answer.
>
> For example
>
> Write:AT<#13>
> Read:<#13><#10>OK<#13><#10>
>
> It’s theory
>
> But reality is
>
> Write:AT<#13>
> Read:AT<#13><#13><#10>OK<#13><#10>
That's the modem echoing back what you send it.
If you don't want to receive back what you sent, then send the modem the
'ATE0' command.
Cheers,
Al