Class CellularInformation. More...
#include <CellularInformation.h>
Public Types |
Public Member Functions | |
virtual nsapi_error_t | get_manufacturer (char *buf, size_t buf_size)=0 |
Request manufacturer identification of cellular device. More... | |
virtual nsapi_error_t | get_model (char *buf, size_t buf_size)=0 |
Request model identification of cellular device. More... | |
virtual nsapi_error_t | get_revision (char *buf, size_t buf_size)=0 |
Request revision identification of cellular device. More... | |
virtual nsapi_error_t | get_imsi (char *imsi, size_t buf_size)=0 |
Get IMSI from the sim card. More... | |
virtual nsapi_error_t | get_iccid (char *buf, size_t buf_size)=0 |
Get serial number from the SIM card. More... | |
Protected Member Functions | |
virtual | ~CellularInformation () |
virtual Destructor More... | |
Class CellularInformation.
An abstract interface that provides information about cellular device.
Definition at line 39 of file CellularInformation.h.
enum SerialNumberType |
Request serial number identification of cellular device.
buf | serial number as zero terminated string |
buf_size | max length of serial number is 2048 characters |
type | serial number type to read |
Definition at line 89 of file CellularInformation.h.
|
protectedvirtual |
virtual Destructor
Definition at line 46 of file CellularInformation.h.
|
pure virtual |
Get serial number from the SIM card.
buf | SIM ICCID as zero terminated string |
buf_size | max length of SIM ICCID is MAX_ICCID_LENGTH |
Implemented in AT_CellularInformation, GEMALTO_CINTERION_CellularInformation, QUECTEL_BC95_CellularInformation, QUECTEL_BG96_CellularInformation, and QUECTEL_M26_CellularInformation.
|
pure virtual |
Get IMSI from the sim card.
imsi | preallocated char* which after successful request contains imsi |
buf_size | size of imsi buffer |
Implemented in AT_CellularInformation.
|
pure virtual |
Request manufacturer identification of cellular device.
buf | manufacturer identification as zero terminated string |
buf_size | max length of manufacturer identification is 2048 characters |
Implemented in AT_CellularInformation.
|
pure virtual |
Request model identification of cellular device.
buf | model identification as zero terminated string |
buf_size | max length of model identification is 2048 characters |
Implemented in AT_CellularInformation.
|
pure virtual |
Request revision identification of cellular device.
buf | revision identification as zero terminated string |
buf_size | max length of revision identification is 2048 characters |
Implemented in AT_CellularInformation, and QUECTEL_BG96_CellularInformation.