             peripheral.start()
         } else {
             error(.remoteLegacyDFUInvalidState, didOccurWithMessage:
-                "Peripheral is in an invalid state, please try to reset and start over again.")
+                  "Peripheral is in an invalid state, please try to reset and start over again.")
         }
     }
     

        } else {
            // Operation can not be continued.
            error(.remoteLegacyDFUNotSupported, didOccurWithMessage:
                "Updating Softdevice or Bootloader is not supported")
        }
    }


        // received by the DFU target before sending a new Packet Receipt Notification.
        // After receiving status Success it will send the firmware.
        peripheral.sendFirmware(firmware,
            withPacketReceiptNotificationNumber: initiator.packetReceiptNotificationParameter,
            andReportProgressTo: initiator.progressDelegate,
            on: initiator.progressDelegateQueue
        )
    }
}
