comparison 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
comparison
equal deleted inserted replaced
748:b55a81ce7497 749:fa6fee41f06e
1 === main 1 === main
2 === all 2 === all
3 The following commands are available: 3 The following commands are available:
4 4
5 at AT commands to the target 5 at AT commands to the target
6 batt Send MMI_BATTERY_IND primitive to target UI firmware
6 disable Disable receiving and display of certain packet types 7 disable Disable receiving and display of certain packet types
7 enable Enable receiving and display of certain packet types 8 enable Enable receiving and display of certain packet types
8 exit Exit from fc-shell 9 exit Exit from fc-shell
9 key Send keystroke event to UI firmware on the target 10 key Send keystroke event to UI firmware on the target
10 keydown Send key down event to UI firmware on the target 11 keydown Send key down event to UI firmware on the target
31 32
32 Any time you send anything to ATI, fc-shell automatically performs the 33 Any time you send anything to ATI, fc-shell automatically performs the
33 equivalent of an enable ati command so you can see ATI's responses; any 34 equivalent of an enable ati command so you can see ATI's responses; any
34 asynchronous output from ATI is also enabled as a side effect. 35 asynchronous output from ATI is also enabled as a side effect.
35 36
37 === batt
38 batt <byte1> <byte2>
39
40 TI's MFW (UI firmware component) uses MMI_BATTERY_IND primitive (in the GPF and
41 protocol stack sense) to communicate battery events from driver callback
42 functions to the MMI task. GPF allows any protocol stack primitive to be
43 injected externally; sending this MMI_BATTERY_IND primitive from the development
44 host allows the UI firmware's battery functions to be exercised on development
45 boards that have no battery or charging hardware.
46
47 fc-shell batt command sends an MMI_BATTERY_IND protocol stack primitive with
48 user-specified parameter bytes; the meaning of these parameter bytes depends on
49 the firmware version.
50
36 === disable 51 === disable
37 === enable 52 === enable
38 {dis,en}able ati 53 {dis,en}able ati
39 {dis,en}able gpf 54 {dis,en}able gpf
40 {dis,en}able tch 55 {dis,en}able tch