FreeCalypso > hg > freecalypso-tools
diff rvinterf/asyncshell/helpfile @ 749:fa6fee41f06e
fc-shell help: batt documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Oct 2020 06:17:11 +0000 |
parents | 688380565e0f |
children | 5dd748850f2b |
line wrap: on
line diff
--- 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