![]() |
nRF51 SDK - S310 SoftDevice
|
Structure contained in an init packet. Contains information on device type, revision, and supported SoftDevices. More...
#include <dfu_init.h>
Data Fields | |
| uint16_t | device_type |
| uint16_t | device_rev |
| uint32_t | app_version |
| uint16_t | softdevice_len |
| uint16_t | softdevice [1] |
Structure contained in an init packet. Contains information on device type, revision, and supported SoftDevices.
| uint32_t dfu_init_packet_t::app_version |
Application version for the image software. This field allows for additional checking, for example ensuring that a downgrade is not allowed.
| uint16_t dfu_init_packet_t::device_rev |
Device revision (2 bytes), for example major revision 1, minor revision 0. This number must be defined by the customer before production. It can be located in UICR or FICR.
| uint16_t dfu_init_packet_t::device_type |
Device type (2 bytes), for example Heart Rate. This number must be defined by the customer before production. It can be located in UICR or FICR.
| uint16_t dfu_init_packet_t::softdevice[1] |
Variable length array of SoftDevices compatible with this application. The length of the array is specified in the length field. SoftDevice firmware id 0xFFFE indicates any SoftDevice.
| uint16_t dfu_init_packet_t::softdevice_len |
Number of different SoftDevice revisions compatible with this application. The list of SoftDevice firmware IDs is defined in softdevice.