When sending an AT command it is normally terminated by \r\n, but, in fact, these are really two 'register variables' S3 and S4.
By default S3=='\r' and S4=='\n', but the user can change these at runtime with the command ATSx=
How can I handle this in my Antlr lexer/parser?
Each command has the form AT[parameters]S3S4, how can I handle that if the user changes the value of S3 or S4?
Thanks in advance for any help...