Skip to content

jussimalinen/Rammbock-Erlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erlang prototyping for Rammbock.

To compile tools:
1. Launch erlang shell
> erl
2. compile
c("percompile").
c("readfile").

To compile S1AP files:
1. Load compiler
l(percompile).
2. Compile asn.1 specification set
percompile:compile("s1apasn/S1AP.set.asn").

To decode a binary message:
1. load the compiled S1AP module
l('S1AP).
2. load the readfile module
l('readfile').
3. read the binary message
Bin = readfile:readfile("binaries/initiatingMessage.s1").
4. decode
'S1AP':decode('S1AP-PDU', Bin).

For more information on Erlang asn.1 handling see http://www.erlang.org/doc/apps/asn1/asn1_ug.html and http://www.erlang.org/documentation/doc-5.2/lib/asn1-1.4/doc/html/asn1ct.html

About

Prototyping use of Erlang for asn.1 handling in Rammbock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages