17 #ifndef CELLULARNONIPSOCKET_H    18 #define CELLULARNONIPSOCKET_H    21 #include "rtos/Mutex.h"    22 #include "rtos/EventFlags.h"    24 #include "mbed_toolchain.h"   137     virtual void event();
   146     volatile unsigned _pending;
   149     static const int READ_FLAG     = 0x1u;
   150     static const int WRITE_FLAG    = 0x2u;
   151     static const int FINISHED_FLAG = 0x3u;
   160 #endif // CELLULARNONIPSOCKET_H virtual nsapi_size_or_error_t recvfrom(SocketAddress *address, void *data, nsapi_size_t size)
NOT APPLICABLE. 
Implements support for data transfer using Control Plane CIoT EPS optimization specified in 3GPP 23...
virtual nsapi_error_t connect(const SocketAddress &address)
NOT APPLICABLE. 
The EventFlags class is used to control event flags or wait for event flags other threads control...
CellularNonIPSocket()
Creates a socket. 
CellularContext is CellularInterface/NetworkInterface with extensions for cellular connectivity...
Implements support for data transfer using Control Plane CIoT EPS optimization. 
virtual nsapi_error_t open(mbed::CellularContext *cellular_context)
Opens a socket on the given cellular context. 
signed int nsapi_error_t
Type used to represent error codes. 
virtual nsapi_error_t listen(int backlog=1)
NOT APPLICABLE. 
virtual void set_blocking(bool blocking)
Set blocking or non-blocking mode of the socket. 
signed int nsapi_size_or_error_t
Type used to represent either a size or error passed through sockets. 
Abstract Socket interface. 
virtual Socket * accept(nsapi_error_t *error=NULL)
NOT APPLICABLE. 
virtual nsapi_size_or_error_t send(const void *data, nsapi_size_t size)
Send data over a control plane cellular context. 
virtual nsapi_error_t bind(const SocketAddress &address)
NOT APPLICABLE. 
virtual nsapi_size_or_error_t sendto(const SocketAddress &address, const void *data, nsapi_size_t size)
NOT APPLICABLE. 
Cellular PDP context class. 
virtual nsapi_error_t getpeername(SocketAddress *address)
NOT APPLICABLE. 
The Mutex class is used to synchronize the execution of threads. 
virtual nsapi_error_t close()
Closes socket. 
virtual void sigio(mbed::Callback< void()> func)
Register a callback on state change of the socket. 
unsigned int nsapi_size_t
Type used to represent the size of data passed through sockets. 
virtual void set_timeout(int timeout)
Set timeout on blocking socket operations. 
virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size)
Receive data from a socket. 
virtual nsapi_error_t getsockopt(int level, int optname, void *optval, unsigned *optlen)
NOT APPLICABLE. 
virtual nsapi_error_t setsockopt(int level, int optname, const void *optval, unsigned optlen)
NOT APPLICABLE. 
Callback class based on template specialization. 
virtual ~CellularNonIPSocket()
Destroy the socket. 
Socket implementation for cellular Non-IP data delivery(NIDD).