Host Name

Host name feature allows a target host to configure a name for itself. This may be used to uniquely identify the target in a system or network of inter-connected hosts. The CPU host name feature is available only if CPU_CFG_NAME_EN is DEF_ENABLED in cpu_cfg.h.

Host Name Configuration

The following µC/CPU host name configurations must be configured in cpu_cfg.h :

CPU_CFG_NAME_EN

Includes code to set and get a configured CPU host name. This feature may be configured to either DEF_DISABLED or DEF_ENABLED.

CPU_CFG_NAME_SIZE

Configures the maximum CPU name size (in number of ASCII characters, including the terminating NULL character).