# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1603347431 0
# Node ID fa6fee41f06e331c1645354359ecd1492ac615a8
# Parent  b55a81ce7497a0592621524d2baa3a2577a18dc6
fc-shell help: batt documented

diff -r b55a81ce7497 -r fa6fee41f06e rvinterf/asyncshell/helpfile
--- a/rvinterf/asyncshell/helpfile	Thu Oct 22 05:39:47 2020 +0000
+++ b/rvinterf/asyncshell/helpfile	Thu Oct 22 06:17:11 2020 +0000
@@ -3,6 +3,7 @@
 The following commands are available:
 
 at		AT commands to the target
+batt		Send MMI_BATTERY_IND primitive to target UI firmware
 disable		Disable receiving and display of certain packet types
 enable		Enable receiving and display of certain packet types
 exit		Exit from fc-shell
@@ -33,6 +34,20 @@
 equivalent of an enable ati command so you can see ATI's responses; any
 asynchronous output from ATI is also enabled as a side effect.
 
+=== batt
+batt <byte1> <byte2>
+
+TI's MFW (UI firmware component) uses MMI_BATTERY_IND primitive (in the GPF and
+protocol stack sense) to communicate battery events from driver callback
+functions to the MMI task.  GPF allows any protocol stack primitive to be
+injected externally; sending this MMI_BATTERY_IND primitive from the development
+host allows the UI firmware's battery functions to be exercised on development
+boards that have no battery or charging hardware.
+
+fc-shell batt command sends an MMI_BATTERY_IND protocol stack primitive with
+user-specified parameter bytes; the meaning of these parameter bytes depends on
+the firmware version.
+
 === disable
 === enable
 {dis,en}able ati