4 Marcin Wiacek (Marcin-Wiacek@TOPNET.PL)
5 ... and other members of gnokii mailing list
6 and authors of some WWW pages.
8 The data provided is for information purposes only.
9 Some of the frames might be hazardous to your phone. Be careful!!!
10 We do not take any responsibility or liability for damages, etc.
12 NOTE: this information isn't (and can't be) complete. If you know anything
13 about features not listed here or you noticed a bug in this list, please
14 notify us via e-mail. Thank you.
16 Document describing frames used in
17 GSM Nokia 3110 and derivatives (3810,8110,8110i):
18 Correct format is FBUS version 1/MBUS version 1 (?)
19 (see nokia.txt for protocol details):
26 s Make call {+type of call, type of number?, numlen, number, uk1, uk2, uk3 }
27 where type of call: see 0x0b
28 Note: If destination number is "1" - "9",
29 call for number in corresponding memory location is made.
31 r Incoming call {+type of call, 0x00, namelen, name }
39 s Answer incoming call {}
41 r Incoming call answered{}
44 r Call established {+type of call, 0x00, 0x00 }
45 where type of call: see 0x0b
49 r Call hanged up from ME{}
52 r CallClosed-by other end{+unknown, reason}
55 0x65 0x10 Hanged up by other end
56 0x1c virheellinen numero
57 0x65 0x1f Number is not in use
58 0x65 0x4f Check operator services
59 0x65 0xa6 No destination number (sms sending)
66 r Call hanged up from ME{}
73 r Initialization OK {+simstate }
75 0x01 No SIM present, or waiting for PIN
76 0x02 SIM present and ready.
78 r Initialization err {+error }
80 s Send DTMF {+length,string}
84 r Send DTMF err {+error }
86 0x70: invalid location
88 s Send SMS Header {+first octet, PID, DCS, validity(7 bytes), UDL, SMSClen, SMSC, receiverlen, receiver}
90 s Save SMS Header {+memtype,status(2bytes),PID, DCS, validity(7 bytes), UDL, SMSClen, SMSC, receiverlen, receiver, receivertype }
96 s Get SMS message {+memtype, location }
97 where: memtype - see 0x30
98 Note: In successful request, phone sends one "SMS Header" and one or more "SMS Data" packets.
99 In failure, phone sends "Get SMS message err" packet
101 s Delete SMS message {+memtype, location }
102 where: memtype - see 0x30
104 r SMS Data {+seq,block}
105 where: seq: starts from 0x01 and is increased by 1 after each block transmitted.
106 block: Block of User Data (max 55 chars)
107 s Send/Save SMS Data {+seq,block}
109 r SMS sent OK {+reference?}
111 r SMS sent error {+error1, error2}
113 r SMS saved OK {+memtype}
114 where: memtype - memory, where SMS was saved
116 r SMS saving err {+error}
118 r SMS Header {+memtype, location, status(2 bytes), PID, DCS, date (7 bytes), UDL, senderlen, sender, SMSClen, SMSC, sendertype}
120 memtype, PID, DCS, date, UDL, sender, SMSC, sendertype - see 0x30
121 status: 0701: Saved, not sent
123 0304: Received, unread
127 r Get SMS message err {+error}
129 r Delere SMS message OK {}
131 r Delete SMS message err{+error}
133 r SMS message received {+memtype, location, unknown, PID, DCS, date(7 bytes), UDL, senderlen, sender, SMSClen, SMSC, sendertype}
138 location: Memory location (1...)
139 unknown: most of time 0x04
140 PID: Protocol Identifier
141 DCS: Data Coding Scheme
142 date: sending date in BCD
143 UDL: User Data Length
144 sender: sender number
146 sendertype: type of sender number:
147 0x31 International without leading '+' ???
150 r Delivery report receiv{+unknown,delivery time(7 bytes),report time(7 bytes),0x00,MR,
151 destinationlen,destination,SMSClen,SMSC,destinationtype}
153 s Set SMSC {+bitmask,format,unknown1,validity,reply,reports,unusedlen,unused,SMSClen,SMSC}
155 bitmask: info, what we change
173 0 to 143 (validity + 1) * 5 minutes (i.e. 5 minutes intervals up to 12 hours)
174 144 to 167 12 hours + ((validity - 143) * 30 minutes)
175 168 to 196 (validity - 166) * 1 day
176 197 to 255 (validity - 192) * 1 week
184 r Get SMSC {+memory,AllSMSphone,unreadSMSphone,AllSMSSIM,unreadSMSSIM,
185 format,unknown1,validity,reply,reports,unusedlen,unused,SMSClen,SMSC}
186 where: format,unknown1,validity,reply,reports,unusedlen,unused,SMSClen,SMSC - see 0x3c
187 memory: selected memory
188 AllSMSphone: number of all SMS in phone
189 unreadSMSphone: number of unread SMS in phone
190 AllSMSSIM: number of all SMS on SIM
191 unreadSMSSIM: number of unread SMS on SIM
193 s Set mem location {+memtype, location, namelen, name, numlen, number }
194 where memtype: see 0x43
196 s Get mem location {+memtype, location }
201 0x04 Own numbers (at SIM)
203 r Set mem location OK {}
205 r Set mem location err {+error }
207 r Get mem location OK {+namelen, name, numlen, number }
209 r Get mem location err {+error }
217 r Status request {+status, network, battery }
220 0x02 Network interworking
222 0x04 No Network Access (Waiting for PIN or
223 Unaccessable Operator selected)
224 network and battery - signal level
228 r Get phone info {+IMEI, 0x00, Code, 0x00, HW, 0x00 }
229 where IMEI: IMEI Code
230 CODE: Same as Code in phones back side