 |
EtherNet/IP™ Adapter3.07.03 |
 |
|
◆ EI_API_ADP_setLldpParameter()
Set attribute values in LLDP Management Object (ID 0x0109).
Function that sets the required attributes in the LLDP Management Object (ID 0x0109) Attributes 1 (LLDP Enable), 2 (msgTxInterval) and 3 (msgTxHold) of the adapter selected by parameter pAdp_p
.
- Parameters
-
[in] | pAdp_p | Pointer to the adapter. |
[in] | lldpParameter_p | New LLDP parameter. |
- Returns
- EI_API_ADP_EError_t as uint32_t value.
- Return values
-
- Example
#include "EI_API.h"
EI_API_ADP_T* pEI_API_ADP = NULL;
uint32_t errCode;
uint8_t numInterfaces = 1;
- See also
- EI_API_ADP_getLldpParameter EI_API_ADP_EError_t
union EI_API_ADP_SLldp_Parameter::@3 enableArray
uint32_t EI_API_ADP_setLldpParameter(T *pAdp_p, EI_API_ADP_SLldp_Parameter_t lldpParameter)
Set attribute values in LLDP Management Object (ID 0x0109).
Definition: EI_API_ADP_stub.c:5168
uint8_t msgTxHold
Definition: EI_API_def.h:300
Nonvolatile attribute parameter of LLDP Management object.
Definition: EI_API_def.h:284
uint8_t allBits
Definition: EI_API_def.h:289
uint16_t enableArrayLength
Definition: EI_API_def.h:286
uint16_t msgTxInterval
Definition: EI_API_def.h:298
ETHIP_API T * EI_API_ADP_new(uint8_t numInterfaces_p)
Create a new EtherNet/IP adapter.
Definition: EI_API_ADP_stub.c:235