Parameters involved in sending/receiving data through sockets. More...
#include <cellular_common.h>
Parameters involved in sending/receiving data through sockets.
uint8_t CellularSocketContext_t::contextId |
PDN context ID on which this socket exists.
uint32_t CellularSocketContext_t::socketId |
Socket ID of this socket.
CellularSocketState_t CellularSocketContext_t::socketState |
State of the socket, Allocated, Free etc.
CellularSocketType_t CellularSocketContext_t::socketType |
Type of socket, DGRAM or STREAM.
CellularSocketDomain_t CellularSocketContext_t::socketDomain |
Socket domain, IPV4 or V6.
CellularSocketProtocol_t CellularSocketContext_t::socketProtocol |
Socket transport protocol, TCP or UDP.
CellularIPAddress_t CellularSocketContext_t::localIpAddress |
IP address assigned to the device.
uint16_t CellularSocketContext_t::localPort |
Local Port.
CellularSocketAccessMode_t CellularSocketContext_t::dataMode |
Data Access mode enabled for this socket.
uint32_t CellularSocketContext_t::sendTimeoutMs |
Send timeout value in milliseconds.
uint32_t CellularSocketContext_t::recvTimeoutMs |
Receive timeout value in milliseconds.
CellularSocketAddress_t CellularSocketContext_t::remoteSocketAddress |
Remote IP address and port.
CellularSocketDataReadyCallback_t CellularSocketContext_t::dataReadyCallback |
Informs data on this socket.
void* CellularSocketContext_t::pDataReadyCallbackContext |
Data ready callback context.
CellularSocketOpenCallback_t CellularSocketContext_t::openCallback |
Informs the socket open status.
void* CellularSocketContext_t::pOpenCallbackContext |
socket open callback context.
CellularSocketClosedCallback_t CellularSocketContext_t::closedCallback |
Informs the socket is closed.
void* CellularSocketContext_t::pClosedCallbackContext |
socket closed callback context.
void* CellularSocketContext_t::pModemData |
Modem specific data.