uint32_t EI_API_ADP_setDeviceType | ( | T * | pAdp_p, |
uint16_t | deviceType_p | ||
) |
Set the adapter Device Type (Instance Attribute ID: 2).
Function that sets the device type of the adapter selected by parameter pAdp_p
. For a list of defined public device profiles and their device type see THE CIP NETWORKS LIBRARY Volume 1: Common Industrial Protocol Specification, Chapter 6: Device Profiles.
[in] | pAdp_p | Pointer to the adapter. |
[in] | deviceType_p | New device type. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |