![]() |
Network Component
Version 7.5.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - SNTP Client functions. More...
Functions | |
__STATIC_INLINE void | EvrNetSNTP_InitClient (uint8_t mode) |
Event on SNTP client initialize (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetSocketFailed (void) |
Event on SNTP failed to allocate UDP socket (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTime (uint8_t mode) |
Event on netSNTPc_GetTime (API) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTimeInvalidParameter (void) |
Event on netSNTPc_GetTime invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTimeWrongState (uint8_t state) |
Event on netSNTPc_GetTime wrong client state (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTimeOpen (const uint8_t *ip4_addr) |
Event on netSNTPc_GetTime open broadcast receive (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTimeClose (void) |
Event on netSNTPc_GetTime close broadcast receive (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_GetTimeServerUnknown (const uint8_t *ip4_addr) |
Event on netSNTPc_GetTime unknown server for unicast mode (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_SetMode (uint8_t mode) |
Event on netSNTPc_SetMode (API) More... | |
__STATIC_INLINE void | EvrNetSNTP_SetModeInvalidParameter (void) |
Event on netSNTPc_SetMode invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_SetModeWrongState (uint8_t state) |
Event on netSNTPc_SetMode wrong client state (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_SendMessage (const uint8_t *ip4_addr) |
Event on SNTP send message to NTP server (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_ServerNotResponding (const uint8_t *ip4_addr) |
Event on SNTP send message timeout (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_ReceiveFrame (const uint8_t *ip4_addr, uint32_t length) |
Event on SNTP receive frame (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_WrongServerPort (uint16_t udp_port) |
Event on SNTP wrong server port (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_FrameTooShort (uint32_t length, uint32_t min_length) |
Event on SNTP received frame is too short (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_WrongServerAddress (const uint8_t *ip4_addr) |
Event on SNTP wrong NTP server address (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_ModeNotServer (uint8_t mode) |
Event on SNTP message mode not server (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_ModeNotBroadcast (uint8_t mode) |
Event on SNTP message mode not broadcast (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_AnswerInWrongState (uint8_t state) |
Event on SNTP answer received in wrong state (Error) More... | |
__STATIC_INLINE void | EvrNetSNTP_ShowTimeStamp (uint32_t ref_time, uint32_t utc_time) |
Event on SNTP display time stamp in seconds (Op) More... | |
__STATIC_INLINE void | EvrNetSNTP_TimeStampInvalid (uint32_t ref_time) |
Event on SNTP invalid time stamp (Op) More... | |
Events generated by the Network - SNTP Client functions.
__STATIC_INLINE void EvrNetSNTP_AnswerInWrongState | ( | uint8_t | state | ) |
Event on SNTP answer received in wrong state (Error)
state | client state
|
__STATIC_INLINE void EvrNetSNTP_FrameTooShort | ( | uint32_t | length, |
uint32_t | min_length | ||
) |
Event on SNTP received frame is too short (Error)
length | frame length in bytes |
min_length | minimum length of the frame |
__STATIC_INLINE void EvrNetSNTP_GetSocketFailed | ( | void | ) |
Event on SNTP failed to allocate UDP socket (Error)
__STATIC_INLINE void EvrNetSNTP_GetTime | ( | uint8_t | mode | ) |
Event on netSNTPc_GetTime (API)
mode | operation mode of the client
|
__STATIC_INLINE void EvrNetSNTP_GetTimeClose | ( | void | ) |
Event on netSNTPc_GetTime close broadcast receive (Op)
__STATIC_INLINE void EvrNetSNTP_GetTimeInvalidParameter | ( | void | ) |
Event on netSNTPc_GetTime invalid parameter (Error)
__STATIC_INLINE void EvrNetSNTP_GetTimeOpen | ( | const uint8_t * | ip4_addr | ) |
Event on netSNTPc_GetTime open broadcast receive (Op)
ip4_addr | pointer to IPv4 address of NTP server |
__STATIC_INLINE void EvrNetSNTP_GetTimeServerUnknown | ( | const uint8_t * | ip4_addr | ) |
Event on netSNTPc_GetTime unknown server for unicast mode (Error)
ip4_addr | pointer to IPv4 address of NTP server |
__STATIC_INLINE void EvrNetSNTP_GetTimeWrongState | ( | uint8_t | state | ) |
Event on netSNTPc_GetTime wrong client state (Error)
state | client state
|
__STATIC_INLINE void EvrNetSNTP_InitClient | ( | uint8_t | mode | ) |
Event on SNTP client initialize (Op)
mode | operation mode of the client
|
__STATIC_INLINE void EvrNetSNTP_ModeNotBroadcast | ( | uint8_t | mode | ) |
Event on SNTP message mode not broadcast (Error)
mode | message mode
|
__STATIC_INLINE void EvrNetSNTP_ModeNotServer | ( | uint8_t | mode | ) |
Event on SNTP message mode not server (Error)
mode | message mode
|
__STATIC_INLINE void EvrNetSNTP_ReceiveFrame | ( | const uint8_t * | ip4_addr, |
uint32_t | length | ||
) |
Event on SNTP receive frame (Op)
ip4_addr | pointer to IPv4 address of the server |
length | frame length in bytes |
__STATIC_INLINE void EvrNetSNTP_SendMessage | ( | const uint8_t * | ip4_addr | ) |
Event on SNTP send message to NTP server (Op)
ip4_addr | pointer to IPv4 address of NTP server |
__STATIC_INLINE void EvrNetSNTP_ServerNotResponding | ( | const uint8_t * | ip4_addr | ) |
Event on SNTP send message timeout (Op)
ip4_addr | pointer to IPv4 address of NTP server |
__STATIC_INLINE void EvrNetSNTP_SetMode | ( | uint8_t | mode | ) |
Event on netSNTPc_SetMode (API)
mode | operation mode of the client
|
__STATIC_INLINE void EvrNetSNTP_SetModeInvalidParameter | ( | void | ) |
Event on netSNTPc_SetMode invalid parameter (Error)
__STATIC_INLINE void EvrNetSNTP_SetModeWrongState | ( | uint8_t | state | ) |
Event on netSNTPc_SetMode wrong client state (Error)
state | client state
|
__STATIC_INLINE void EvrNetSNTP_ShowTimeStamp | ( | uint32_t | ref_time, |
uint32_t | utc_time | ||
) |
Event on SNTP display time stamp in seconds (Op)
ref_time | reference time (since Jan 1, 1900) |
utc_time | utc time (since Jan 1, 1970) |
__STATIC_INLINE void EvrNetSNTP_TimeStampInvalid | ( | uint32_t | ref_time | ) |
Event on SNTP invalid time stamp (Op)
ref_time | reference time (since Jan 1, 1900) |
__STATIC_INLINE void EvrNetSNTP_WrongServerAddress | ( | const uint8_t * | ip4_addr | ) |
Event on SNTP wrong NTP server address (Error)
ip4_addr | pointer to IPv4 address of NTP server |
__STATIC_INLINE void EvrNetSNTP_WrongServerPort | ( | uint16_t | udp_port | ) |
Event on SNTP wrong server port (Error)
udp_port | wrong UDP port number |