Boomer-III User Manual & Integrator’s Guide________________________________ Appendix A - NCL INTERFACE
BM310012WT04
87
Copyright Wavenet Technology © October 2003
WN_GET_BATT_VOLT:
Get modem battery status information
(NCL string “ZF?v”).
SUCCESS is followed by a block of status information in the format
shown below:
WN_GET_BATT_VOLT Response For
mat:
7 6 5 4 3 2 1 0
Battery Voltage (2 bytes)
Battery Percentage
Where:
Battery Voltage:
Two byte unsigned integer representing
the Voltage of the battery in mV.
Battery Percentage:
Estimate of the remaining capacity of the
battery. This value ranges from 0 to 100
(unsigned byte).
WN_GET_TIME
: Get modem time information (NCL string
“ZF?t”).
SUCCESS is followed by a block of status information in the format
shown below:
WN_GET_TIME Response Format:
7 6 5 4 3 2 1 0
Elapsed Time [4 bytes]
Elapsed Time is a four byte unsigned integer, which represents the
number of milliseconds, which have passed since the modem was last,
turned on or reset. It is accurate to within 50ms of when the last byte
of the request message was received by the modem.