String sending for AT command
Posted: Mon Aug 25, 2014 1:22 pm
Hi there,
I need to send an AT command to a GSM module that is used to setup
gprs mode etc.
However, within the string constant i also need to send the quote char ( " )
which kind of messes with the string format requirements. You then land up
with quotes within quotes.....
I know one can send part of the string and then send a char and then the rest
of the string in a few commands, but is there a certain format expression or a way
to send the whole string one shot?
Thanx
Mark
I need to send an AT command to a GSM module that is used to setup
gprs mode etc.
However, within the string constant i also need to send the quote char ( " )
which kind of messes with the string format requirements. You then land up
with quotes within quotes.....
I know one can send part of the string and then send a char and then the rest
of the string in a few commands, but is there a certain format expression or a way
to send the whole string one shot?
Thanx
Mark