TOP

Error Codes

Applies to: NAS/C++ LTE/EPC r16.7.0 v8.2.0-8.2.1
Code Error Description
0
OSSNAS_OK
(no error)
1
OSSNAS_InputParameterStructPointerNull
A null pointer to parameters was provided as input.
2
OSSNAS_InconsistentInputParameters
Inconsistent parameters provided as input.
3
OSSNAS_InsufficientVariableSpaceSize
Insufficient variable space size specified as input.
4
OSSNAS_InsufficientMaxNumberOfOptionalIEs
Insufficient maximum number of optional information elements specified as input.
5
OSSNAS_DecodedDataBufferAddressNull
The address of the decoded data buffer provided as input is null.
6
OSSNAS_EncodedDataBufferAddressNull
The address of the encoded data buffer provided as input is null.
7
OSSNAS_AuxiliaryBufferAddressNull
The address of the auxiliary data buffer provided as input is null.
8
OSSNAS_ControlDataBufferAddressNull
The address of the control data buffer provided as input is null.
9
OSSNAS_DecodedDataBufferAddressMisaligned
The address of the decoded data buffer provided as input is misaligned.
10
OSSNAS_EncodedDataBufferAddressMisaligned
The address of the encoded data buffer provided as input is misaligned.
11
OSSNAS_AuxiliaryBufferAddressMisaligned
The address of the auxiliary data buffer provided as input is misaligned.
12
OSSNAS_ControlDataBufferAddressMisaligned
The address of the control data buffer provided as input is misaligned.
13
OSSNAS_InvalidPDUNumberInInputParameterStruct
The PDU number provided as input is invalid.
14
OSSNAS_InvalidDataInControlDataBlock
Invalid data detected in the control data block.
15
OSSNAS_IncorrectFragmentLengthDetectedInEncodedData
An incorrect fragment length for a sequence-of type was detected in the encoded data.
16
OSSNAS_InvalidFragmentLengthDetectedInEncodedData
An invalid fragment length for a sequence-of type was detected in the encoded data.
17
OSSNAS_AttemptToReadPastEndOfEncodedData
Attempt to read past the end of the encoded data.
18
OSSNAS_AttemptToWritePastEndOfEncodedDataBuffer
Attempt to write beyond the end of the encoded data buffer.
19
OSSNAS_AttemptToPeekBeyondEndOfEncodedData
Attempt to read a field beyond the end of the encoded data.
20
OSSNAS_AttemptToPokeBeyondEndOfEncodedData
Attempt to modify a field beyond the end of the encoded data
21
OSSNAS_AttemptToSetCursorBeyondEndOfEncodedDataBuffer
Attempt to set the current position beyond the end of the encoded data buffer.
22
OSSNAS_AttemptToAllocateBlockBeyondEndOfDecodedDataBuffer
Attempt to allocate a block beyond the end of the decoded data buffer.
23
OSSNAS_AttemptToAllocateFrameBeyondEndOfContextStack
Attempt to allocate a new stack frame beyond the end of the context stack.
24
OSSNAS_AttemptToWritePastEndOfXMLOutputBuffer
Attempt to write beyond the end of the XML output buffer.
25
OSSNAS_UnexpectedOrMissingIEIDetectedInEncodedData
Unexpected or missing information element ID was detected in the encoded data.
26
OSSNAS_IELBelowLowerBoundDetectedInEncodedData
An information element shorter than its minimum allowed length was detected in the encoded data.
27
OSSNAS_IELAboveUpperBoundDetectedInEncodedData
An information element longer than its maximum allowed length was detected in the encoded data.
28
OSSNAS_IEShorterThanItsIELDetectedInEncodedData
An information element shorter than the length indicated in its IEL field was detected in the encoded data.
29
OSSNAS_IELongerThanItsIELDetectedInEncodedData
An information element longer than the length indicated in its IEL field was detected in the encoded data.
30
OSSNAS_IELFieldNotWideEnough
The IEL field of an information element is not wide enough to contain the length of the information element.
31
OSSNAS_LengthOfIEBelowIELLowerBound
An information element is shorter than its minimum allowed length.
32
OSSNAS_LengthOfIEAboveIELUpperBound
An information element is longer than its maximum allowed length.
33
OSSNAS_ChoiceIndexIncompatibleWithOriginatorDetectedInEncodedData
A choice alternative incompatible with the message originator was detected in the encoded data.
34
OSSNAS_ChoiceIndexIncompatibleWithOriginator
A choice selector incompatible with the message originator was found in the data to be encoded.
35
OSSNAS_UnsupportedNumberOfOptionalComponentsInSequenceDefinition
The sequence type definition has a number of optional components that is unsupported).
36
OSSNAS_LengthOfSubsequentFragmentTooLargeDetectedInEncodedData
An invalid fragment length for a sequence-of type was detected in the encoded data.
37
OSSNAS_InvalidChoiceIndexDetectedInEncodedData
An invalid choice index was detected in the encoded data.
38
OSSNAS_InvalidChoiceIndex
An invalid choice selector was found in the data to be encoded.
39
OSSNAS_UnsupportedChoiceIndexSizeDetectedInEncodedData
An unsupported choice index was detected in the encoded data.
40
OSSNAS_UnsupportedChoiceIndexDetectedInEncodedData
An unsupported choice index was detected in the encoded data.
41
OSSNAS_InvalidSequenceOfLengthDetectedInEncodedData
An invalid sequence-of value length was detected in the encoded data.
42
OSSNAS_InvalidSequenceOfLength
An invalid sequence-of value length was found in the data to be encoded.
43
OSSNAS_TooFewSequenceOfBodyChunksProvided
The number of sequence-of elements provided is less than the total length specified.
44
OSSNAS_InvalidNullTypeValue
An invalid null type value was found in the data to be encoded.
45
OSSNAS_InvalidBooleanTypeValue
An invalid boolean type value was found in the data to be encoded.
46
OSSNAS_InvalidEnumerationIndexDetectedInEncodedData
An invalid enumeration index was detected in the encoded data.
47
OSSNAS_InvalidEnumerationIndex
An invalid enumeration index was found in the data to be encoded.
48
OSSNAS_UnsupportedEnumerationIndexSizeDetectedInEncodedData
An unsupported enumeration index was detected in the encoded data.
49
OSSNAS_UnsupportedEnumerationIndexDetectedInEncodedData
An unsupported enumeration index was detected in the encoded data.
50
OSSNAS_InvalidIntegerValue
An invalid integer value was found in the data to be encoded.
51
OSSNAS_InvalidIndexValueDetectedInEncodedData
An invalid index value was detected in the encoded data.
52
OSSNAS_UnsupportedIntegerValueSizeDetectedInEncodedData
An unsupported integer value was detected in the encoded data.
53
OSSNAS_NullTerminatorNotFoundInString
A character string without a null terminator was found in the data to be encoded.
54
OSSNAS_InvalidStringLengthDetectedInEncodedData
An invalid length for an octet bit or character string was detected in the encoded data.
55
OSSNAS_InvalidStringLength
An invalid length for an octet bit or character string was found in the data to be encodedn.
56
OSSNAS_InvalidCharacterInStringDetectedInEncodedData
A character string containing an invalid character was detected in the encoded data.
57
OSSNAS_InvalidCharacterInString
A character string containing an invalid character was found in the data to be encoded.
58
OSSNAS_AttemptToReadOutsideDecodedDataBufferRange
Attempt to read a field outside the range of the decoded data.
59
OSSNAS_InvalidChoiceSelectionDetectedInEncodedData
Invalid choice selection value detected in encoded data.
60
OSSNAS_ForbidViolation 
A forbidden value was found in the data to be encoded.
61
OSSNAS_ForbidViolationDetectedInEncodedData
A forbidden value was detected in the encoded data.
62
OSSNAS_RequireViolationDetectedInEncodedData
A value different from a required value was detected in the encoded data.
63
OSSNAS_ValueToBeInterpretedAsAnotherValueDetected
InEncodedData
A value required to be interpreted as another value was detected in the encoded data.
64
OSSNAS_DuplicateIEDetectedInEncodedData
A duplicate information element was detected in the encoded data.
65
OSSNAS_UnknownIEDetectedInEncodedData
An unknown information element was detected in the encoded data.
66
OSSNAS_OutOfSequenceIEDetectedInEncodedData
An out-of-sequence information element was detected in the encoded data.
67
OSSNAS_InvalidIEInEncodedDataDiscarded
An invalid optional information element present in the encoded data was discarded.
68
OSSNAS_InvalidIEInEncodedDataNotDiscarded
An invalid optional information element with one or more recoverable conditions was not discarded.
69
OSSNAS_DecodedDataIncompleteDueToUnresolvedCriticalCondition
The decoded data is incomplete due to an unresolved critical condition occurred during the decode operation.
70
OSSNAS_AttemptToWritePastEndOfJSONOutputBuffer
Attempt to write beyond the end of the JSON output buffer.
71
OSSNAS_TooShortMessage
Too short message
1025
OSSNAS_BAD_ARG
Bad argument.
1026
OSSNAS_UnableToAllocateMemory
Unable to allocate memory required by the operation.
1027
OSSNAS_NoSuitablePlugInFound 
No plug-in supporting the specified version of NAS was found.
1028
OSSNAS_UnableToVerifyLicenseInformation 
Unable to verify licensing information for this copy of the OSS NAS API.
1029
OSSNAS_UseNotAuthorized
The use of this copy of the OSS NAS API is not authorized.
2001
OSSNAS_MORE_BUF
The user-provided output buffer is too small.
2002
OSSNAS_NEGATIVE_UINTEGER
An integer value that was constrained to be greater than 0 is negative.
2003
OSSNAS_PDU_RANGE
Internal error.
2004
OSSNAS_MORE_INPUT
The end of the input message was prematurely reached.
2005
OSSNAS_DATA_ERROR
The encoded message is structurally invalid.
2008
OSSNAS_OUT_MEMORY
Out of memory.
2009
OSSNAS_BAD_CHOICE
Internal error.
2010
OSSNAS_LIMITED
The implementation limit was exceeded. For example, an integer value was too large.
2017
OSSNAS_CONSTRAINT_VIOLATED
The number of elements or the value is out of bounds.
2023
OSSNAS_UNAVAIL_ENCRULES
Internal error.


This documentation applies to the OSS NAS Tools for C++ for LTE/EPC v8.2.0-8.2.1 for 3GPP Release 16.7.0.

Copyright © 2024 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the OSS NAS Tools for C++ for LTE/EPC is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS NAS Tools for C++ for LTE/EPC are available to you.