Quote Originally Posted by Pesticida View Post
Sorry but i dont have exactly explain my Problem,I know how this work but my problem is how to make a routine that check for example if I receive this $OK:CALL, then is the call ok and so on.
How to verify Long strings?
I send this $WP+CALL=12345... and then from gsm module receive $OK:CALL.
Thanks Skimask
Yes, I know...I get it...
Ok, if you know you start out with a NULL string, and you know what messages you are supposed to be receiving, and you know each of these messages may or may not be a different length, it shouldn't be much of a problem to look at the string, starting from the end (whether it's used or not) and working your way back to the start, looking for the character/characters which may or may not identify the string you are looking for...