Implementation of the CellularInterface for u-blox C027 and C030 (non-N2xx flavour) modems that uses the IP stack on-board the cellular modem, hence not requiring LWIP (and so less RAM) and allowing any AT command exchanges to be carried out at the same time as data transfers (since the modem remains in AT mode all the time). This library may be used from mbed 5.5 onwards. If you need to use SMS, USSD or access the modem file system at the same time as using the CellularInterface then use ublox-at-cellular-interface-ext instead.

Dependents:   example-ublox-cellular-interface example-ublox-cellular-interface_r410M example-ublox-mbed-client example-ublox-cellular-interface ... more

Embed: (wiki syntax)

« Back to documentation index

<title>UbloxATCellularInterface::SockCtrl Struct Reference</title>

UbloxATCellularInterface::SockCtrl Struct Reference

Management structure for sockets. More...

#include <UbloxATCellularInterface.h>

Data Fields

int modem_handle
 The modem's handle for the socket.
volatile nsapi_size_t pending
 The number of received bytes pending.
void(* callback )(void *)
 A callback for events.
void * data
 A data pointer that must be passed to the callback.

Detailed Description

Management structure for sockets.

Definition at line 301 of file UbloxATCellularInterface.h.


Field Documentation

void(* callback)(void *)

A callback for events.

Definition at line 304 of file UbloxATCellularInterface.h.

void* data

A data pointer that must be passed to the callback.

Definition at line 305 of file UbloxATCellularInterface.h.

The modem's handle for the socket.

Definition at line 302 of file UbloxATCellularInterface.h.

volatile nsapi_size_t pending

The number of received bytes pending.

Definition at line 303 of file UbloxATCellularInterface.h.