Review at https://gerrit.osmocom.org/6890
Osmocom_Types: Add c_UINT16_MAX / c_UINT32_MAX Change-Id: I99f3b08b07a46042a8c1e13a420743c58e94603b --- M library/Osmocom_Types.ttcn 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/90/6890/1 diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn index 1766a40..713acc9 100644 --- a/library/Osmocom_Types.ttcn +++ b/library/Osmocom_Types.ttcn @@ -25,6 +25,10 @@ type integer uint14_t (0..16383) with { variant "unsigned 14 bit" }; type integer uint15_t (0..32767) with { variant "unsigned 15 bit" }; + + const uint16_t c_UINT16_MAX := 65535; + const uint32_t c_UINT32_MAX := 4294967295; + type record Arfcn { boolean pcs, uint15_t arfcn -- To view, visit https://gerrit.osmocom.org/6890 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I99f3b08b07a46042a8c1e13a420743c58e94603b Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>