CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

TC35i and pic 16f628

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
koirnaos



Joined: 23 Dec 2009
Posts: 6

View user's profile Send private message

TC35i and pic 16f628
PostPosted: Mon Jul 12, 2010 8:14 am     Reply with quote

Hi, I'm trying to built a program for pic 16f628 in order to communicate with TC35i modem, but I'm having some problems.
1. I don't know how to read parts of incoming messages.

For examble, I used the hyperterminal to learn which at commands I'll have to use in my program.

When I'm sending this command:

AT+CMGL="ALL"

I get:

AT+CMGL="ALL"
+CMGL: 1,"REC READ","+36932216085",,"06/11/11,00:30:29+8"
message1.
+CMGL: 2,"REC READ","+36932216085",,"06/11/11,00:32:20+8"
message2.

OK

- Is there a way to remove date and time from the response?
- How can I read the memory slot number, the mobile number and the message?

I want to read the mobile number in order to know who the sender is and to block other senders. After the message has been read, it will be deleted.

2. Pic 16f628 has to communicate with another device too via rs232.
For that reason in my program I have to use two rs232 ports.

- How do I define this ports and how to distinguish them in the program?

thanks in advance
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group