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.

Help me with a program to communicate TC35i and pic 16f628

Status
Not open for further replies.

koiranos

Newbie level 3
Joined
Nov 26, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top