EtherNet/IP™ Adapter  1.04.06
User Reference Manual

◆ EI_API_ADP_setTimeSyncManufactureID()

uint32_t EI_API_ADP_setTimeSyncManufactureID ( T pAdp_p,
const char *  pManufactureID_p 
)

Set the ManufactureIdentity attribute of the Time Sync object of the adapter (Instance Attribute ID: 20).

ManufactureIdentity specifies the manufacture identity of the clock. The first 3 octets specify the IEEE OUI (Organization Unigue Id) for the manufacturer. The last octet is reserved.

Remarks
Parameters
[in]pAdp_pPointer to the adapter.
[in]pManufactureID_pNew uint8_t array of manufacture ID.
Returns
EI_API_ADP_EError_t as uint32_t value.
Return values
EI_API_ADP_eERR_OKSuccess.
EI_API_ADP_eERR_GENERALGeneral error.
Example
#include <api/EI_API.h>
EI_API_ADP_T* pEI_API_ADP = NULL;
uint32_t errCode;
uint8_t numInterfaces = 1;
// http://standards-oui.ieee.org/oui.txt
// C8-3E-A7 (hex) KUNBUS GmbH
// C83EA7 (base 16) KUNBUS GmbH
// Heerweg 15C
// Denkendorf BW D-73770
// DE
char manufactureID[4] = "\xC8\x3E\xA7\x00";
pEI_API_ADP = EI_API_ADP_new(numInterfaces);
errCode = EI_API_ADP_setTimeSyncManufactureID(pEI_API_ADP, mnaufactureID);
See also
EI_API_ADP_getTimeSyncManufactureID EI_API_ADP_EError_t
EI_API_ADP_setTimeSyncManufactureID
ETHIP_API uint32_t EI_API_ADP_setTimeSyncManufactureID(T *pAdp_p, const char *pManufactureID_p)
Set the ManufactureIdentity attribute of the Time Sync object of the adapter (Instance Attribute ID: ...
Definition: EI_API_ADP_main.c:2636
EI_API_ADP_new
ETHIP_API T * EI_API_ADP_new(uint8_t numInterfaces_p)
Create a new EtherNet/IP adapter.
Definition: EI_API_ADP_main.c:235