Class AT_CellularInformation. More...
#include <AT_CellularInformation.h>
Public Types |
Public Member Functions | |
virtual nsapi_error_t | get_manufacturer (char *buf, size_t buf_size) |
Request manufacturer identification of cellular device. More... | |
virtual nsapi_error_t | get_model (char *buf, size_t buf_size) |
Request model identification of cellular device. More... | |
virtual nsapi_error_t | get_revision (char *buf, size_t buf_size) |
Request revision identification of cellular device. More... | |
virtual nsapi_error_t | get_imsi (char *imsi, size_t buf_size) |
Get IMSI from the sim card. More... | |
virtual nsapi_error_t | get_iccid (char *buf, size_t buf_size) |
Get serial number from the SIM card. More... | |
Protected Member Functions | |
nsapi_error_t | get_info (const char *cmd, char *buf, size_t buf_size) |
Request information text from cellular device. More... | |
Class AT_CellularInformation.
Class that provides information about cellular device.
Definition at line 32 of file AT_CellularInformation.h.
|
inherited |
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.
|
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 |
Implements CellularInformation.
Reimplemented in GEMALTO_CINTERION_CellularInformation, QUECTEL_BC95_CellularInformation, QUECTEL_BG96_CellularInformation, and QUECTEL_M26_CellularInformation.
|
virtual |
Get IMSI from the sim card.
imsi | preallocated char* which after successful request contains imsi |
buf_size | size of imsi buffer |
Implements CellularInformation.
|
protected |
Request information text from cellular device.
cmd | 3gpp command string |
buf | buffer for response |
buf_size | buffer size |
|
virtual |
Request manufacturer identification of cellular device.
buf | manufacturer identification as zero terminated string |
buf_size | max length of manufacturer identification is 2048 characters |
Implements CellularInformation.
|
virtual |
Request model identification of cellular device.
buf | model identification as zero terminated string |
buf_size | max length of model identification is 2048 characters |
Implements CellularInformation.
|
virtual |
Request revision identification of cellular device.
buf | revision identification as zero terminated string |
buf_size | max length of revision identification is 2048 characters |
Implements CellularInformation.
Reimplemented in QUECTEL_BG96_CellularInformation.