Gleb Klochkov / Mbed OS Climatcontroll_Main

Dependencies:   esp8266-driver

Embed: (wiki syntax)

« Back to documentation index

AT_CellularBase Class Reference

AT_CellularBase Class Reference

Class AT_CellularBase. More...

#include <AT_CellularBase.h>

Inherited by AT_CellularInformation, AT_CellularNetwork, AT_CellularPower, AT_CellularSIM, AT_CellularSMS, and AT_CellularStack.

Public Member Functions

ATHandlerget_at_handler ()
 Getter for at handler.
device_err_t get_device_error () const
 Gets the device error that happened when using AT commands/responses.

Detailed Description

Class AT_CellularBase.

A base class for AT-classes.

Definition at line 29 of file AT_CellularBase.h.


Member Function Documentation

ATHandler & get_at_handler (  )

Getter for at handler.

Common method for all AT-classes.

Returns:
reference to ATHandler

Definition at line 27 of file AT_CellularBase.cpp.

device_err_t get_device_error (  ) const

Gets the device error that happened when using AT commands/responses.

This is at error returned by the device. Returned CME/CMS errors can be found from 3gpp documents 27007 and 27005.

Returns:
at error (CME/CMS) while communicating with the device

Definition at line 32 of file AT_CellularBase.cpp.