setCustomUuidsForSecureDfu

open fun setCustomUuidsForSecureDfu(@Nullable dfuServiceUuid: UUID, @Nullable dfuControlPointUuid: UUID, @Nullable dfuPacketUuid: UUID): DfuServiceInitiator

Sets custom UUIDs for Secure DFU. Use this method if your DFU implementation uses different UUID for at least one of the given UUIDs. Parameter set to null will reset the UUID to the default value.

Return

the builder

Parameters

dfuServiceUuid

custom Secure DFU service UUID or null, if default is to be used

dfuControlPointUuid

custom Secure DFU Control Point characteristic UUID or null,if default is to be used

dfuPacketUuid

custom Secure DFU Packet characteristic UUID or null, if defaultis to be used