Alternate method to get SMS
1) Alternate method to get SMS
Incidentally there is another way to get the SMS than wait for it.
Byte
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
HEX
|
1E
|
00
|
0C
|
02
|
00
|
08
|
00
|
01
|
00
|
07
|
02
|
02
|
01
|
64
|
11
|
6A
|
|
|
cell
|
pc
|
sms handling
|
framlen+2
|
SMS frame header
|
get SMS
|
sim
|
location
|
|
seq
|
even
|
odd
|
In the above frame (SMS handling) the Byte9=0x07 is the Get-SMS command.
So what you can do is, check for a location (Byte11) say 2nd location for new SMS after a specified interval (which you can decide 5 seconds, 10seconds etc).
If there is no new SMS, alternately the location is empty, Phone replies with
Empty-SMS frame which you can check in the excel sheet
(Download abhi_FBUS.xls)
(Download abhi_FBUS.xls)