NRFUTIL class

The main class for this sdk.

To generate the zip file with all the information to send to a device via OTA

NRFUTIL(
  mode = NRFUtilMode.release,
  this.hardwareVersion = 0xFFFFFFFF,
  this.applicationVersion = 0xFFFFFFFF,
  this.bootloaderVersion = 0xFFFFFFFF,
  this.softDeviceReqType = SoftDeviceTypes.s132NRF52d611,
  this.bootValidationTypeArray = const [ValidationType.VALIDATE_SHA256],
  Signing? signer,
  this.applicationFirmware,
  this.bootloaderFirmware,
  this.softDeviceFirmware,
  this.keyFile,
).generate();

Constructors

NRFUTIL({NRFUtilMode mode = NRFUtilMode.release, int hardwareVersion = 0xFFFFFFFF, int applicationVersion = 0xFFFFFFFF, int bootloaderVersion = 0xFFFFFFFF, SoftDeviceTypes softDeviceReqType = SoftDeviceTypes.s132NRF52d611, List<ValidationType> bootValidationTypeArray = const [ValidationType.validateSHA256], Signing? signer, String? applicationFirmware, String? bootloaderFirmware, String? softDeviceFirmware, String? keyFile, String? comment, bool verbose = false})

Properties

applicationFirmware ↔ String?
getter/setter pair
applicationVersion ↔ int
getter/setter pair
bootloaderFirmware ↔ String?
getter/setter pair
bootloaderVersion ↔ int
getter/setter pair
bootValidationTypeArray ↔ List<ValidationType>
getter/setter pair
comment ↔ String?
getter/setter pair
firmwaresData ↔ dynamic
getter/setter pair
hardwareVersion ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
imageType ↔ int
getter/setter pair
keyFile ↔ String?
getter/setter pair
manufacturerId ↔ int
getter/setter pair
mode ↔ NRFUtilMode
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signer ↔ Signing
getter/setter pair
sofDeviceReq ↔ int
getter/setter pair
softDeviceFirmware ↔ String?
getter/setter pair
softDeviceReqType ↔ SoftDeviceTypes
getter/setter pair
verbose ↔ bool
getter/setter pair
zipFile ↔ String
getter/setter pair

Methods

generate() → Future<Uint8List>
Generates the zip file with all the information to send to a device via OTA
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited