classdef blePacketDecodeStatus < int16
%blePacketDecodeStatus Enumeration to indicate the status of Bluetooth LE
%packet decoding
%   STATUS = blePacketDecodeStatus.<ENUMVALUE> creates an enumeration with
%   the value specified by the ENUMVALUE. Valid values for ENUMVALUE are
%   indicated below.
%
%   blePacketDecodeStatus properties (enumeration values):
%
%   Success (0)                                   - Packet decoding succeeded
%   CRCFailed (-1)                                - Link Layer PDU is corrupted
%   LLPDULengthMismatch (-2)                      - Length field mismatches with actual PDU length
%   InvalidLLPeripheralLatency (-3)               - Invalid Peripheral latency
%   InvalidLLConnectionTimeout (-4)               - Invalid connection timeout
%   InvalidLLWindowSize (-5)                      - Invalid window size
%   InvalidLLWindowOffset (-6)                    - Invalid window offset
%   InvalidLLConnectionInterval (-7)              - Invalid connection interval
%   InvalidLLChannelMap (-8)                      - Invalid channel map
%   IncompleteLLAdvertisingChannelPDU (-51)       - Insufficient octets in advertising channel PDU
%   InvalidLLHopIncrement (-52)                   - Invalid hop increment value
%   InvalidLLAdvertisingDataLength (-53)          - Invalid advertising data
%   InvalidLLScanResponseDataLength (-54)         - Invalid scan response data 
%   UnsupportedLLAdvertisingPDUType (-55)         - Unsupported advertising channel PDU
%   IncompleteLLDataChannelPDU (-101)             - Insufficient octets in data channel PDU
%   InvalidLLID (-102)                            - Invalid LLID
%   UnsupportedLLOpCode (-103)                    - Unsupported opcode
%   InvalidLLErrorCode (-104)                     - Invalid error code
%   InvalidBluetoothVersion (-105)                - Invalid version
%   ExpectedNonZeroPayload (-106)                 - Non-zero payload expected
%   MICNotSupported (-107)                        - Payload contains MIC
%   InvalidGAPADLength (-201)                     - GAP AD (Advertising Data) length is not valid
%   MismatchGAPADLength (-202)                    - Received AD length mismatches with actual length
%   UnsupportedGAPADType (-203)                   - Advertising Data type is not valid or not supported
%   InvalidGAPAdvertisingInterval (-204)          - Advertising interval is not valid
%   InvalidGAPConnectionIntervalRange (-205)      - Invalid connection intervals
%   InvalidGAPConnectionIntervalMinimum (-206)    - Invalid interval minimum
%   InvalidGAPConnectionIntervalMaximum (-207)    - Invalid interval maximum
%   InvalidL2CAPConnectionIntervalRange (-301)    - Invalid connection intervals
%   InvalidL2CAPPeripheralLatency (-302)          - Invalid Peripheral latency
%   InvalidLECredits (-303)                       - Invalid LE (Low Energy) credits
%   L2CAPSegmentationUnsupported (-304)           - Segmentation is not supported
%   MismatchL2CAPHeaderLength (-305)              - Length mismatches with actual length
%   IncompleteL2CAPDataFrame (-306)               - L2CAP data frame is not sufficient to decode
%   InvalidL2CAPChannelIdentifier (-307)          - Invalid L2CAP channel identifier
%   InvalidL2CAPCommand (-308)                    - Invalid L2CAP command code
%   InvalidL2CAPCommandRejectReason (-309)        - Invalid command reject reason code
%   InvalidL2CAPParameterUpdateResult (-310)      - Invalid parameters update result
%   InvalidL2CAPConnectionResult (-311)           - Invalid connection result code
%   IllegalL2CAPSignalIdentifier (-312)           - Illegal signal identifier in L2CAP
%   InvalidL2CAPConnectionIntervalMinimum (-313)  - Invalid interval minimum
%   InvalidL2CAPConnectionIntervalMaximum (-314)  - Invalid interval maximum
%   InvalidL2CAPConnectionTimeout (-315)          - Invalid connection timeout
%   InvalidLEPSM (-316)                           - Invalid LE protocol/service multiplexer
%   InvalidL2CAPChannelMTU (-317)                 - Invalid maximum transmission unit
%   InvalidL2CAPChannelMPS (-318)                 - Invalid maximum PDU payload size
%   InvalidL2CAPSDULength (-319)                  - Invalid SDU length
%   MismatchL2CAPSignalFrameLength (-320)         - Length mismatches with actual length
%   IncompleteL2CAPSignalFrame (-321)             - L2CAP signal frame is not valid or not sufficient
%   UnsupportedATTOpcode (-401)                   - Invalid ATT Opcode
%   IncompleteATTPDU (-402)                       - Incomplete ATT PDU
%   InvalidATTReqOpcodeInErrorResp (-403)         - Invalid RequestOpcode in "Error Response" PDUs
%   InvalidATTErrorCode (-404)                    - Invalid ErrorCode
%   InvalidATTRxMTU (-405)                        - Invalid Rx MTU
%   InvalidAttributeHandleRange (-406)            - Invalid Attribute Handle Range
%   InvalidAttributeType (-407)                   - Invalid AttributeType
%   InvalidATTExecuteWriteFlag (-408)             - Invalid ExecuteWriteFlag
%   MismatchAttributeDataLength (-409)            - Length mismatches with actual length
%   InvalidATTDataFormat (-410)                   - Invalid Data Format
%
%   % Example 1:
%   %   Use an enumeration value 'Success'.
%
%     status = blePacketDecodeStatus.Success;
%
%     % Enum value can be compared using either number or string.
%     if (status == 0) && strcmp(status, 'Success') && ...
%           (status == "Success") && (status == blePacketDecodeStatus.Success)
%       fprintf('Comparison can be done using a number, string or an enum.\n');
%     end
%
%   See also bleLLDataChannelPDUDecode, bleL2CAPFrameDecode.

%   Copyright 2018--2021 The MathWorks, Inc.

%#codegen
    
enumeration
    %Success Packet decoding succeeded
    % Success is mapped to the value 0. It specifies that the Bluetooth(R)
    % low energy (LE) packet decoding is succeeded.
    Success (0)

    %---------------Enumeration values common for Link Layer--------------%
    
    %CRCFailed Link Layer PDU is corrupted
    %   CRCFailed is mapped to the value -1. It specifies that the received
    %   Link Layer PDU is corrupted and CRC validation failed.
    CRCFailed (-1)
    
    %LLPDULengthMismatch Length field mismatches with actual PDU length
    %   LLPDULengthMismatch is mapped to the value -2. It specifies that
    %   the 'Length' field in the received PDU does not match the actual
    %   length of the received payload.
    LLPDULengthMismatch (-2)
    
    %InvalidLLPeripheralLatency Invalid Peripheral latency
    %   InvalidLLPeripheralLatency is mapped to the value -3. It specifies
    %   that the 'PeripheralLatency' field in the received PDU must an
    %   integer in the range [0, Msl], where Msl is the lesser of 499 and
    %   ((<a
    %   href="matlab:help('bleLLControlPDUConfig.ConnectionTimeout')">ConnectionTimeout</a>*10)/((<a
    %   href="matlab:help('bleLLControlPDUConfig.ConnectionInterval')">ConnectionInterval</a>*1.25)*2))-1.
    %   Refer Bluetooth Core Specification v5.0 | Vol 6, Part B, Section
    %   4.5.1.
    InvalidLLPeripheralLatency (-3)
    
    %InvalidLLConnectionTimeout Invalid connection timeout
    %   InvalidLLConnectionTimeout is mapped to the value -4. It specifies
    %   that the 'ConnectionTimeout' field in the received PDU must be an
    %   integer in the range [Mct, 3200], where Mct is the larger of 10 and
    %   ((1+<a
    %   href="matlab:help('bleLLControlPDUConfig.PeripheralLatency')">PeripheralLatency</a>)*(<a
    %   href="matlab:help('bleLLControlPDUConfig.ConnectionInterval')">ConnectionInterval</a>*1.25)*2)/10.
    %   Refer Bluetooth Core Specification v5.0 | Vol 6, Part B, Section
    %   4.5.2.
    InvalidLLConnectionTimeout (-4)
    
    %InvalidLLWindowSize Invalid window size
    %   InvalidLLWindowSize is mapped to the value -5. It specifies that
    %   the 'WindowSize' field in the received PDU must be an integer in
    %   the range [1, Mws], where Mws is the lesser of 8 and (<a
    %   href="matlab:help('bleLLControlPDUConfig.ConnectionInterval')">ConnectionInterval</a>-1).
    %   Refer Bluetooth Core Specification v5.0 | Vol 6, Part B, Section
    %   4.5.3.
    InvalidLLWindowSize (-5)
    
    %InvalidLLWindowOffset Invalid window offset
    %   InvalidLLWindowOffset is mapped to the value -6. It specifies that
    %   the 'WindowOffset' field in the received PDU must be an integer in
    %   the range [0, Mwo], where Mwo is the lesser of 3200 and <a
    %   href="matlab:help('bleLLControlPDUConfig.ConnectionInterval')">ConnectionInterval</a>.
    %   Refer Bluetooth Core Specification v5.0 | Vol 6, Part B, Section
    %   4.5.3.
    InvalidLLWindowOffset (-6)
    
    %InvalidLLConnectionInterval Invalid connection interval
    %   InvalidLLConnectionInterval is mapped to the value -7. It specifies
    %   that the 'ConnectionInterval' field in the received PDU must be an
    %   integer in the range [6, 3200].
    InvalidLLConnectionInterval (-7)
    
    %InvalidLLChannelMap Invalid channel map
    %   InvalidLLChannelMap is mapped to the value -8. It specifies that
    %   the received channel map contains less than two good channels. It
    %   must have at least two good channels.
    InvalidLLChannelMap (-8)
    
    %-----Enumeration values for Link Layer advertising channel PDUs------%
        
    %IncompleteLLAdvertisingChannelPDU Insufficient octets in advertising
    %channel PDU
    %   IncompleteLLAdvertisingChannelPDU is mapped to the value -51. It
    %   specifies that the received advertising channel PDU does not
    %   contain enough data to decode the PDU.
    IncompleteLLAdvertisingChannelPDU (-51)
    
    %InvalidLLHopIncrement Invalid hop increment value
    %   InvalidLLHopIncrement is mapped to the value -52. It specifies that
    %   the 'HopIncrement' field in the received PDU must be an integer in
    %   the range of [5, 16].
    InvalidLLHopIncrement (-52)
    
    %InvalidLLAdvertisingDataLength Invalid advertising data
    %   InvalidLLAdvertisingDataLength is mapped to the value -53. It
    %   specifies that the valid size of GAP AD(Advertising Data) for
    %   advData field in 'Advertising indication', 'Advertising non
    %   connectable indication', 'Advertising scan indication' must be in
    %   the range of [0, 31] octets.
    InvalidLLAdvertisingDataLength (-53)
    
    %InvalidLLScanResponseDataLength Invalid scan response data
    %   InvalidLLScanResponseDataLength is mapped to the value -54. It
    %   specifies that the valid size of GAP SRD(ScanResponseData) for
    %   ScanRspData field in 'Scan response' must be in the range of [0,
    %   31] octets.
    InvalidLLScanResponseDataLength (-54)
    
    %UnsupportedLLAdvertisingPDUType Unsupported advertising channel PDU
    %   UnsupportedLLAdvertisingPDUType is mapped to the value -55. It
    %   specifies that received PDU type is unsupported. Supported PDU type
    %   codes are 0, 1, 2, 3, 4, 5 and 6.
    UnsupportedLLAdvertisingPDUType (-55)
    
    %--------Enumeration values for Link Layer data channel PDUs----------%
    
    %IncompleteLLDataChannelPDU Insufficient octets in data channel PDU
    %   IncompleteLLDataChannelPDU is mapped to the value -101. It
    %   specifies that the received data channel PDU does not contain
    %   enough data to decode the PDU.
    IncompleteLLDataChannelPDU (-101)
    
    %InvalidLLID Invalid LLID
    %   InvalidLLID is mapped to the value -102. It specifies that the
    %   received value (0), for the LLID must be in the range [1, 3].
    InvalidLLID (-102)
    
    %UnsupportedLLOpCode Unsupported opcode
    %   UnsupportedLLOpCode is mapped to the value -103. It specifies that
    %   the received Opcode is not supported. Supported values are 0, 1, 2,
    %   7, 12 and 13.
    UnsupportedLLOpCode (-103)
    
    %InvalidLLErrorCode Invalid error code
    %   InvalidLLErrorCode is mapped to the value -104. It specifies that
    %   received error code is invalid. Refer Bluetooth core specification
    %   v5.0 | Vol-2, Part-D for a complete list of valid error codes.
    InvalidLLErrorCode (-104)
    
    %InvalidBluetoothVersion Invalid version number
    %   InvalidBluetoothVersion  is mapped to the value -105. It specifies
    %   that the received version code must contain values 6, 7, 8 and 9
    %   indicating Bluetooth versions '4.0', '4.1', '4.2' and '5.0'
    %   respectively.
    InvalidBluetoothVersion  (-105)
    
    %ExpectedNonZeroPayload Non-zero payload expected
    %   ExpectedNonZeroPayload is mapped to the value -106. It specifies
    %   that the received data channel PDU does not contain payload. A data
    %   channel PDU with LLID value 'Data (start fragment/complete)' must
    %   have a non-zero payload.
    ExpectedNonZeroPayload (-106)
    
    %MICNotSupported Payload contains MIC
    %   MICNotSupported is mapped to the value -107. It specifies that the
    %   received payload contains MIC (Message Integrity Check). MIC is not
    %   supported.
    MICNotSupported (-107)
    
    %---------------Enumeration values common for GAP---------------------%
    
    %InvalidGAPADLength GAP AD length is not valid
    % InvalidGAPADLength is mapped to the value -201. It specifies that the
    % Bluetooth LE GAP advertising data length is not valid or not
    % sufficient to decode. Length will vary based on AD type. Decoded AD
    % length is not sufficient or not valid to decode the received AD type.
    InvalidGAPADLength (-201)
    
    %MismatchGAPADLength Received AD length mismatches with actual length
    % MismatchGAPADLength is mapped to the value -202. It specifies that
    % 'Length' field in the received advertising data does not match the
    % number of bytes received for the corresponding AD type.
    MismatchGAPADLength (-202)
    
    %UnsupportedGAPADType AD type is not valid or not supported
    % UnsupportedGAPADType is mapped to the value -203. It specifies that
    % the received hexadecimal value for GAP advertising data type is not
    % valid or not supported. Supported hexadecimal values for advertising
    % data type are '01', '02', '03', '08', '09', '0A', '12' and '1A'.
    UnsupportedGAPADType (-203)
    
    %InvalidGAPAdvertisingInterval Advertising interval is not valid
    % InvalidGAPAdvertisingInterval is mapped to the value -204. It
    % specifies that the received advertising interval is not valid.
    % Advertising interval must be in the range of 32 to 65535.
    InvalidGAPAdvertisingInterval (-204)
    
    %InvalidGAPConnectionIntervalRange Connection intervals are not valid
    % InvalidGAPConnectionIntervalRange is mapped to the value -205. It
    % specifies that the connection intervals (minimum and maximum) are not
    % valid at GAP. Connection interval minimum must be less than or equal
    % to connection interval maximum.
    InvalidGAPConnectionIntervalRange (-205)
    
    %InvalidGAPConnectionIntervalMinimum Invalid interval minimum
    % InvalidGAPConnectionIntervalMinimum is mapped to the value -206. It
    % specifies that the received connection interval minimum is not valid
    % at GAP. Valid range for connection interval minimum is 6 to 3200.
    InvalidGAPConnectionIntervalMinimum (-206)
    
    %InvalidGAPConnectionIntervalMaximum Invalid interval maximum
    % InvalidGAPConnectionIntervalMaximum is mapped to the value -207. It
    % specifies that the received connection interval maximum is not valid
    % at GAP. Valid range for connection interval maximum is 6 to 3200.
    InvalidGAPConnectionIntervalMaximum (-207)
    
    %---------------Enumeration values common for L2CAP-------------------%
    
    %InvalidL2CAPConnectionIntervalRange Invalid connection interval range
    % InvalidL2CAPConnectionIntervalRange is mapped to the value -301. It
    % specifies that the minimum value of the connection interval range is
    % greater than the maximum value of the connection interval range.
    % Minimum connection interval must be less than or equal to maximum
    % connection interval.
    InvalidL2CAPConnectionIntervalRange (-301)

    %InvalidL2CAPPeripheralLatency Invalid Peripheral latency
    % InvalidL2CAPPeripheralLatency is mapped to the value -302. It
    % specifies that the received Peripheral latency is not valid.
    % Peripheral latency must be in the range of [0, Msl], where Msl is the
    % lessor of 499 and ((ConnSupervisionTimeout/(ConnIntervalMax*2))-1).
    % Refer Bluetooth Core Specification v5.0 | Vol 3, PART A, Section
    % 4.20.
    InvalidL2CAPPeripheralLatency (-302)

    %InvalidLECredits Invalid LE credits
    % InvalidLECredits is mapped to the value -303. It specifies that the
    % received number of credits (0) is not valid. For the command type
    % 'Flow Control Credit', the valid range is [1, 65535]. For other
    % command types the valid range is [0, 65535].
    InvalidLECredits (-303)

    %L2CAPSegmentationUnsupported Segmentation is not supported
    % L2CAPSegmentationUnsupported is mapped to the value -304. It
    % specifies that the Segmentation and Reassembly feature in L2CAP is
    % not supported.
    L2CAPSegmentationUnsupported (-304)

    %MismatchL2CAPHeaderLength Length is mismatches with the actual length
    % MismatchL2CAPHeaderLength is mapped to the value -305. It specifies
    % that the 'Length' field of L2CAP header in the received frame does
    % not match the number of bytes received.
    MismatchL2CAPHeaderLength (-305)

    %IncompleteL2CAPDataFrame Insufficient data to decode L2CAP data frame
    % IncompleteL2CAPDataFrame is mapped to the value -306. It specifies
    % that the received L2CAP data frame does not contain enough data to
    % decode.
    IncompleteL2CAPDataFrame (-306)

    %InvalidL2CAPChannelIdentifier Invalid L2CAP channel identifier
    % InvalidL2CAPChannelIdentifier is mapped to the value -307. It
    % specifies that the L2CAP channel ID in the Bluetooth LE packet is not
    % valid. Refer Bluetooth Core Specification v5.0, Vol 3, PART A,
    % Section 3.1 for valid range.
    InvalidL2CAPChannelIdentifier (-307)

    %InvalidL2CAPCommand Invalid L2CAP command code
    % InvalidL2CAPCommand is mapped to the value -308. It specifies that
    % the received value for L2CAP signal/command is not valid. Valid
    % values are '01', '06', '07', '12', '13', '14', '15' and '16' in
    % hexadecimal format.
    InvalidL2CAPCommand (-308)

    %InvalidL2CAPCommandRejectReason Invalid command reject reason code
    % InvalidL2CAPCommandRejectReason is mapped to the value -309. It
    % specifies that the received value for L2CAP command reject reason is
    % not valid. Valid values are '0000', '0001' and '0002' in hexadecimal
    % format.
    InvalidL2CAPCommandRejectReason (-309)

    %InvalidL2CAPParameterUpdateResult Invalid parameters update result
    % InvalidL2CAPParameterUpdateResult is mapped to the value -310. It
    % specifies that the received value for L2CAP Connection Parameters
    % Update Result is not valid. Valid values are '0000' and '0001' in
    % hexadecimal format.
    InvalidL2CAPParameterUpdateResult (-310)

    %InvalidL2CAPConnectionResult Invalid connection result code
    % InvalidL2CAPConnectionResult is mapped to the value -311. It
    % specifies that the received value for L2CAP Connection Result is not
    % valid. Valid values are '0000', '0002', '0004', '0005', '0006',
    % '0007', '0008', '0009', '000A' and '000B' in hexadecimal format.
    InvalidL2CAPConnectionResult (-311)

    %IllegalL2CAPSignalIdentifier Illegal signal identifier
    % IllegalL2CAPSignalIdentifier is mapped to the value -312. It
    % specifies that the received value ('00') for L2CAP signal identifier
    % is illegal to use. Valid range for signal identifier is [1, 255].
    IllegalL2CAPSignalIdentifier (-312)

    %InvalidL2CAPConnectionIntervalMinimum Invalid interval minimum
    % InvalidL2CAPConnectionIntervalMinimum is mapped to the value -313. It
    % specifies that the received value for minimum connection interval is
    % not valid. Valid range for minimum connection interval is [6, 3200].
    InvalidL2CAPConnectionIntervalMinimum (-313)

    %InvalidL2CAPConnectionIntervalMaximum Invalid interval maximum
    % InvalidL2CAPConnectionIntervalMaximum is mapped to the value -314. It
    % specifies that the received value for maximum connection interval is
    % not valid. Valid range for maximum connection interval is [6, 3200].
    InvalidL2CAPConnectionIntervalMaximum (-314)

    %InvalidL2CAPConnectionTimeout Invalid connection timeout
    % InvalidL2CAPConnectionTimeout is mapped to the value -315. It
    % specifies that the received connection timeout value is not valid.
    % Valid range for connection timeout is [10, 3200].
    InvalidL2CAPConnectionTimeout (-315)

    %InvalidLEPSM Invalid LE protocol/service multiplexer
    % InvalidLEPSM is mapped to the value -316. It specifies that the
    % received LE PSM is not valid. Valid range for LE PSM is [1, 255].
    InvalidLEPSM (-316)

    %InvalidL2CAPChannelMTU Invalid maximum transmission unit
    % InvalidL2CAPChannelMTU is mapped to the value -317. It specifies that
    % the received MTU is not valid. L2CAP implementations shall support a
    % minimum MTU size of 23 octets. Valid range for MTU is [23, 65535].
    InvalidL2CAPChannelMTU (-317)

    %InvalidL2CAPChannelMPS Invalid maximum PDU payload size
    % InvalidL2CAPChannelMPS is mapped to the value -318. It specifies that
    % the received MPS is not valid. L2CAP implementations shall support a
    % minimum MPS of 23 octets. Valid range for MPS is [23, 65535].
    InvalidL2CAPChannelMPS (-318)

    %InvalidL2CAPSDULength Invalid SDU length
    % InvalidL2CAPSDULength is mapped to the value -319. It specifies that
    % the received SDU length is not valid. Valid range for SDU length is
    % [0, 65533].
    InvalidL2CAPSDULength (-319)

    %MismatchL2CAPSignalFrameLength Length mismatches with actual length
    % MismatchL2CAPSignalFrameLength is mapped to the value -320. It
    % specifies that the value in the 'Length' field of the L2CAP signal
    % frame does not match with the actual length.
    MismatchL2CAPSignalFrameLength (-320)

    %IncompleteL2CAPSignalFrame L2CAP signal frame is not valid or not
    %sufficient
    % IncompleteL2CAPSignalFrame is mapped to the value -321. It specifies
    % that the received L2CAP signal frame is not valid or not sufficient
    % to decode. L2CAP signal frame format will vary based on the signaling
    % command type.
    IncompleteL2CAPSignalFrame (-321)
    
    %---------------Enumeration values common for ATT---------------------%
    
    %UnsupportedATTOpcode Invalid ATT Opcode
    % UnsupportedATTOpcode is mapped to the value -401. It specifies that
    % the received Opcode is not valid, The supported opcodes are '01',
    % '02', '03', '04', '06', '08', '0A', '0B', '0C', '0D', '10', '12',
    % '13', '52', '16', '17', '18', '19', '1B', '1D', '1E', '05', '07',
    % '09' and '11'.
    UnsupportedATTOpcode (-401)

    %IncompleteATTPDU Incomplete ATT PDU
    % IncompleteATTPDU is mapped to the value -402. It specifies that the
    % received ATT PDU is incomplete.
    IncompleteATTPDU (-402)

    %InvalidATTReqOpcodeInErrorResp Invalid RequestOpcode in "Error
    %Response" PDUs
    % InvalidATTReqOpcodeInErrorResp is mapped to the value -403. It
    % specifies that the received RequestOpcode is not valid. Valid values
    % are '02', '04', '06', '08', '0A', '0C', '0E', '10', '12', '16' and
    % '18'.
    InvalidATTReqOpcodeInErrorResp (-403)

    %InvalidATTErrorCode Invalid ErrorCode
    % InvalidATTErrorCode is mapped to the value -404. It specifies that
    % the received ErrorCode is not valid. The supported error codes are
    % '01', '02', '03', '04', '05', '06', '07', '08', '09', '0A', '0B',
    % '0C', '0D', '0E', '0F, '10', '11'.
    InvalidATTErrorCode (-404)

    %InvalidATTRxMTU Invalid Rx MTU
    % InvalidATTRxMTU is mapped to the value -405. It specifies that the
    % received RxMTU is not valid. The valid value must be in the range
    % [23, 65535].
    InvalidATTRxMTU (-405)

    %InvalidAttributeHandleRange Invalid Attribute Handle Range
    % InvalidAttributeHandleRange is mapped to the value -406. It specifies
    % that the received Starting Handle and Ending Handle values are not
    % valid. Starting Handle value must be less than or equal to Ending
    % Handle value.
    InvalidAttributeHandleRange (-406)

    %InvalidAttributeType Invalid AttributeType
    % InvalidAttributeType is mapped to the value -407. It specifies that
    % the received AttributeType is not valid.
    InvalidAttributeType (-407)

    %InvalidATTExecuteWriteFlag Invalid ExecuteWriteFlag 
    % InvalidATTExecuteWriteFlag is mapped to the value -408. It specifies
    % that the received ExecuteWriteFlag is not valid, valid value must be
    % either '00' or '01'.
    InvalidATTExecuteWriteFlag (-408)

    %MismatchAttributeDataLength Invalid AttributeDataLength
    % MismatchAttributeDataLength is mapped to the value -409. It
    % specifies that the received AttributeDataLength value does not match
    % with the received bytes in the PDU.
    MismatchAttributeDataLength (-409)

    %InvalidATTDataFormat Invalid Data Format
    % InvalidATTDataFormat is mapped to the value -410. It specifies that
    % the received Data Format is not valid. Valid value must be either
    % '01' or '02'.
    InvalidATTDataFormat (-410)
end
end

