I think there are some misunderstandings so I’ll be as clear as I can to describe my problem:
External application sends on serial UART1:
this is the textmessage CTRL-Z
I want my OpenAT application to catch this in some way.
The best way should be to susbcribe on the +CMGS command and to get an Event when its received, but that does not seem to work since the CR terminates the command and the part after CR (“textmessage”) is not received as a parameter (It would work if the CTRL-Z was the terminator of the command.)
I want the complete command-string received in my Application (from +CMGS to CTRL-Z) for further handling.
Basically thats what my problem is all about.
Then after having the external applications +CMGS command I can do whatever I want with it, eg: modify it and send it to network or do anything b else but thats not relevant…