I have implemented a bootloader without BLE that simply transfers softdevice/application/bootloader from external flash to the internal flash, performs usual validation and copy.
To avoid the possible incompatibility between the stored softdevice+bootloader and the stored application, I want to precheck that the stored softdevice+bootloader is compatible with the sd-requirements of the application.
I discussed this plan in a previous thread about 1 month ago. https://devzone.nordicsemi.com/f/nordic-q-a/59706/any-way-for-nrfconnect-for-desktop-to-dfu-sd_bl-app-without-reset-or-disconnect
I am just now trying to implement this check but I have hit a snag... I don't see any indication of the sd-id in the init_cmd. Since I am installing a softdevice+bootloader, the fw_version is reporting the bootloader version. I considered using the value stored in the sd-req field, however its possible this field would contain multiple values.
Is it possible to get the sd-id value that was provided to nrfutil pkg generate from the init command?
Is there anyway to look into the softdevice data and extract the softdevice ID, for example is it stored in a fixed location?
Or is it the case that the only way to get the softdevice ID is to activate it and then check the SDID in the MBR?