Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public data for DFUFirmware #396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ import Foundation
@objc public class DFUFirmware : NSObject, DFUStream {
internal let stream: DFUStream?

/// The firmware data to be sent to the DFU target.
open var data: Data? {
return stream?.data
}

/// The name of the firmware file.
@objc public let fileName: String?
/// The URL to the firmware file.
Expand Down