Hi, How can I read a string from sout instead of a character? best regard
Hi Per,
I have write a signal function that must capture a string (at command - AT+GSM) that arrives from target (micro cortex m3). The signal function must emulate a gsm engine which responds to an at command. The script works only when the target sends a single character, but not a string.
Ok. So you forgot to mention that you were talking about the debugger script language.
One thing here is that besides the normal memory regions in the processor, you can set up extra memory regions that the script language can use as scratch area - for example to implement send and receive buffers. Then you can accept characters one-by-one and store in yuor buffer memory until you end of the line, in which case you can process the received data and decide what a modem would have done.
Hi Per, Have you any sample? thanks.