Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] SIM900 AT Commands : CIPSEND & POP3READ

Status
Not open for further replies.

nimaaa

Newbie level 6
Newbie level 6
Joined
Jul 25, 2014
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Location
Tehran, Iran, Iran
Visit site
Activity points
122
Hi

I'm Starting to Work with Sim900 and I have two problems

I'm going to command the sim900 via an avr microcontroller and get data from sim900
1. in the manual it is written that after using the POP3READ AT Command , the data is read completely and it's ready

my problem is that how to see and use this data from USART ?
Is there any At Command to be used to get the data ?

2. In the maunal it is written that :

AT+SMTPBODY=response">" then type data as body , tap CTRL+Z to save , tap ESC to cancel the operation

(same for CIPSEND)

I've got confused with 'CTRL+Z & ESC ' :-(
I can't figure out how to use them.Because I'm not going to use keyboard. would you explain it a bit to me ?

Thank YOU
 

@Nimaa,

For the query 1: The data will be in the USART...Its just you need to get the data from the USART buffer...As once the command POP3READ is issued, the data is pushed to the USART...and will be stored in the USART buffer.

For the query 2:
1. CTRL+Z ---> 0x1A
2. ESC ----> 0X1B

You have to send the hex value from the AVR controller to the SIM900A module...Look into the ASCII table...
 
  • Like
Reactions: nimaaa

    nimaaa

    Points: 2
    Helpful Answer Positive Rating
thank you kgshankar

I was considering that the response of POP3READ is just "OK"

So I should save it in a secondary character before getting the "OK" if it is available in the USART buffer , as you said .

and also thanks for your help about the query 2 . I will work on it

Best Wishes
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top