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