Configurations#

Macros#

#define
SL_WISUN_OTA_DFU_AUTO_INSTALL_ENABLED 1U

Enable auto reboot and install.

#define
SL_WISUN_OTA_DFU_GBL_FILE "wisun_firmware.gbl"

Firmware image (gbl) file name.

#define
SL_WISUN_OTA_DFU_HOST_ADDR "2001:db8::1"

TFTP service listening address.

#define
SL_WISUN_OTA_DFU_HOST_NOTIFY_ENABLED 1U

Enable host notification.

#define
SL_WISUN_OTA_DFU_NOTIFY_DOWNLOAD_CHUNK_CNT 10U

Count of received chunk to notify in download task.

#define
SL_WISUN_OTA_DFU_NOTIFY_HOST_ADDR "2001:db8::1"

OTA DFU notification server address.

#define
SL_WISUN_OTA_DFU_NOTIFY_PORT 5683U

OTA DFU Host notification listener port.

#define
SL_WISUN_OTA_DFU_NOTIFY_URI_PATH "/ota/dfu_notify"

OTA DFU notification resource URI path.

#define
SL_WISUN_OTA_DFU_STACK_SIZE_WORD 360UL

OTA DFU service stack size in CPU word.

#define
SL_WISUN_OTA_DFU_STORAGE_SLOT_ID 0U

Storage slot ID.

#define
SL_WISUN_OTA_DFU_TFTP_DATA_BLOCK_SIZE 1228U

TFTP data block size.

#define
SL_WISUN_OTA_DFU_TFTP_PORT 69U

TFTP service listener port.

#define
SL_WISUN_OTA_DFU_TFTP_TIMEOUT_SEC 8U

TFTP server retransmission timeout in seconds.

#define
SL_WISUN_OTA_DFU_URI_PATH "/ota/dfu"

OTA DFU resource URI path.

#define
SL_WISUN_OTA_DFU_VERBOSE_MODE_ENABLED 0U

Enable verbose mode.