private static int encode(@NonNull final byte[] netKeyIndex) {
        return ByteBuffer.wrap(netKeyIndex).order(ByteOrder.BIG_ENDIAN).getShort();
    }
Parses the status parameters returned by a status message
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ConfigStatusMessage.java