summaryrefslogtreecommitdiffstats
path: root/src/sccp_codec.erl
AgeCommit message (Collapse)AuthorFilesLines
2012-04-16add compatibility clause for Erlang Public LicenseHarald Welte1-0/+14
This is required to make sure that even if somebody thinks the erlang OTP libraries and my code form a derivative work, there will be no licensing conflict.
2012-01-24SCCP codec: fix parsing of CC message option partHarald Welte1-2/+3
2012-01-23sccp codec: correctly parse and encode CR message variable/optional partHarald Welte1-17/+84
2012-01-23sccp codec: ensure correct encoding of 'undefined' point codeHarald Welte1-6/+3
2012-01-18SCCP Codec: don't include 'encoding' in sccp_addr{}Harald Welte1-3/+3
The Encoding parameter really only tells us about the odd/even number of digits, and that information is already present as the list of digits in the decoded address.
2011-12-10sccp_codec: make sure we also accept list input, not just binaryHarald Welte1-5/+10
2011-12-08sccp_codec: it's "undefined", not "undef"Harald Welte1-5/+5
2011-12-08SCCP: support encoding of non-integer pointcodes (auto conversion)Harald Welte1-2/+5
2011-12-08sccp: addr helper functions for quick generation of GT/sccp_addrHarald Welte1-0/+21
2011-10-12sccp_codec: SCCP point codes are little-endian !Harald Welte1-2/+2
we parsed and generated them as big-endian so far, which is wrong.
2011-04-21SCCP: move is_connectionless/1 to sccp_codecHarald Welte1-1/+16
2011-04-15SCCP: Make protocol_class proplist item a tuple of {Class, Options}Harald Welte1-16/+18
2011-04-14SCCP Codec: Add some defaults for undefined fields in encodingHarald Welte1-1/+13
2011-04-04Move #primitive{} into osmo_util.erl/hrlHarald Welte1-1/+1
2011-04-02SCCP: add export_records()Harald Welte1-0/+3
2011-03-11SCCP: Add support for UDTS encoding (and proper decoding)Harald Welte1-3/+30
2011-02-06[SCCP] correctly encode global title odd/even number of digitsHarald Welte1-4/+12
2011-02-03[SCCP] use SCCP address decoder, add SCCP address encoderHarald Welte1-7/+66
2011-02-03[SCCP] introduce sccp_addr{} and global_title{} recordsHarald Welte1-31/+32
2011-01-23[SCCP] Add (untested) parser routines for SCCP addresses (GT/SSN/PC)Harald Welte1-0/+72
We re-use the phone number digit parsing code from ISUP
2010-12-20SCCP Codec: Consistently indicate all LocalReferences as big-endianHarald Welte1-28/+28
2010-12-20SCCP codec: consistently use seq_segm, not segm_seqHarald Welte1-1/+1
2010-12-20SCCP codec: Add encoding routines for more message typesHarald Welte1-7/+75
2010-12-19initial commit of Erlang SCCP implementationHarald Welte1-0/+183
This code is my humble attempt to implement the most important parts of the Q.71x specifcations in Erlang. The process tree is trying to model the SCCP reference model as closely as psosible. The SCRC and SCOC entities are implemented as OTP gen_fsm behavior. SCLC is not implemented as separate state machine to reduce the number of processes and message passing between them SCMC is not implemented at all. Each MTP (or other transport link) has one SCRC instance and as many SCOC instances as there are connection-oriented SCCP sessions on this link. There is no support for Global Title Translation (GTT) as of now.