We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, How can I read a string from sout instead of a character? best regard
What is sout? Serial out? Serial out would be where you sends a string - not where you receive a string. Serial in would be much better suited for reading data from.
By the way - was there any special reason why you did not mention any processor model in your post? You think every processor Keil supports is identical?
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.