18#ifndef GEMALTO_CINTERION_CELLULAR_STACK_H_
19#define GEMALTO_CINTERION_CELLULAR_STACK_H_
21#include "AT_CellularStack.h"
28 const char *password,
int cid, nsapi_ip_stack_t stack_type,
AT_CellularDevice &device);
55 void sisw_urc_handler(
int sock_id,
int urc_code);
57 void sisr_urc_handler(
int sock_id,
int urc_code);
60 nsapi_error_t create_connection_profile(
int connection_profile_id);
61 void close_connection_profile(
int connection_profile_id);
69 const char *_password;
Class for sending AT commands and parsing AT responses.
virtual nsapi_error_t create_socket_impl(CellularSocket *socket)
Implements modem specific AT command set for creating socket.
virtual nsapi_error_t socket_connect(nsapi_socket_t handle, const SocketAddress &address)
Connects TCP socket to a remote host.
virtual nsapi_size_or_error_t socket_recvfrom_impl(CellularSocket *socket, SocketAddress *address, void *buffer, nsapi_size_t size)
Implements modem specific AT command set for receiving data.
nsapi_error_t socket_stack_init()
Initialize Must be called immediately after constructor to initialize IP stack on the modem.
virtual nsapi_error_t socket_close_impl(int sock_id)
Implements modem specific AT command set for socket closing.
virtual nsapi_size_or_error_t socket_sendto_impl(CellularSocket *socket, const SocketAddress &address, const void *data, nsapi_size_t size)
Implements modem specific AT command set for sending data.
signed int nsapi_size_or_error_t
Type used to represent either a size or error passed through sockets.
signed int nsapi_error_t
Type used to represent error codes.
void * nsapi_socket_t
Opaque handle for network sockets.
unsigned int nsapi_size_t
Type used to represent the size of data passed through sockets.