gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FBUS_FRAME_HEADER vs 0x00, 0x01


From: Morten Bogeskov
Subject: FBUS_FRAME_HEADER vs 0x00, 0x01
Date: Thu, 16 Feb 2006 11:24:37 +0100 (CET)

Hello..

I'm trying to get a grip on the protocol used for communicating with my
old nokia phone?.
However I've come to a grinding halt with sending/receiving packages
Many requests starts with the:
{ FBUS_FRAME_HEADER, ...
but some start with { 0x00, 0x01, ...

Having plowed through the Docs catalogue I still can't figure out when to use
what (and why).

fx.
(from nk6110.txt)
...
0x40: Security commands
...
    s Get IMEI              { 0x66 }
...

the frame looks like this:
1e 00 0c 40 00 05 00 01 66 01 41 00 35 45
         ^^       ^^ ^^ ^^

from nk6100.c
...
        unsigned char req[] = {0x00, 0x01, 0x66};
...
        if (sm_message_send(3, 0x40, req, state)) return GN_ERR_NOTREADY;
...

Where do I find where the "00 01" comes from and when to use "00 01 00"
(FBUS_FRAME_HEADER)

--
Yours
 Morten  Bogeskov

?) For the time beeing I'm goal is to implement the nk6100/fbus2 outside
the gnokii framework, to get a feel for it, and then port it to a pic
(Atmega32), just for the fun of it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]