![]() |
Network Component
Version 7.8.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - SMTP Client functions. More...
Functions | |
__STATIC_INLINE void | EvrNetSMTP_InitClient (void) |
Event on SMTP client initialize (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_GetSocketFailed (void) |
Event on SMTP client failed to allocate TCP socket (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_ConnectIp4 (const void *net_addr) |
Event on SMTP client netSMTPc_Connect to IPv4 server (API) More... | |
__STATIC_INLINE void | EvrNetSMTP_ConnectIp6 (const void *net_addr) |
Event on SMTP client netSMTPc_Connect to IPv6 server (API) More... | |
__STATIC_INLINE void | EvrNetSMTP_ConnectInvalidParameter (void) |
Event on netSMTPc_Connect invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_ConnectClientBusy (void) |
Event on netSMTPc_Connect failed, client busy (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMail (uint8_t num_rcpt) |
Event on SMTP client netSMTPc_SendMail to mail server (API) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailInvalidParameter (void) |
Event on netSMTPc_SendMail invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailTlsNotEnabled (void) |
Event on netSMTPc_SendMail secure TLS not enabled (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailClientBusy (void) |
Event on netSMTPc_SendMail failed, client busy (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailNoRecipients (void) |
Event on netSMTPc_SendMail failed, mail recipient not specified (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailServerNotValid (void) |
Event on netSMTPc_SendMail failed, mail server not valid (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailDnsClientBusy (void) |
Event on netSMTPc_SendMail failed, DNS host resolver busy (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailDnsError (void) |
Event on netSMTPc_SendMail failed, DNS host resolver error (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailAttachNotEnabled (void) |
Event on netSMTPc_SendMail failed, support for attachments not enabled (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailAttachFailed (const char *fname, uint32_t length) |
Event on netSMTPc_SendMail attach file failed, fopen failed (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailMultipart (uint8_t num_files) |
Event on SMTP client netSMTPc_SendMail multipart with attachments (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMailAttachment (const char *fname, uint32_t length) |
Event on netSMTPc_SendMail attach file (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_InboundConnRejected (int32_t socket) |
Event on SMTP client inbound connection rejected (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SocketAborted (int32_t socket) |
Event on SMTP client socket aborted (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SocketConnected (int32_t socket) |
Event on SMTP client socket connected (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_SocketClosed (int32_t socket) |
Event on SMTP client socket closed (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_ReceiveFrame (int32_t socket, uint32_t length) |
Event on SMTP client received frame (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_UnackedDataError (int32_t socket) |
Event on SMTP client unacked data error (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_FrameTooShort (uint32_t length, uint32_t min_length) |
Event on SMTP received frame is too short (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_ServerReady (void) |
Event on SMTP client server ready response (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_EsmtpModeNotSupported (void) |
Event on SMTP client Extended SMTP mode (ESMTP) not supported (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_EhloResponseFragmented (void) |
Event on SMTP client EHLO response divided into multiple frames (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_EsmtpModeActive (void) |
Event on SMTP client Extended SMTP mode (ESMTP) active (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_StartAuthentication (uint8_t auth_mode) |
Event on SMTP client start authentication (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_AuthenticationDenied (void) |
Event on SMTP client authentication denied by the user (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_AuthMethodNotSupported (uint8_t auth_mode) |
Event on SMTP client authentication method not supported (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SmtpModeActive (void) |
Event on SMTP client basic SMTP mode active (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_AuthenticationSuccessful (void) |
Event on SMTP client authentication completed successfully (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_AuthenticationFailed (void) |
Event on SMTP client authentication failed (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_ServerAcknowledge (void) |
Event on SMTP client received server acknowledgment (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_WrongResponse (const uint8_t *response, uint32_t length) |
Event on SMTP client received wrong response from server (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_ClientStopTimeoutExpired (void) |
Event on SMTP client stop operation, timeout expired (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMessageBody (void) |
Event on SMTP client send message body start (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendMessageEnd (void) |
Event on SMTP client send end of message sequence (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_SendCommand (const uint8_t *command, uint32_t length) |
Event on SMTP client send command to server (Detail) More... | |
__STATIC_INLINE void | EvrNetSMTP_ClientCloseSocket (int32_t socket) |
Event on SMTP client close socket (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_ClientDone (uint8_t cb_event) |
Event on SMTP client completed operation (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_TlsSupportIndicated (void) |
Event on SMTP client TLS support indicated by the server (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_StartTlsAccepted (void) |
Event on SMTP client STARTTLS command accepted by the server (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_TlsGetContextFailed (void) |
Event on SMTP client failed to allocate secure TLS context (Error) More... | |
__STATIC_INLINE void | EvrNetSMTP_TlsModeStarted (void) |
Event on SMTP client started secure TLS mode (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_TlsModeEstablished (uint8_t tls_id) |
Event on SMTP client established secure TLS session (Op) More... | |
__STATIC_INLINE void | EvrNetSMTP_UninitClient (void) |
Event on SMTP client de-initialize (Op) More... | |
Events generated by the Network - SMTP Client functions.
__STATIC_INLINE void EvrNetSMTP_AuthenticationDenied | ( | void | ) |
Event on SMTP client authentication denied by the user (Op)
__STATIC_INLINE void EvrNetSMTP_AuthenticationFailed | ( | void | ) |
Event on SMTP client authentication failed (Error)
__STATIC_INLINE void EvrNetSMTP_AuthenticationSuccessful | ( | void | ) |
Event on SMTP client authentication completed successfully (Op)
__STATIC_INLINE void EvrNetSMTP_AuthMethodNotSupported | ( | uint8_t | auth_mode | ) |
Event on SMTP client authentication method not supported (Error)
auth_mode | SMTP authentication mode
|
__STATIC_INLINE void EvrNetSMTP_ClientCloseSocket | ( | int32_t | socket | ) |
Event on SMTP client close socket (Op)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_ClientDone | ( | uint8_t | cb_event | ) |
Event on SMTP client completed operation (Op)
cb_event | user callback nofication event
|
__STATIC_INLINE void EvrNetSMTP_ClientStopTimeoutExpired | ( | void | ) |
Event on SMTP client stop operation, timeout expired (Error)
__STATIC_INLINE void EvrNetSMTP_ConnectClientBusy | ( | void | ) |
Event on netSMTPc_Connect failed, client busy (Error)
__STATIC_INLINE void EvrNetSMTP_ConnectInvalidParameter | ( | void | ) |
Event on netSMTPc_Connect invalid parameter (Error)
__STATIC_INLINE void EvrNetSMTP_ConnectIp4 | ( | const void * | net_addr | ) |
Event on SMTP client netSMTPc_Connect to IPv4 server (API)
net_addr | pointer to NET_ADDR4 server address structure (8 bytes) |
__STATIC_INLINE void EvrNetSMTP_ConnectIp6 | ( | const void * | net_addr | ) |
Event on SMTP client netSMTPc_Connect to IPv6 server (API)
net_addr | pointer to NET_ADDR server address structure (20 bytes) |
__STATIC_INLINE void EvrNetSMTP_EhloResponseFragmented | ( | void | ) |
Event on SMTP client EHLO response divided into multiple frames (Op)
__STATIC_INLINE void EvrNetSMTP_EsmtpModeActive | ( | void | ) |
Event on SMTP client Extended SMTP mode (ESMTP) active (Op)
__STATIC_INLINE void EvrNetSMTP_EsmtpModeNotSupported | ( | void | ) |
Event on SMTP client Extended SMTP mode (ESMTP) not supported (Op)
__STATIC_INLINE void EvrNetSMTP_FrameTooShort | ( | uint32_t | length, |
uint32_t | min_length | ||
) |
Event on SMTP received frame is too short (Error)
length | frame length in bytes |
min_length | minimum length of the frame |
__STATIC_INLINE void EvrNetSMTP_GetSocketFailed | ( | void | ) |
Event on SMTP client failed to allocate TCP socket (Error)
__STATIC_INLINE void EvrNetSMTP_InboundConnRejected | ( | int32_t | socket | ) |
Event on SMTP client inbound connection rejected (Error)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_InitClient | ( | void | ) |
Event on SMTP client initialize (Op)
__STATIC_INLINE void EvrNetSMTP_ReceiveFrame | ( | int32_t | socket, |
uint32_t | length | ||
) |
Event on SMTP client received frame (Op)
socket | assigned TCP socket |
length | frame length in bytes |
__STATIC_INLINE void EvrNetSMTP_SendCommand | ( | const uint8_t * | command, |
uint32_t | length | ||
) |
Event on SMTP client send command to server (Detail)
command | server command in text form |
length | length of the command string |
__STATIC_INLINE void EvrNetSMTP_SendMail | ( | uint8_t | num_rcpt | ) |
Event on SMTP client netSMTPc_SendMail to mail server (API)
num_rcpt | number of mail recipients (To, CC, BCC) |
__STATIC_INLINE void EvrNetSMTP_SendMailAttachFailed | ( | const char * | fname, |
uint32_t | length | ||
) |
Event on netSMTPc_SendMail attach file failed, fopen failed (Error)
fname | name of the requested file |
length | length of the fname string |
__STATIC_INLINE void EvrNetSMTP_SendMailAttachment | ( | const char * | fname, |
uint32_t | length | ||
) |
Event on netSMTPc_SendMail attach file (Op)
fname | name of the requested file |
length | length of the fname string |
__STATIC_INLINE void EvrNetSMTP_SendMailAttachNotEnabled | ( | void | ) |
Event on netSMTPc_SendMail failed, support for attachments not enabled (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailClientBusy | ( | void | ) |
Event on netSMTPc_SendMail failed, client busy (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailDnsClientBusy | ( | void | ) |
Event on netSMTPc_SendMail failed, DNS host resolver busy (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailDnsError | ( | void | ) |
Event on netSMTPc_SendMail failed, DNS host resolver error (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailInvalidParameter | ( | void | ) |
Event on netSMTPc_SendMail invalid parameter (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailMultipart | ( | uint8_t | num_files | ) |
Event on SMTP client netSMTPc_SendMail multipart with attachments (Op)
num_files | number of files to attach |
__STATIC_INLINE void EvrNetSMTP_SendMailNoRecipients | ( | void | ) |
Event on netSMTPc_SendMail failed, mail recipient not specified (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailServerNotValid | ( | void | ) |
Event on netSMTPc_SendMail failed, mail server not valid (Error)
__STATIC_INLINE void EvrNetSMTP_SendMailTlsNotEnabled | ( | void | ) |
Event on netSMTPc_SendMail secure TLS not enabled (Error)
__STATIC_INLINE void EvrNetSMTP_SendMessageBody | ( | void | ) |
Event on SMTP client send message body start (Op)
__STATIC_INLINE void EvrNetSMTP_SendMessageEnd | ( | void | ) |
Event on SMTP client send end of message sequence (Op)
__STATIC_INLINE void EvrNetSMTP_ServerAcknowledge | ( | void | ) |
Event on SMTP client received server acknowledgment (Op)
__STATIC_INLINE void EvrNetSMTP_ServerReady | ( | void | ) |
Event on SMTP client server ready response (Op)
__STATIC_INLINE void EvrNetSMTP_SmtpModeActive | ( | void | ) |
Event on SMTP client basic SMTP mode active (Op)
__STATIC_INLINE void EvrNetSMTP_SocketAborted | ( | int32_t | socket | ) |
Event on SMTP client socket aborted (Error)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_SocketClosed | ( | int32_t | socket | ) |
Event on SMTP client socket closed (Op)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_SocketConnected | ( | int32_t | socket | ) |
Event on SMTP client socket connected (Op)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_StartAuthentication | ( | uint8_t | auth_mode | ) |
Event on SMTP client start authentication (Op)
auth_mode | SMTP authentication mode
|
__STATIC_INLINE void EvrNetSMTP_StartTlsAccepted | ( | void | ) |
Event on SMTP client STARTTLS command accepted by the server (Op)
__STATIC_INLINE void EvrNetSMTP_TlsGetContextFailed | ( | void | ) |
Event on SMTP client failed to allocate secure TLS context (Error)
__STATIC_INLINE void EvrNetSMTP_TlsModeEstablished | ( | uint8_t | tls_id | ) |
Event on SMTP client established secure TLS session (Op)
tls_id | TLS session identifier |
__STATIC_INLINE void EvrNetSMTP_TlsModeStarted | ( | void | ) |
Event on SMTP client started secure TLS mode (Op)
__STATIC_INLINE void EvrNetSMTP_TlsSupportIndicated | ( | void | ) |
Event on SMTP client TLS support indicated by the server (Op)
__STATIC_INLINE void EvrNetSMTP_UnackedDataError | ( | int32_t | socket | ) |
Event on SMTP client unacked data error (Error)
socket | assigned TCP socket |
__STATIC_INLINE void EvrNetSMTP_UninitClient | ( | void | ) |
Event on SMTP client de-initialize (Op)
__STATIC_INLINE void EvrNetSMTP_WrongResponse | ( | const uint8_t * | response, |
uint32_t | length | ||
) |
Event on SMTP client received wrong response from server (Error)
response | server response in text form |
length | length of the response string |