public static String formatSceneNumber(final int number, final boolean add0x) {
        return add0x ?
                "0x" + String.format(Locale.US, "%04X", number) :
                String.format(Locale.US, "%04X", number);
    }
Formats the scene number in to a 4 character hexadecimal String

@param number Scene number
@param add0x  Sets "0x" as prefix if set to true or false otherwise
mesh/src/main/java/no/nordicsemi/android/mesh/Scene.java