@Override
    void parseStatusParameters() {
        int offset = 0;
        SensorFormat sensorFormat;
        int length;
        short propertyId;
        while (offset < mParameters.length) {
            final int octet0 = mParameters[offset++] & 0xFF;
            final int octet1 = mParameters[offset++] & 0xFF;
            sensorFormat = SensorFormat.from((byte) ((octet0) & 0x01));
            switch (sensorFormat) {
                case FORMAT_A:
                    length = ((octet0 & 0x1E) >> 1) + 1; // zero based
                    propertyId = (short) ((octet1 << 3) | ((octet0) >> 5));
                    break;
                case FORMAT_B:
                    final int octet2 = mParameters[offset++] & 0xFF;
                    final int tempLength = ((octet0 & 0xFE) >> 1);
                    length = tempLength == 0x7F ? 0 : tempLength;
                    propertyId = (short) (octet2 | octet1);
                    break;
                default:
                    throw new IllegalArgumentException("Invalid data");
            }
            final MarshalledPropertyId marshalledPropertyId = new MarshalledPropertyId(sensorFormat, length, DeviceProperty.from(sensorFormat, propertyId));
            final byte[] raw = Arrays.copyOfRange(mParameters, offset, offset + length);
            final MarshalledSensorData marshalledSensorData = new MarshalledSensorData(marshalledPropertyId, raw);
            MeshLogger.debug(TAG, "Result: " + marshalledSensorData.toString());
            marshalledSensorDataList.add(marshalledSensorData);
            offset += length;
        }
    }
Constructs the GenericOnOffStatus mMessage.

@param message Access Message
mesh/src/main/java/no/nordicsemi/android/mesh/transport/SensorStatus.java