Deleting SMS
1) Deleting SMS
Once action has been taken on the SMS, it is really no worth to us now and must be deleted, otherwise the inbox gets full. See the frame for deleting SMS in excel sheet(Download section).
Byte
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
HEX
|
1E
|
00
|
0C
|
14
|
00
|
08
|
00
|
01
|
00
|
0A
|
02
|
02
|
01
|
42
|
11
|
57
|
|
|
cell
|
pc
|
sms func
|
framlen+2
|
sms frame header
|
delete
|
sim
|
location
|
|
seq
|
even
|
odd
|
Byte9=SMS delete command=0x0A
Byte11=SMS location in inbox, should be taken from SMS recd frame (Byte11)
Calculate Seq.No. and check sums as usual.
If correct delete is done, phone replies with Delete-Ok frame (check sheet)
What do you need to do with that?
You need to send ACK to that yaar!
If somehow, the delete command was unable to do the deleting operation, which may be due to numerous reasons, (The basic reason being the noise on FBUS [which we can do really nothing about, with the scheme we are using].
Other reason is sending wrong Seq.No. Protocol is really strict with this!)
Phone sends a Delete error frame (check sheet).So you know that the particular SMS has not been deleted, and needs to be sent a fresh Delete-frame.