nrf9160

Set command

The set command reads the battery voltage in mV.

Syntax:

%XVBAT

Response syntax:

+XVBAT: <vbat>

The response parameter is the following:

<vbat>
Integer. Battery voltage in mV, with a resolution of 4 mV.

The following command example reads the battery voltage and the response is for a successful case:

AT%XVBAT
%XVBAT: 3600
OK