Discussion in "Project Help" started by    giri    Aug 28, 2008.
Thu Aug 28 2008, 11:50 pm
#1
Hello, My present project is with the Message transmitting with the Nokia 3310 and the 8052 microcontroller. I followed the protocol there in the "www.embeddedtronics.com"
but i am not getting it.

Pls help me it is urgent
Fri Aug 29 2008, 01:07 am
#2
what part you did not understand? please be clear with it..
Fri Aug 29 2008, 01:10 am
#3
Posting in another thread will not help.

Saying "but i am not getting it" will not help either.

You need to say exactly what you have done,
and what, if anything does work.

Once we know that someone may be able to help.
You can never give too much detail when asking for help.

I know it may not be my place to comment..
but I thought it needed saying and the mods may be too polite to say it



[ Edited Fri Aug 29 2008, 01:12 am ]
Fri Aug 29 2008, 01:24 am
#4
Thanks sir,
The msg receiving has been completed. But the Msg transmitting i am not getting.
I followed the frame which is there in the 'embeddedtronics.com'.

1. First i transmitted the Software version request to the phone, then i have received the version.

2. Next I framed a msg to transmit as follows


char RData1[]={0x1E,0x00,0x0C,0x02,0x00,0x32,0x00,0x01,0x00,0x01,
0x02,0x00,0x07,0x91,0x19,0x89,0x58,0x00,0x45,0x44, //MSC no
0x00,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x04,0x0C, 0x91,0x19,0x99,0x98,0x62,0x13,0x62,0x00,0x00,0x00, //MOB no
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC7,0xB4, 0x3C,0x0D,0x01,0x00,0x43,0x00,0x7A,0x52};

Here the Msg Centre No: 988500544
and Mobile no is: 9989263126
and msg is: Giri

thanks
Fri Aug 29 2008, 01:46 am
#5
Now that's much better
Sorry if my earlier post seemed a bit harsh.

Did you send an acknowledge frame back to the phone to
acknowledge the version info it sent you,
before moving on to item 2
"2. Next I framed a msg to transmit as follows"


Can you send other commands to the phone and get the right answer ?

It's always a good idea to try simple things first to be sure your
setup works.

The URL is
http://www.embedtronics.com/nokia/fbus.html


[ Edited Fri Aug 29 2008, 02:05 am ]
 pdi33 like this.
Fri Aug 29 2008, 02:46 am
#6
did you convert the msg to pdu format? to check if you have done right or wrong, download pdu converter utility from download section -> vb projects.

Now i just want to ask you few question:

how did you calculate the block/frame length?
i found the count for destination mobile number is not appropriate, i.e. you are using 0C where as it is 0A, did you check it?
padding byte needed or not?
checksum calculation may change after above changes.
Fri Aug 29 2008, 04:08 am
#7
Hello Sir,

The mobile number length is 0x0A in website, but when i m receiving msg there i found it as 0x0c so that i have used the 0C.

Yes, i have forwarded the ack frame also, and my PDU conversion is also currect.

as the total frame length is odd it needs a padding byte (i.e 0x00 in my frame).

One doubt is the order of checksums is even, odd or odd,even????

Is there any exact command manual for the FBUS, if it is there let me know about it.

Otherwise I will forward the code so that let me know the corrections.
Fri Aug 29 2008, 04:51 am
#8
You do realise you must calculate your own the checksum for each message.


I think your data size should be 31 not 32 as padding byte don't seem to count as data.
If you change to 31 then I think your checksum should be 0xb3,0x48 instead of 0x7a, 0x52

"One doubt is the order of checksums is even, odd or odd,even????"
Here 0xb3 comes XOR ing bytes 0,2,4,6 etc and 0x48 from bytes 1,3,5,7 etc

I could easily be wrong, but it's worth a try



"Is there any exact command manual for the FBUS, if it is there let me know about it."
No, just lists complied from what has been seen to work. Google FBUS



[ Edited Fri Aug 29 2008, 07:00 am ]
Fri Aug 29 2008, 10:03 am
#9
Thanks,
I will try with your suggestions and i will get back to you

Fri Aug 29 2008, 07:13 pm
#10
if you want complete info on FBUS, visit www.gnokii.org check out the protocol information in www interface to their CVS server.

If you want working example of FBUS packet then use softwares like oxygen or some PC suit kind of software to send sms and use a serial monitor software to see it..

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

oriminna
Sat May 04 2024, 08:28 pm
scaneraNom
Sat May 04 2024, 02:21 am
gtaletrzua
Fri May 03 2024, 10:55 am
Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm