uint32_t EI_API_ADP_setEncapInactTimeout | ( | T * | pAdp_p, |
uint16_t | encapInactTimeout_p | ||
) |
Set the current adapter encapsulation inactivity timeout (Instance Attribute ID: 13).
This function sets the adapter encapsulation inactivity timeout. The unit is in seconds. Valid values are:
Value | Description |
---|---|
0 | Disable |
1 - 3600 (default = 120) | Timeout in seconds |
[in] | pAdp_p | Pointer to the adapter. |
[in] | encapInactTimeout_p | The encapsulation inactivity timeout in seconds. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |