lpcware

Response from at command

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by tbelo on Mon Apr 15 10:15:07 MST 2013
Hi,
I've seen this issue before but haven't been solved yet.

When I send an AT Command to a GSM modem and waiting for a small reply (like "OK") everything is fine.
But when I expect a longer reply from the modem (like 50 characters) I cannot receive all the string.

I have tried with many types of circular buffers.
I have realised that its a matter of IRQ because its not possible to ensure the time of its arrival.

Can you propose a way to wait for the whole string to arrive and then proceed with the program flow ?

Thanks a lot.

(I use LPC1115)

Outcomes