Project

General

Profile

Mobile » History » Version 15

Hoernchen, 09/16/2020 04:01 PM
chainload part of osmocon for quite some time

1 13 laforge
'mobile' is the program implementing the behavior of a regular mobile phone,
2 10 laforge
extended in many ways with features interesting to researchers.
3 1 laforge
4 11 msuraev
5 10 laforge
* perform cell (re)selection according to TS 03.22
6
* MM procedures like location updating, authentication, encryption
7
* Establish MT and MO voice calls
8
* Send and receive SMS
9
* Perform supplementary services like USSD or call forwarding
10
* hook it up to a PBX
11
12 1 laforge
13 10 laforge
h2. Prerequirements
14 1 laforge
15
16
It is assumed that you have already obtained the [[OsmocomBB]] source code and compiled both the host programs as well as the firmware
17 10 laforge
(using a cross-compiler).  Please see the general [[OsmocomBB]] GettingStarted for guidance.
18
19 1 laforge
20
21 10 laforge
* prints the debug messages to stdout
22
* sends debug messages using [[GSMTAP]]
23
24 11 msuraev
25 10 laforge
<pre>
26
cd osmocom-bb/src/host/layer23/src/mobile/
27
./mobile -i 127.0.0.1
28 7 laforge
</pre>
29 1 laforge
30
Note: 
31
You should:
32 14 msuraev
* press the start button on your phone after starting L1 upload command:
33
<pre>
34 15 Hoernchen
./osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor -c ./osmocom-bb/src/target/firmware/board/compal_e88/layer1.highram.bin
35 14 msuraev
</pre>
36 11 msuraev
37 10 laforge
To capture sent and received packets:
38 7 laforge
* launch wireshark: $ nc -u -l -p 4729 > /dev/null & wireshark -k -i lo -f 'port 4729'
39 10 laforge
40 11 msuraev
41 10 laforge
<pre>
42
telnet localhost 4247
43 1 laforge
Trying 127.0.0.1...
44 7 laforge
Connected to localhost.
45 3 tsaitgaist
Escape character is '^]'.
46 12 msuraev
Welcome to the OsmocomBB Control interface
47
OsmocomBB>
48 10 laforge
</pre>
49
50
51 8 jolly
h2. Command Reference
52 10 laforge
53
54 11 msuraev
55 10 laforge
<pre>
56
Usage: ./mobile
57 3 tsaitgaist
 Some help...
58
  -h --help		this text
59
  -i --gsmtap-ip	The destination IP used for GSMTAP.
60
  -v --vty-port		The VTY port number to telnet to. (default 4247)
61
  -d --debug		Change debug flags.
62 10 laforge
</pre>
63 3 tsaitgaist
64 11 msuraev
65 1 laforge
TODO
66
67 4 laforge
68 10 laforge
h2. Missing features
69 1 laforge
70 10 laforge
71
* Handover support
72
73
74
75
h2. Authors
Add picture from clipboard (Maximum size: 48.8 MB)