AT Command's

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jollybv
Posts: 125
http://meble-kuchenne.info.pl
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

AT Command's

Post by jollybv »

Hi Guys

I cant seem to figure out how to put the inverted commas in a string the command that I'm trying to send is AT+CUSD=1,"*100#",15 Also dose anyone know what command i need to send to the SimCom A7682E module that turn the speaker off so when there is an incoming call it dose not ring. I have tried every thing i can find in the AT Command Manuel but cant seem to be able to find what to do plus agents are not very helpful.

mnfisher
Valued Contributor
Posts: 955
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 508 times

Re: AT Command's

Post by mnfisher »

You need to use the escape character '\'

So your string will be .str = "AT+CUSD=1,\"100#\",15"

Martin

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 285 times
Been thanked: 412 times

Re: AT Command's

Post by chipfryer27 »

Hi

From memory I think they accept historical commands so sending ATM0 / ATM1 will hopefully disable / enable the monitor speaker (if successful you should see "OK" returned).

I don't know how you are trying to send your string but you may need to use an escape character such as backslash \ before sending certain characters so try \" for each quotation mark you wish to include in the send.

No access to hardware to test the above so it's just a guess.

Regards

Edit

I see Martin is faster at typing :)

Post Reply