| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		tkm
 
 
  Joined: 18 Jan 2011 Posts: 72
 
  | 
		
			
				 Posted: Wed Jun 15, 2011 10:09 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | pz wrote: | 	 		  Eeeeh by stops working you mean what? It freezes? Phone doesn't send any sms'es? 
 
 
Usually when something is ok for few times and then goes wrong it's about memory corruption, some buffer overflow and so. | 	  
 
Sorry for giving a bit ambigious information. Yes, the handset sometimes fails to send the second sms. I was testing just now. The handset completed the whole cycle (sending out 1st sms and then the 2nd sms) nicely 4 consecutive times. Then on the 5th time it failed to send the 2nd sms. Then afterwards the handset refuses to send out any sms until rebooted. 
 
 
The log says, on 5th cycle it tried to send the second sms but the handset didn't sent it to sms_control, it wasn't caught on MO_SMS_CONTROL.
 
 
Here is the log:
 
 	  | Quote: | 	 		  
 
7.442   FROM ME:  a0 c2 00 00 21
 
7.486   FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 58
 
24 87 f4 13 07 32 f4 51 00 c5 5b f4
 
7.547
 
7.550   Calling SMS Control
 
7.555
 
7.557   Entered SMS Control
 
7.561
 
7.564   Tag Address is=
 
7.572   0007
 
7.574   Debug begins
 
7.577
 
7.582   Going Forward
 
7.587   0058
 
7.593   Debug ends
 
7.596
 
7.599   STAT is=
 
7.603   0002CALL RET 9f14
 
7.610   TO ME:    9f 14
 
7.619
 
7.623   FROM ME:  a0 c0 00 00 14
 
7.628   sms_resp_call_len=0016CALL FILE APDU SMS
 
7.635   0002
 
7.640   0012
 
7.642   0006
 
7.645   0007
 
7.650   0091
 
7.653   0044
 
7.656   0077
 
7.659   0058
 
7.661   0010
 
7.666   0006
 
7.669   0050
 
7.672   0006
 
7.675   0007
 
7.678   0081
 
7.680   0070
 
7.686   0078
 
7.689   0088
 
7.693   0047
 
7.695   0032
 
7.698   00f9
 
7.703   0090
 
7.706   0000
 
7.709
 
7.711   Memory freed in File APDU
 
7.719
 
7.724   Setting sms_tracker to 1
 
7.728
 
7.733   Coming out of APDU loop for 1st SMS
 
7.740   TO ME:    02 12 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88 47 32 f9 90
 
00
 
7.772
 
11.674  FROM ME:  a0 f2 00 00 1e
 
11.678
 
11.680  Calling 2nd SMS
 
11.684
 
11.688  2nd SMS starts
 
11.693
 
11.695  Just before sending 2nd SMS
 
11.700  TO SIM:   a0 f2 00 00 1e
 
11.795  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
11.809  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 91 22
 
11.893
 
11.895  FROM ME:  a0 12 00 00 22
 
11.907  TO ME:    d0 20 81 03 01 13 00 82 02 81 83 8b 15 01 00 0b 81 70 78 88 47
 
32 f9 00 f5 08 54 4d 6f 62 69 6c 65 00 90 00
 
12.006
 
12.019  FROM ME:  a0 d6 00 00 02
 
12.024  FROM ME:  85 ff
 
12.028  TO SIM:   a0 d6 00 00 02
 
12.040  TO SIM:   85 ff
 
12.051  FROM SIM: 90 00
 
12.055  TO ME:    90 00
 
12.067
 
12.069  FROM ME:  a0 c2 00 00 21
 
12.115  FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88
 
47 32 f9 13 07 32 f4 51 00 c5 5b f4
 
12.164
 
12.167  Calling SMS Control
 
12.176
 
12.178  Entered SMS Control
 
12.182
 
12.184  Tag Address is=
 
12.189  0007
 
12.194  Debug begins
 
12.198
 
12.200  Going Forward
 
12.204  0088
 
12.207  Debug ends
 
12.213
 
12.215  STAT is=
 
12.217  0000CALL RET 9f02
 
12.224  TO ME:    9f 02
 
12.227
 
12.229  FROM ME:  a0 c0 00 00 02
 
12.234  sms_resp_call_len=0004CALL FILE APDU SMS
 
12.241  0000
 
12.246  0000
 
12.248  0090
 
12.250  0000
 
12.255
 
12.258  Memory freed in File APDU
 
12.263
 
12.265  Coming out of APDU loop for 1st SMS
 
12.271  TO ME:    00 00 90 00
 
12.279
 
15.151  FROM ME:  a0 14 00 00 0c
 
15.196  FROM ME:  81 03 01 13 00 02 02 82 81 83 01 00
 
15.202
 
15.205  Out of 2nd SMS function
 
15.210  TO ME:    90 00
 
15.215
 
20.475  FROM ME:  a0 f2 00 00 1e
 
20.479  TO SIM:   a0 f2 00 00 1e
 
20.555  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
20.587  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
29.646
 
29.662  FROM ME:  a0 f2 00 00 1e
 
29.666  TO SIM:   a0 f2 00 00 1e
 
29.753  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
29.766  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
38.823
 
38.839  FROM ME:  a0 f2 00 00 1e
 
38.844  TO SIM:   a0 f2 00 00 1e
 
38.914  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
38.930  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
40.865
 
40.867  FROM ME:  a0 d6 00 00 02
 
40.881  FROM ME:  86 ff
 
40.886  TO SIM:   a0 d6 00 00 02
 
40.890  TO SIM:   86 ff
 
40.897  FROM SIM: 90 00
 
40.902  TO ME:    90 00
 
40.916
 
40.920  FROM ME:  a0 c2 00 00 21
 
41.013  FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 58
 
24 87 f4 13 07 32 f4 51 00 c5 5b f4
 
41.027
 
41.030  Calling SMS Control
 
41.034
 
41.039  Entered SMS Control
 
41.044
 
41.046  Tag Address is=
 
41.050  0007
 
41.053  Debug begins
 
41.058
 
41.060  Going Forward
 
41.064  0058
 
41.069  Debug ends
 
41.073
 
41.075  STAT is=
 
41.078  0002CALL RET 9f14
 
41.082  TO ME:    9f 14
 
41.086
 
41.090  FROM ME:  a0 c0 00 00 14
 
41.094  sms_resp_call_len=0016CALL FILE APDU SMS
 
41.102  0002
 
41.106  0012
 
41.109  0006
 
41.111  0007
 
41.114  0091
 
41.119  0044
 
41.122  0077
 
41.125  0058
 
41.128  0010
 
41.131  0006
 
41.136  0050
 
41.139  0006
 
41.142  0007
 
41.144  0081
 
41.147  0070
 
41.153  0078
 
41.156  0088
 
41.159  0047
 
41.161  0032
 
41.164  00f9
 
41.167  0090
 
41.170  0000
 
41.175
 
41.177  Memory freed in File APDU
 
41.185
 
41.188  Setting sms_tracker to 1
 
41.192
 
41.194  Coming out of APDU loop for 1st SMS
 
41.200  TO ME:    02 12 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88 47 32 f9 90
 
00
 
41.211
 
42.051  FROM ME:  a0 a4 00 00 02
 
42.068  FROM ME:  7f 20
 
42.073  TO SIM:   a0 a4 00 00 02
 
42.077  TO SIM:   7f 20
 
42.099  FROM SIM: 9f 1e
 
42.103  TO ME:    9f 1e
 
42.120
 
42.123  FROM ME:  a0 c0 00 00 1e
 
42.127  TO SIM:   a0 c0 00 00 1e
 
42.153  FROM SIM: 00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
42.168  TO ME:    00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
42.245
 
42.247  FROM ME:  a0 88 00 00 10
 
42.297  FROM ME:  ff 48 ba a0 6b c1 0a 3a 1d 75 03 05 22 bd 68 aa
 
42.306  TO SIM:   a0 88 00 00 10
 
42.311  TO SIM:   ff 48 ba a0 6b c1 0a 3a 1d 75 03 05 22 bd 68 aa
 
42.329  FROM SIM: 9f 0c
 
42.335  TO ME:    9f 0c
 
42.347
 
42.351  FROM ME:  a0 c0 00 00 0c
 
42.357  TO SIM:   a0 c0 00 00 0c
 
42.375  FROM SIM: ee 33 82 00 c0 36 38 b6 87 f6 10 e8 90 00
 
42.382  TO ME:    ee 33 82 00 c0 36 38 b6 87 f6 10 e8 90 00
 
42.419
 
42.422  FROM ME:  a0 a4 00 00 02
 
42.438  FROM ME:  6f 20
 
42.441  TO SIM:   a0 a4 00 00 02
 
42.445  TO SIM:   6f 20
 
42.451  FROM SIM: 9f 0f
 
42.456  TO ME:    9f 0f
 
42.459
 
42.495  FROM ME:  a0 c0 00 00 0f
 
42.501  TO SIM:   a0 c0 00 00 0f
 
42.505  FROM SIM: 00 00 00 09 6f 20 04 00 11 ff ff 01 02 00 00 90 00
 
42.513  TO ME:    00 00 00 09 6f 20 04 00 11 ff ff 01 02 00 00 90 00
 
42.531
 
42.543  FROM ME:  a0 d6 00 00 09
 
42.559  FROM ME:  c0 36 38 b6 87 f6 10 e8 01
 
42.565  TO SIM:   a0 d6 00 00 09
 
42.579  TO SIM:   c0 36 38 b6 87 f6 10 e8 01
 
42.591  FROM SIM: 90 00
 
42.595  TO ME:    90 00
 
42.607
 
48.014  FROM ME:  a0 f2 00 00 1e
 
48.018
 
48.020  Calling 2nd SMS
 
48.024
 
48.028  2nd SMS starts
 
48.045
 
48.047  Just before sending 2nd SMS
 
48.051  TO SIM:   a0 f2 00 00 1e
 
48.132  FROM SIM: 00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
48.146  TO ME:    00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 91 22
 
48.230
 
48.232  FROM ME:  a0 12 00 00 22
 
48.244  TO ME:    d0 20 81 03 01 13 00 82 02 81 83 8b 15 01 00 0b 81 70 78 88 47
 
32 f9 00 f5 08 54 4d 6f 62 69 6c 65 00 90 00
 
48.343
 
48.345  FROM ME:  a0 a4 00 00 02
 
48.361  FROM ME:  7f 10
 
48.365  TO SIM:   a0 a4 00 00 02
 
48.375  TO SIM:   7f 10
 
48.404  FROM SIM: 9f 1e
 
48.407  TO ME:    9f 1e
 
48.411
 
48.420  FROM ME:  a0 c0 00 00 1e
 
48.428  TO SIM:   a0 c0 00 00 1e
 
48.433  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
48.456  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
48.541
 
48.543  FROM ME:  a0 a4 00 00 02
 
48.554  FROM ME:  6f 43
 
48.558  TO SIM:   a0 a4 00 00 02
 
48.564  TO SIM:   6f 43
 
48.570  FROM SIM: 9f 0f
 
48.574  TO ME:    9f 0f
 
48.586
 
48.588  FROM ME:  a0 c0 00 00 0f
 
48.596  TO SIM:   a0 c0 00 00 0f
 
48.610  FROM SIM: 00 00 00 02 6f 43 04 00 11 f6 ff 01 02 00 00 90 00
 
48.617  TO ME:    00 00 00 02 6f 43 04 00 11 f6 ff 01 02 00 00 90 00
 
48.660
 
48.663  FROM ME:  a0 d6 00 00 02
 
48.679  FROM ME:  87 ff
 
48.682  TO SIM:   a0 d6 00 00 02
 
48.686  TO SIM:   87 ff
 
48.694  FROM SIM: 90 00
 
48.698  TO ME:    90 00
 
48.710
 
48.713  FROM ME:  a0 c2 00 00 21
 
48.804  FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88
 
47 32 f9 13 07 32 f4 51 00 c5 5b f4
 
48.818
 
48.820  Calling SMS Control
 
48.826
 
48.829  Entered SMS Control
 
48.834
 
48.837  Tag Address is=
 
48.841  0007
 
48.845  Debug begins
 
48.851
 
48.853  Going Forward
 
48.864  0088
 
48.867  Debug ends
 
48.870
 
48.872  STAT is=
 
48.876  0000CALL RET 9f02
 
48.882  TO ME:    9f 02
 
48.885
 
48.888  FROM ME:  a0 c0 00 00 02
 
48.894  sms_resp_call_len=0004CALL FILE APDU SMS
 
48.900  0000
 
48.903  0000
 
48.906  0090
 
48.909  0000
 
48.915
 
48.917  Memory freed in File APDU
 
48.921
 
48.924  Coming out of APDU loop for 1st SMS
 
48.931  TO ME:    00 00 90 00
 
48.935
 
51.749  FROM ME:  a0 14 00 00 0c
 
51.794  FROM ME:  81 03 01 13 00 02 02 82 81 83 01 00
 
51.804
 
51.806  Out of 2nd SMS function
 
51.818  TO ME:    90 00
 
51.822
 
57.200  FROM ME:  a0 f2 00 00 1e
 
57.205  TO SIM:   a0 f2 00 00 1e
 
57.280  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
57.319  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
66.365
 
66.381  FROM ME:  a0 f2 00 00 1e
 
66.385  TO SIM:   a0 f2 00 00 1e
 
66.473  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
66.486  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
72.008
 
72.024  FROM ME:  a0 d6 00 00 02
 
72.028  FROM ME:  88 ff
 
72.042  TO SIM:   a0 d6 00 00 02
 
72.047  TO SIM:   88 ff
 
72.056  FROM SIM: 90 00
 
72.060  TO ME:    90 00
 
72.075
 
72.077  FROM ME:  a0 c2 00 00 21
 
72.120  FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 58
 
24 87 f4 13 07 32 f4 51 00 c5 5b f4
 
72.182
 
72.185  Calling SMS Control
 
72.189
 
72.191  Entered SMS Control
 
72.195
 
72.200  Tag Address is=
 
72.205  0007
 
72.207  Debug begins
 
72.210
 
72.217  Going Forward
 
72.221  0058
 
72.223  Debug ends
 
72.226
 
72.234  STAT is=
 
72.248  0002CALL RET 9f14
 
72.255  TO ME:    9f 14
 
72.258
 
72.261  FROM ME:  a0 c0 00 00 14
 
72.265  sms_resp_call_len=0016CALL FILE APDU SMS
 
72.272  0002
 
72.274  0012
 
72.277  0006
 
72.280  0007
 
72.283  0091
 
72.288  0044
 
72.291  0077
 
72.293  0058
 
72.297  0010
 
72.300  0006
 
72.304  0050
 
72.307  0006
 
72.309  0007
 
72.312  0081
 
72.316  0070
 
72.319  0078
 
72.323  0088
 
72.326  0047
 
72.328  0032
 
72.332  00f9
 
72.335  0090
 
72.340  0000
 
72.342
 
72.344  Memory freed in File APDU
 
72.349
 
72.353  Setting sms_tracker to 1
 
72.358
 
72.360  Coming out of APDU loop for 1st SMS
 
72.367  TO ME:    02 12 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88 47 32 f9 90
 
00
 
72.378
 
75.091  FROM ME:  a0 f2 00 00 1e
 
75.096
 
75.102  Calling 2nd SMS
 
75.106
 
75.109  2nd SMS starts
 
75.112
 
75.120  Just before sending 2nd SMS
 
75.125  TO SIM:   a0 f2 00 00 1e
 
75.180  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
75.194  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 91 22
 
75.279
 
75.281  FROM ME:  a0 12 00 00 22
 
75.292  TO ME:    d0 20 81 03 01 13 00 82 02 81 83 8b 15 01 00 0b 81 70 78 88 47
 
32 f9 00 f5 08 54 4d 6f 62 69 6c 65 00 90 00
 
75.391
 
75.393  FROM ME:  a0 d6 00 00 02
 
75.423  FROM ME:  89 ff
 
75.427  TO SIM:   a0 d6 00 00 02
 
75.431  TO SIM:   89 ff
 
75.435  FROM SIM: 90 00
 
75.441  TO ME:    90 00
 
75.444
 
75.451  FROM ME:  a0 c2 00 00 21
 
75.499  FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88
 
47 32 f9 13 07 32 f4 51 00 c5 5b f4
 
75.549
 
75.552  Calling SMS Control
 
75.557
 
75.559  Entered SMS Control
 
75.563
 
75.565  Tag Address is=
 
75.571  0007
 
75.574  Debug begins
 
75.577
 
75.580  Going Forward
 
75.586  0088
 
75.589  Debug ends
 
75.593
 
75.595  STAT is=
 
75.597  0000CALL RET 9f02
 
75.601  TO ME:    9f 02
 
75.608
 
75.610  FROM ME:  a0 c0 00 00 02
 
75.614  sms_resp_call_len=0004CALL FILE APDU SMS
 
75.622  0000
 
75.625  0000
 
75.627  0090
 
75.630  0000
 
75.634
 
75.637  Memory freed in File APDU
 
75.642
 
75.644  Coming out of APDU loop for 1st SMS
 
75.652  TO ME:    00 00 90 00
 
75.657
 
79.395  FROM ME:  a0 14 00 00 0c
 
79.411  FROM ME:  81 03 01 13 00 02 02 82 81 83 01 00
 
79.439
 
79.441  Out of 2nd SMS function
 
79.445  TO ME:    90 00
 
79.449
 
84.026  FROM ME:  a0 f2 00 00 1e
 
84.030  TO SIM:   a0 f2 00 00 1e
 
84.116  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
84.131  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
92.770
 
92.772  FROM ME:  a0 f2 00 00 1e
 
92.776  TO SIM:   a0 f2 00 00 1e
 
92.864  FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
92.882  TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
101.678
 
101.680 FROM ME:  a0 f2 00 00 1e
 
101.684 TO SIM:   a0 f2 00 00 1e
 
101.783 FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
101.799 TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
105.542
 
105.544 FROM ME:  a0 d6 00 00 02
 
105.558 FROM ME:  8a ff
 
105.563 TO SIM:   a0 d6 00 00 02
 
105.567 TO SIM:   8a ff
 
105.574 FROM SIM: 90 00
 
105.577 TO ME:    90 00
 
105.592
 
105.594 FROM ME:  a0 c2 00 00 21
 
105.689 FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 58
 
24 87 f4 13 07 32 f4 51 00 c5 5b f4
 
105.703
 
105.706 Calling SMS Control
 
105.709
 
105.712 Entered SMS Control
 
105.716
 
105.719 Tag Address is=
 
105.723 0007
 
105.726 Debug begins
 
105.729
 
105.732 Going Forward
 
105.737 0058
 
105.741 Debug ends
 
105.744
 
105.748 STAT is=
 
105.752 0002CALL RET 9f14
 
105.757 TO ME:    9f 14
 
105.760
 
105.764 FROM ME:  a0 c0 00 00 14
 
105.770 sms_resp_call_len=0016CALL FILE APDU SMS
 
105.776 0002
 
105.778 0012
 
105.784 0006
 
105.787 0007
 
105.790 0091
 
105.792 0044
 
105.795 0077
 
105.800 0058
 
105.804 0010
 
105.807 0006
 
105.809 0050
 
105.812 0006
 
105.817 0007
 
105.821 0081
 
105.823 0070
 
105.826 0078
 
105.828 0088
 
105.833 0047
 
105.836 0032
 
105.840 00f9
 
105.842 0090
 
105.845 0000
 
105.855
 
105.858 Memory freed in File APDU
 
105.866
 
105.871 Setting sms_tracker to 1
 
105.876
 
105.878 Coming out of APDU loop for 1st SMS
 
105.887 TO ME:    02 12 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88 47 32 f9 90
 
00
 
105.898
 
110.855 FROM ME:  a0 f2 00 00 1e
 
110.859
 
110.861 Calling 2nd SMS
 
110.887
 
110.889 2nd SMS starts
 
110.892
 
110.894 Just before sending 2nd SMS
 
110.899 TO SIM:   a0 f2 00 00 1e
 
110.977 FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
110.992 TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 91 22
 
111.076
 
111.078 FROM ME:  a0 12 00 00 22
 
111.089 TO ME:    d0 20 81 03 01 13 00 82 02 81 83 8b 15 01 00 0b 81 70 78 88 47
 
32 f9 00 f5 08 54 4d 6f 62 69 6c 65 00 90 00
 
111.188
 
111.190 FROM ME:  a0 d6 00 00 02
 
111.206 FROM ME:  8b ff
 
111.211 TO SIM:   a0 d6 00 00 02
 
111.226 TO SIM:   8b ff
 
111.232 FROM SIM: 90 00
 
111.238 TO ME:    90 00
 
111.248
 
111.251 FROM ME:  a0 c2 00 00 21
 
111.296 FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88
 
47 32 f9 13 07 32 f4 51 00 c5 5b f4
 
111.347
 
111.349 Calling SMS Control
 
111.353
 
111.356 Entered SMS Control
 
111.360
 
111.362 Tag Address is=
 
111.365 0007
 
111.370 Debug begins
 
111.374
 
111.377 Going Forward
 
111.380 0088
 
111.383 Debug ends
 
111.386
 
111.389 STAT is=
 
111.394 0000CALL RET 9f02
 
111.398 TO ME:    9f 02
 
111.406
 
111.409 FROM ME:  a0 c0 00 00 02
 
111.414 sms_resp_call_len=0004CALL FILE APDU SMS
 
111.421 0000
 
111.424 0000
 
111.428 0090
 
111.431 0000
 
111.433
 
111.438 Memory freed in File APDU
 
111.444
 
111.446 Coming out of APDU loop for 1st SMS
 
111.454 TO ME:    00 00 90 00
 
111.459
 
114.381 FROM ME:  a0 14 00 00 0c
 
114.397 FROM ME:  81 03 01 13 00 02 02 82 81 83 01 00
 
114.413
 
114.415 Out of 2nd SMS function
 
114.419 TO ME:    90 00
 
114.423
 
120.044 FROM ME:  a0 f2 00 00 1e
 
120.048 TO SIM:   a0 f2 00 00 1e
 
120.108 FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
120.146 TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
129.206
 
129.222 FROM ME:  a0 f2 00 00 1e
 
129.227 TO SIM:   a0 f2 00 00 1e
 
129.310 FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
129.326 TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
137.373
 
137.375 FROM ME:  a0 d6 00 00 02
 
137.389 FROM ME:  8c ff
 
137.392 TO SIM:   a0 d6 00 00 02
 
137.398 TO SIM:   8c ff
 
137.405 FROM SIM: 90 00
 
137.408 TO ME:    90 00
 
137.423
 
137.425 FROM ME:  a0 c2 00 00 21
 
137.519 FROM ME:  d5 1f 82 02 82 81 06 07 91 44 77 58 10 06 50 06 07 81 70 78 58
 
24 87 f4 13 07 32 f4 51 00 c5 5b f4
 
137.534
 
137.536 Calling SMS Control
 
137.540
 
137.542 Entered SMS Control
 
137.546
 
137.549 Tag Address is=
 
137.553 0007
 
137.555 Debug begins
 
137.559
 
137.563 Going Forward
 
137.568 0058
 
137.571 Debug ends
 
137.574
 
137.576 STAT is=
 
137.583 0002CALL RET 9f14
 
137.589 TO ME:    9f 14
 
137.592
 
137.601 FROM ME:  a0 c0 00 00 14
 
137.607 sms_resp_call_len=0016CALL FILE APDU SMS
 
137.615 0002
 
137.619 0012
 
137.621 0006
 
137.624 0007
 
137.626 0091
 
137.629 0044
 
137.632 0077
 
137.637 0058
 
137.640 0010
 
137.643 0006
 
137.648 0050
 
137.652 0006
 
137.655 0007
 
137.657 0081
 
137.660 0070
 
137.663 0078
 
137.666 0088
 
137.670 0047
 
137.673 0032
 
137.675 00f9
 
137.681 0090
 
137.684 0000
 
137.688
 
137.690 Memory freed in File APDU
 
137.694
 
137.700 Setting sms_tracker to 1
 
137.704
 
137.707 Coming out of APDU loop for 1st SMS
 
137.719 TO ME:    02 12 06 07 91 44 77 58 10 06 50 06 07 81 70 78 88 47 32 f9 90
 
00
 
137.731
 
137.930 FROM ME:  a0 f2 00 00 1e
 
137.934
 
137.936 Calling 2nd SMS
 
137.939
 
137.941 2nd SMS starts
 
137.948
 
137.951 Just before sending 2nd SMS
 
137.955 TO SIM:   a0 f2 00 00 1e
 
138.010 FROM SIM: 00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
138.041 TO ME:    00 00 c6 c2 7f 10 02 00 66 6f ff 01 11 9b 02 0c 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 91 22
 
138.128
 
138.130 FROM ME:  a0 12 00 00 22
 
138.144 TO ME:    d0 20 81 03 01 13 00 82 02 81 83 8b 15 01 00 0b 81 70 78 88 47
 
32 f9 00 f5 08 54 4d 6f 62 69 6c 65 00 90 00
 
138.242
 
138.246 FROM ME:  a0 14 00 00 0d
 
138.286 FROM ME:  81 03 01 13 00 02 02 82 81 83 02 20 00
 
138.292
 
138.294 Out of 2nd SMS function
 
138.299 TO ME:    90 00
 
138.304
 
138.558 FROM ME:  a0 a4 00 00 02
 
138.574 FROM ME:  7f 20
 
138.577 TO SIM:   a0 a4 00 00 02
 
138.582 TO SIM:   7f 20
 
138.606 FROM SIM: 9f 1e
 
138.609 TO ME:    9f 1e
 
138.622
 
138.624 FROM ME:  a0 c0 00 00 1e
 
138.635 TO SIM:   a0 c0 00 00 1e
 
138.647 FROM SIM: 00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
138.666 TO ME:    00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
138.745
 
138.749 FROM ME:  a0 88 00 00 10
 
138.775 FROM ME:  a4 63 4b 68 fb e4 db 37 4d c0 3b 52 2a 36 10 e6
 
138.800 TO SIM:   a0 88 00 00 10
 
138.804 TO SIM:   a4 63 4b 68 fb e4 db 37 4d c0 3b 52 2a 36 10 e6
 
138.830 FROM SIM: 9f 0c
 
138.834 TO ME:    9f 0c
 
138.846
 
138.849 FROM ME:  a0 c0 00 00 0c
 
138.855 TO SIM:   a0 c0 00 00 0c
 
138.876 FROM SIM: 56 bd 73 3d 9c d3 c7 0b 3a 4d a2 ec 90 00
 
138.884 TO ME:    56 bd 73 3d 9c d3 c7 0b 3a 4d a2 ec 90 00
 
138.910
 
138.913 FROM ME:  a0 a4 00 00 02
 
138.926 FROM ME:  6f 20
 
138.931 TO SIM:   a0 a4 00 00 02
 
138.940 TO SIM:   6f 20
 
138.943 FROM SIM: 9f 0f
 
138.947 TO ME:    9f 0f
 
138.958
 
138.960 FROM ME:  a0 c0 00 00 0f
 
138.967 TO SIM:   a0 c0 00 00 0f
 
138.986 FROM SIM: 00 00 00 09 6f 20 04 00 11 ff ff 01 02 00 00 90 00
 
138.994 TO ME:    00 00 00 09 6f 20 04 00 11 ff ff 01 02 00 00 90 00
 
139.032
 
139.034 FROM ME:  a0 d6 00 00 09
 
139.072 FROM ME:  9c d3 c7 0b 3a 4d a2 ec 02
 
139.077 TO SIM:   a0 d6 00 00 09
 
139.084 TO SIM:   9c d3 c7 0b 3a 4d a2 ec 02
 
139.089 FROM SIM: 90 00
 
139.093 TO ME:    90 00
 
139.098
 
146.877 FROM ME:  a0 f2 00 00 1e
 
146.881 TO SIM:   a0 f2 00 00 1e
 
146.968 FROM SIM: 00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
146.982 TO ME:    00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
156.039
 
156.055 FROM ME:  a0 f2 00 00 1e
 
156.059 TO SIM:   a0 f2 00 00 1e
 
156.128 FROM SIM: 00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00
 
156.142 TO ME:    00 00 c6 c2 7f 20 02 00 66 6f ff 01 11 9b 00 22 09 00 83 8a 83
 
8a 00 80 80 80 80 80 00 00 90 00 | 	  
 
As you can see the last time the second sms was not sent to sms_control/MO_SMS_CONTROL EVENT.
 
 
When I reboot the handset the unsent sms gets sent again, which points to the issue that it might be a buffer/memory corruption problem, I guess. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		
			
				 Posted: Wed Jun 15, 2011 1:05 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Look at T=137.425. There is SMS control for 1st SMS. You answer.
 
But the bloody STATUS comes immediately  at 137.930 and you try to send the 2nd SMS. I.e. almost immediately after the first, quite likely the first sms is still being handled between phone-network.
 
 
This is probably the same story that we saw before - conflict of STK vs SMS sending.
 
 
On your second SMS you get TERMINAL RESPONSE with RESUL 0x20, i.e. it says it failed for some reason (don't have the spec).
 
 
 
138.246 FROM ME: a0 14 00 00 0d
 
138.286 FROM ME: 81 03 01 13 00 02 02 82 81 83 02 20 00
 
138.292 
 
 
Probably the blackberry bug on STK vs. SMS is surfacing in different way now.
 
 
So we have to think about a way how to make a delay between sms control and status, sending the second sms resp.
 
 
Can you try to insert 10x more_time() before sending the 2nd?
 
 
Another option is to do polling 5 sec and use the 2nd STATUS. This way you will have always at least one STATUS between sms control and your 2nd of >5sec and that should be enough for the phone to clear the 1st.
 
 
Note that this BB behavior is surely a bug, we are working on workaround. You should also see another phones, incl. BB to say how they behave. 
 
 
Btw. can you go to e.g. STK->Setup->About menu after it fails this way? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		tkm
 
 
  Joined: 18 Jan 2011 Posts: 72
 
  | 
		
			
				 Posted: Wed Jun 15, 2011 4:22 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | pz wrote: | 	 		  Look at T=137.425. There is SMS control for 1st SMS. You answer.
 
But the bloody STATUS comes immediately  at 137.930 and you try to send the 2nd SMS. I.e. almost immediately after the first, quite likely the first sms is still being handled between phone-network.
 
 
This is probably the same story that we saw before - conflict of STK vs SMS sending.
 
 
On your second SMS you get TERMINAL RESPONSE with RESUL 0x20, i.e. it says it failed for some reason (don't have the spec).
 
 
 
138.246 FROM ME: a0 14 00 00 0d
 
138.286 FROM ME: 81 03 01 13 00 02 02 82 81 83 02 20 00
 
138.292 
 
 
Probably the blackberry bug on STK vs. SMS is surfacing in different way now.
 
 
So we have to think about a way how to make a delay between sms control and status, sending the second sms resp.
 
 
Can you try to insert 10x more_time() before sending the 2nd?
 
 
Another option is to do polling 5 sec and use the 2nd STATUS. This way you will have always at least one STATUS between sms control and your 2nd of >5sec and that should be enough for the phone to clear the 1st.
 
 
Note that this BB behavior is surely a bug, we are working on workaround. You should also see another phones, incl. BB to say how they behave. 
 
 
Btw. can you go to e.g. STK->Setup->About menu after it fails this way? | 	  
 
 
Thanks Pavel. Adding 10Xmore_time() before sending the 2nd sms worked. I have now tested with sending 14/15 sms one after another and they all went through. This is looking good. I hope this approach behaves same with all blackberry models. We are testing with BB curve. I will test more and update you.
 
 
I couldn't understand ur second advised approach. What is 2nd STATUS? Is that another event? Completely went over my head...!!!
 
 
And yes I could access STK->Setup->About menu when it failed earlier.
 
 
I will test this application over Nokia/Iphone handsets gradually and update you so that u also know.
 
 
Can't thank you enough for keeping up with me all through this post... | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		
			
				 Posted: Wed Jun 15, 2011 7:29 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				By 2nd status I meant that you skip one and issue send_sms fetch request in the second one. Because it would be 5s (now you have 10s I think) it would guarantee that even if the first status followed directly the sms control the 2nd status would be 5 sec after, i.e. 5sec guaranteed delay.
 
 
But if more_time() gives enough time for phone to send the sms to network should be enough. Pity you cannot issue it in sms control. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		tkm
 
 
  Joined: 18 Jan 2011 Posts: 72
 
  | 
		
			
				 Posted: Thu Jun 16, 2011 9:58 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | pz wrote: | 	 		  By 2nd status I meant that you skip one and issue send_sms fetch request in the second one. Because it would be 5s (now you have 10s I think) it would guarantee that even if the first status followed directly the sms control the 2nd status would be 5 sec after, i.e. 5sec guaranteed delay.
 
 
But if more_time() gives enough time for phone to send the sms to network should be enough. Pity you cannot issue it in sms control. | 	  
 
 
Understood. Nice and clear......   | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		tkm
 
 
  Joined: 18 Jan 2011 Posts: 72
 
  | 
		
			
				 Posted: Fri Jun 17, 2011 9:21 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | pz wrote: | 	 		  By 2nd status I meant that you skip one and issue send_sms fetch request in the second one. Because it would be 5s (now you have 10s I think) it would guarantee that even if the first status followed directly the sms control the 2nd status would be 5 sec after, i.e. 5sec guaranteed delay.
 
 
But if more_time() gives enough time for phone to send the sms to network should be enough. Pity you cannot issue it in sms control. | 	  
 
Hi Pavel, 
 
I implemented your suggested 2nd status approach and so far I found this as the most reliable approach. The ME is given 5 seconds guaranteed breathing space to clear up it's first sms stuffs and then on 2nd status the 2nd sms is send out. I have tested with sending out around 30 sms with no failure result whereas with 10s poll-time+10Xmore_time() approach there were some failure incidents. I will keep you updated. Thanks a lot, Pavel. Have a great week-end. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |