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 following command example makes the application read the connectivity statistics:
AT%XCONNSTAT?
%XCONNSTAT=2,3,45,60,708,650
OK