Read command

The read command reads the connectivity statistics.

Syntax:

%XCONNSTAT: <SMS Tx>,<SMS Rx>,<Data Tx>,<Data Rx>,<Packet max>,<Packet average>
The read command parameters and their defined values are the following:
<SMS Tx>
Indicate the total number of SMSs successfully transmitted during the collection period.
<SMS Rx>
Indicate the total number of SMSs successfully received during the collection period.
<Data Tx>
Indicate the total amount of data (in kilobytes) transmitted during the collection period.
<Data Rx>
Indicate the total amount of data (in kilobytes) received during the collection period.
<Packet max>
The maximum packet size (in bytes) used during the collection period.
<Packet average>
The average packet size (in bytes) used during the collection period.

The example command makes the LwM2M application read the connectivity statistics:

AT%XCONNSTAT?
%XCONNSTAT=2,3,45,60,708,650
OK