Project

General

Profile

Layer23 » History » Version 3

laforge, 02/19/2016 10:49 PM
link to wiresharkintegration

1 1 zecke
[[PageOutline]]
2
3
Using the layer2 you can:
4
  * Connect to /tmp/osmocom_l2 socket created by [wiki:osmocon] to exchange data from [wiki:L1A_L23_Interface].
5
  * Receive GSM Layer1 frames.
6
  * Dump received GSM Layer1 frames and print some analysis.
7 3 laforge
  * Send the Layer1 frames as GSMTAP packets to wireshark (see [wiki:WiresharkIntegration])
8 1 zecke
9
=== Usage ===
10
{{{
11
./layer2
12
}}}
13
14
This will connect to the [wiki:osmocon] application and will receive GSM Layer1 frames. The receiving is done in the src/layer2_main.c and the frames will be passed to src/osmocom_layer2.c.
15
16 2 zecke
The output of the layer2 application is currently looking like this:
17
{{{
18
Found CCCH burst(s): TDMA: (0003/08/39) tc:3 49 06 1b 3b 80 62 f2 20 01 3a c8 07 0a 15 65 04 b9 00 00 80 00 02 1b  si: 0x1b
19
        SI3 on wrong TC
20
Found sync burst: SNR: 16384 TDMA: (0003/15/46) bsic: 49
21
Found sync burst: SNR: 16384 TDMA: (0003/25/05) bsic: 49
22
Found sync burst: SNR: 16384 TDMA: (0003/09/15) bsic: 49
23
Found sync burst: SNR: 16384 TDMA: (0003/19/25) bsic: 49
24
Found CCCH burst(s): TDMA: (0003/07/39) tc:4 31 06 1c 62 f2 20 01 3a 65 04 b9 00 00 80 00 53 2b 2b 2b 2b 2b 2b 2b  si: 0x1c
25
        SI4 on wrong TC
26
Found sync burst: SNR: 16384 TDMA: (0003/14/46) bsic: 49
27
Found sync burst: SNR: 16384 TDMA: (0003/24/05) bsic: 49
28
Found sync burst: SNR: 16384 TDMA: (0003/08/15) bsic: 49
29
Found sync burst: SNR: 16384 TDMA: (0003/18/25) bsic: 49
30
Found CCCH burst(s): TDMA: (0003/06/39) tc:5 01 06 00 b0 00 58 47 eb 4a 92 53 40 62 84 eb 2b 2b 2b 2b 2b 2b 2b 2b  si: 0x0
31
        SI13 on wrong TC
32
}}}
33
34 1 zecke
=== Goals ===
35
The goal for the layer2+ application is to turn it into a complete GSM Stack for Mobilestations. This will include handling of GSM Layer2 (LAPDm, GSM 04.06), GSM Layer3 (GSM 04.08). The basic functionality will be to scan the channels, then receive information on the BCCH, listen on the paging channel, respond to paging, generate messages for the RACH and more...
Add picture from clipboard (Maximum size: 48.8 MB)