Retrieves the Network Frame Counter, which is the number of frames since reset.
- Parameters
-
self | The instance |
reference | The reference value that shall be delivered by result_fptr .
|
result_fptr | Result callback. |
- Returns
- Possible return values are shown in the table below.
Value | Description |
UCS_RET_SUCCESS | No error |
UCS_RET_ERR_PARAM | The parameter self is NULL. |
UCS_RET_ERR_BUFFER_OVERFLOW | No message buffer is available. |
UCS_RET_ERR_API_LOCKED | API is currently locked. |
UCS_RET_ERR_NOT_SUPPORTED | API is not supported in the current Network Supervisor Mode. |
UCS_RET_ERR_NOT_INITIALIZED | UNICENS is not initialized. |