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.

AT COMMANDS SMS receive C code for 89xx

Status
Not open for further replies.

ronydc

Full Member level 3
Joined
Nov 17, 2005
Messages
166
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,298
Activity points
2,612
nokia 1200 at command

dear friends,

I M TRYING TO MAKE A SMS operated switch.

from nokia 3310/ 3315.

can some one show me an example --> c code to receive the SMS and decode it to make a switch ON AND OFF function .?

i know PDU format in at commands need to bve used with for this task but . i m just unable to put it all togather.

PLEASE SOME ONE can point me the c code .?

- thanbks in advance.

Rony.
 

at commands sms

void init_serial_interrupt()
{
EA=0;
TH1 = 0xFD;
SCON = 0x50;
TR1 = 1;
RI=0;
TI=0;
ES=1;
TMOD = 0x26;
EA = 1;
}

void sr_intr() interrupt 4
{
if(RI)
{
dat = SBUF;
RI = 0;
}
if(TI)
TI=0;
}




This is Only for Receving SMS in SBUF.



Gurpreet SIngh
 

nokia 1200 at commands

AFAIK Nokia 3310 / 3315 will not support AT commands.
They use the proprietary FBUS protocol.

**broken link removed** , should get you started. Handling the data @ 115,200bps, may not be very trivial if you use a slow micro,with less RAM to buffer the inflow.
FYI this model is long discontinued.
Maybe its more relevant to try with another el cheapo model : 1200.
Have fun :D
 

at commando+ri

dear gurpreet
vande matram....

thx for ur information.
i know how to get the data in SBUF already.
and thx for the code.

but now the point is --> if we get a data in text format, its not worth ( i feel so) so i got some information . we neeed to get SMS data in PDU format ( its binary) and with which we can make the action to operate a pin on MCU .

so if any one is aware of how to get a message ( at comands only) in PDU format. and decode it in MCU 8051 to make it meaningfull to operate a pin status.... plz comment.

i need only with AT commands and not with FBUS

-- RONY

-- rony
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top