SCPUpdateComponent
Objective-C
enum SCPUpdateComponent : NSUInteger {}
Swift
struct UpdateComponent : OptionSet, @unchecked Sendable
A bitmask identifying what exact updates are contained within this update.
Note that the time estimates documented here are for each individual piece. Updates
will often contain multiple components together. Check the durationEstimate
to
see how long the entire update process is expected to take for all components.
-
If set, the update contains incremental changes to the reader. If this is the only component being updated, the
deviceSoftwareVersion
will not differ from the existing installed version. Incremental updates should take less than 1 minute.Declaration
Objective-C
SCPUpdateComponentIncremental = 1 << 0
Swift
static var incremental: UpdateComponent { get }
-
If set, this update contains updated firmware for this reader. Firmware updates can take 5 to 15 minutes.
Declaration
Objective-C
SCPUpdateComponentFirmware = 1 << 1
Swift
static var firmware: UpdateComponent { get }
-
If set, this update contains a new configuration for this reader. These may contain regional changes or other card network updates. Configuration updates are expected to take 1 to 2 minutes.
Declaration
Objective-C
SCPUpdateComponentConfig = 1 << 2
Swift
static var config: UpdateComponent { get }
-
If set, this update contains updated encryption keys for the reader. Updating keys should take less than 1 minute.
Declaration
Objective-C
SCPUpdateComponentKeys = 1 << 3
Swift
static var keys: UpdateComponent { get }