summaryrefslogtreecommitdiffstats
path: root/library/Osmocom_Types.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-28 13:30:24 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-28 13:30:24 +0200
commit484160bf217300452166ec2eda09fed06f93e5aa (patch)
tree52f6d57bad2d2e84d71952b6f155c0047aca50ce /library/Osmocom_Types.ttcn
parent9a8f503f9ab85c309de8fc348186ac3b6c58b1d1 (diff)
library: Initial work on GPRS RLC/MAC encoder/decoder
For Downlink and Uplink RLC/MAC Control blocks this is already working quite nicely. Data blocks is not working, as their encoding cannot be expressed in TTCN-3 RAW syntax, and a mixture of C++/native and RAW-generated coder will be required.
Diffstat (limited to 'library/Osmocom_Types.ttcn')
-rw-r--r--library/Osmocom_Types.ttcn1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn
index 0c26f02..484f6d1 100644
--- a/library/Osmocom_Types.ttcn
+++ b/library/Osmocom_Types.ttcn
@@ -1,6 +1,7 @@
module Osmocom_Types {
type integer uint8_t (0..255) with { variant "unsigned 8 bit" };
type integer uint16_t (0..65535) with { variant "unsigned 16 bit" };
+ type integer uint24_t (0..16777215) with { variant "unsigned 24 bit" };
type integer uint32_t (0..4294967295) with { variant "unsigned 32 bit" };
type integer int8_t (-128..127) with { variant "8 bit" };