You're reading the documentation for an older, but still supported version (GL013300).
For information on the latest version, please have a look at GL013301.

PACKAGE_NETWORK_UPDATE

This structure defines parameters used for performing a network-based package update on the controller. It specifies the update targets, network type, server information, and file name for remote update operations.

BYTE#

Field Name

Data Type

Value

Remarks

0

_iTarget

unsigned char[UPDATE_TARGET_LAST]

Update target flag array
0: non-update
1: update
The number of elements is defined by UPDATE_TARGET_LAST.

10

_iNetType

unsigned char

0 ~ 1

Network type selection
0: TFTP, 1: SAMBA

11

_szIpAddress

char[16]

TFTP or SAMBA server IP address

27

_szFileName

char[MAX_STRING_SIZE]

File name of the package to be updated

Total size: 283 bytes

Defined in: DRFS.h

typedef struct _PACKAGE_NETWORK_UPDATE
{
    /* 0: non-update, 1:  update */
    unsigned char                _iTarget[UPDATE_TARGET_LAST];
    /* ttfp: 0, samba: 1 */
    unsigned char                _iNetType;
    /* tftp server Ip address */
    char                         _szIpAddress[16];
    /* file name */
    char                         _szFileName[MAX_STRING_SIZE];

} PACKAGE_NETWORK_UPDATE, *LPPACKAGE_NETWORK_UPDATE;