DFU Bootloader version (please complete the following information):
- SDK version: N/A
- Bonding used: N/A
- Library version: 4.11.1
Device information (please complete the following information):
Your question
Waiting on PR#396 to expose the initPacket as public through the DFUFirmware class. In the meantime, I have forked the repo, made the change locally and continued my testing and development. I am unsure as to how best to dissect the information stored in the initPacket with my current interest being the type field.
I have been utilizing the protobuf message definitions listed in Nordic's nrfutil repo here. The current workflow I'm attempting is as follows, select my DFU Package -> create my DFUFirmware object in code through the DFUManager-> if successful then deserialize the initPacket into the InitCommand to find the packet type (**) -> continue with the rest of the DFU as normal.
(**) This deserialization into the protobuf structure is successful however I cannot seem to extract the type out of the initPacket which I have confirmed as .externalApplication through nrfutil pkg display command.
DFU Bootloader version (please complete the following information):
Device information (please complete the following information):
Your question
Waiting on PR#396 to expose the initPacket as public through the
DFUFirmwareclass. In the meantime, I have forked the repo, made the change locally and continued my testing and development. I am unsure as to how best to dissect the information stored in theinitPacketwith my current interest being thetypefield.I have been utilizing the protobuf message definitions listed in Nordic's nrfutil repo here. The current workflow I'm attempting is as follows, select my DFU Package -> create my
DFUFirmwareobject in code through theDFUManager-> if successful then deserialize the initPacket into theInitCommandto find the packet type (**) -> continue with the rest of the DFU as normal.(**) This deserialization into the protobuf structure is successful however I cannot seem to extract the type out of the
initPacketwhich I have confirmed as.externalApplicationthroughnrfutil pkg displaycommand.