setCustomUuidsForExperimentalButtonlessDfu

open fun setCustomUuidsForExperimentalButtonlessDfu(@Nullable buttonlessDfuServiceUuid: UUID, @Nullable buttonlessDfuControlPointUuid: UUID): DfuServiceInitiator

Sets custom UUIDs for the experimental Buttonless DFU Service from SDK 12.x. 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.

Remember to call setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled with parameter true if you intent to use this service.

Return

the builder

Parameters

buttonlessDfuServiceUuid

custom Buttonless DFU service UUID or null, if defaultis to be used

buttonlessDfuControlPointUuid

custom Buttonless DFU characteristic UUID or null,if default is to be used