Accelerate3g5 -- benoit » History » Version 7

« Previous - Version 7/10 (diff) - Next » - Current version
benoit, 10/06/2017 10:00 PM

Accelerate3g5 -- benoit


Benoit Michau, email contact: michau[dot]benoit[at]gmail[dot]com


Provide a 3G and 4G core network entirely written in Python, mainly for testing handsets easily and smoothly.


A 4G core network has already been developed, based on an old library (libmich).
It is available here:
The intention is to develop a new framework with a clean API,
a wider Python support (both 2.7 and 3.4+), a complete ASN.1 compiler and runtime,
and the additional protocol handlers for RUA / RANAP and 2G-3G NAS.


The new framework is available here:
It currently proposes:
- a complete ASN.1 compiler and runtime (with BER/CER/DER/(U)PER encoders and decoders)
- a large set of ASN.1 libraries, ready to be used
- a CSN.1 translater and runtime for encoding and decoding
- 24.008 MM, GMM and IE encoders and decoders
- A signaling server to handle Iuh interface

Some results (october 2017)

The pycrate_corenet subdirectory has a server handling connections from HNB over IuH.
It supports connecting / disconnecting femtocells and UE with HNBAP.
It supports RUA to transport RANAP transactions for both CS and PS domains.
It supports enough of RANAP to have the attachment and mobility of UE through the femtocells.
It supports mobility procedures from the TS 24.008 for both the CS and PS domains.

As a result, it is possible to connect UEs to the signaling server, through femtocells:
- CS procedures supported: location update, IMSI detach, paging and all MM common procedures
- PS procedures supported: attach, routing area update, detach, paging and all GMM common procedures

A wiki has been started here:
Basic information on how to configure and run the server will follow soon.

Questions raised during the development

- How to configure a lower global Tx level in the femtocell statically ?
I have currently a temporary solution, which consists in using the web server of the femtocell
exposing some configuration parameters. For this, we need to replace the .htaccess file of the
web server.

Add picture from clipboard (Maximum size: 48.8 MB)