Revision 7b0dbb96
Added by osmith about 4 years ago
docs/imsi-pseudo-spec.adoc | ||
---|---|---|
174 | 174 |
provided in <<reference-src>>. |
175 | 175 |
|
176 | 176 |
The SIM applet registers to a suitable SMS trigger (3GPP TS 03.19, Section |
177 |
6.2). When an SMS from the HLR in the format of <<sms-format>> arrives, the
|
|
178 |
applet must verify that the SMS is not outdated by comparing imsi_pseudo_i from
|
|
179 |
the SMS with the last imsi_pseudo_i that was used when changing the IMSI |
|
177 |
6.2). When an SMS from the HLR in the structure of <<sms-structure>> arrives,
|
|
178 |
the applet must verify that the SMS is not outdated by comparing imsi_pseudo_i
|
|
179 |
from the SMS with the last imsi_pseudo_i that was used when changing the IMSI
|
|
180 | 180 |
(initially 1 as in <<hlr-imsi-pseudo-i>>). The new value must be higher, |
181 | 181 |
otherwise the SMS should not be processed further. |
182 | 182 |
|
... | ... | |
280 | 280 |
IMSI (higher imsi_pseudo_i, see <<hlr-imsi-pseudo-i>>) and related |
281 | 281 |
imsi_pseudo_i value. |
282 | 282 |
|
283 |
[[sms-format]]
|
|
284 |
==== SMS Format
|
|
283 |
[[sms-structure]]
|
|
284 |
==== Next Pseudonymous IMSI SMS Structure
|
|
285 | 285 |
|
286 |
* min_sleep_time |
|
287 |
* imsi_pseudo |
|
288 |
* imsi_pseudo_i |
|
286 |
// FIXME |
|
287 |
IMPORTANT: This is a draft. The structure is likely to change after the |
|
288 |
reference implementation phase. |
|
289 |
|
|
290 |
.Next pseudonymous IMSI SMS structure |
|
291 |
[packetdiag] |
|
292 |
---- |
|
293 |
{ |
|
294 |
colwidth = 32 |
|
295 |
|
|
296 |
0-31: IMSI_PSEUDO_I |
|
297 |
32-63: MIN_SLEEP_TIME |
|
298 |
64-119: IMSI_PSEUDO |
|
299 |
120-127: PAD |
|
300 |
} |
|
301 |
---- |
|
302 |
|
|
303 |
IMSI_PSEUDO_I: 32 bits:: |
|
304 |
See <<hlr-imsi-pseudo-i>>. |
|
305 |
|
|
306 |
MIN_SLEEP_TIME: 32 bits:: |
|
307 |
Amount of seconds, which the SIM applet should wait before changing to the new |
|
308 |
pseudonymous IMSI. Since it is unclear when the SMS will arrive (ME might be |
|
309 |
turned off), this is a minimum amount. |
|
310 |
|
|
311 |
IMSI_PSEUDO: 60 bits:: |
|
312 |
Telephony Binary Coded Decimal (TBCD, 3GPP TS 29.002) version of the next |
|
313 |
pseudonymous IMSI. |
|
314 |
|
|
315 |
PAD: 8 bits:: |
|
316 |
Padding at the end, should be filled with 1111 as in the TBCD specification. |
|
289 | 317 |
|
290 | 318 |
== Error Scenarios |
291 | 319 |
=== Next Pseudonymous IMSI SMS is Lost |
Also available in: Unified diff
docs/spec: SMS structure