You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.8 KiB
Markdown

11 years ago
libLTE
11 years ago
========
11 years ago
libLTE is a free and open-source LTE library for SDR UE and eNodeB. The library does not rely on any external dependencies or frameworks.
11 years ago
11 years ago
The license is LGPLv3.
11 years ago
The project contains a set of Python tools for the automatic code generation of modules for popular SDR frameworks, including GNURadio, ALOE++, IRIS, and OSSIE. These tools are easy to use and adapt for generating targets for specific platforms or frameworks.
11 years ago
Current Status
===============
The following parts are available:
10 years ago
* Physical Channels: PBCH, PCFICH, PDCCH, PHICH, PDSCH eNodeB and UE side
11 years ago
* Synchronization and CFO estimation/correction
* Equalization
10 years ago
* UE receiver (MIB + SIB1 decoding) verified with live LTE signals
11 years ago
Hardware
========
10 years ago
The library currently uses Ettus Universal Hardware Driver (UHD). Thus, any hardware supported by UHD can be used. There is no sampling rate conversion, therefore the hardware should support 30.72 MHz clock in order to work correctly with LTE sampling frequencies and decode signals from live LTE base stations. We are using the B210 USRP.
11 years ago
11 years ago
11 years ago
Download & Install Instructions
=================================
11 years ago
* Requirements: Currently, the library requires libfftw, although we plan make this dependency optional in the future. Also, QT4 and Qwt6 are needed for graphics visualization. Compilation is possible without QT4, although graphics will be disabled.
11 years ago
11 years ago
To install QT4, Qwt6 and libfftw use your distribution packet management system, for instance in ubuntu you can run: `sudo apt-get install libfftw3-dev libqwt-dev libqt4-dev` to install all requirements.
11 years ago
11 years ago
Finally, to download and build libLTE, just run:
11 years ago
```
git clone https://github.com/ismagom/libLTE.git
cd libLTE
mkdir build
cd build
cmake ../
make
```
11 years ago
The library can also be installed using the command ```sudo make install```.
11 years ago
PHY Examples
11 years ago
==========
11 years ago
11 years ago
* eNodeB and UE PBCH example
11 years ago
11 years ago
Setup one or two computers connected to two USRP or UHD-compatible hardware. From the eNodeB, type
11 years ago
11 years ago
```
10 years ago
lte/phy/examples/pdsch_enodeb -f [frequency_in_Hz] -c [cell_id] [-a [UHD args]] [-h for more commands]
11 years ago
```
11 years ago
11 years ago
From the UE, type
11 years ago
```
10 years ago
lte/phy/examples/pdsch_ue -f [frequency_in_Hz] [-a [UHD args]] [-h for more commands]
11 years ago
```
11 years ago
And the output should look something like the following video. In this example, we removed the transmitter and receiver antennas in the middle of the demonstration, showing how reception is still possible (despite with some erros).
https://www.dropbox.com/s/txh1nuzdb0igq5n/demo_pbch.ogv
![Screenshopt of the PBCH example output](pbch_capture.png "Screenshopt of the PBCH example output")
11 years ago
10 years ago
The SIB1 message is decoded and shown on the console, for example:
```
Decoded SIB1 Message: [40 48 50 03 02 0b 14 4a 30 18 28 20 90 81 84 79 a0 00 ];
```
11 years ago
11 years ago
Support
========
Mailing list: https://lists.sourceforge.net/lists/listinfo/liblte-users