| uint32_t EI_API_ADP_setHostName | ( | T * | pAdp_p, |
| const char * | pHostName_p | ||
| ) |
Set the host name (Instance Attribute ID: 6).
Function that sets the host name of the adapter selected by parameter pAdp_p.
pHostName_p exceeds 64 characters it will be truncated before being written to the internal adapter structures and a warning EI_API_ADP_eERR_LENGTH is returned.| [in] | pAdp_p | Pointer to the adapter. |
| [in] | pHostName_p | Pointer to new host name as NULL terminated cstring. |
| EI_API_ADP_eERR_OK | Success. |
| EI_API_ADP_eERR_GENERAL | General error. |
| EI_API_ADP_eERR_LENGTH | Illegal parameter length, parameter pHostName_p is truncated. |