comparison rvinterf/asyncshell/helpfile @ 399:5e91b1c107eb

fc-shell help file: documented key, keydown and keyup commands
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Mar 2018 01:47:08 +0000
parents dc2fff350475
children 688380565e0f
comparison
equal deleted inserted replaced
398:8c7e86bc137e 399:5e91b1c107eb
4 4
5 at AT commands to the target 5 at AT commands to the target
6 disable Disable receiving and display of certain packet types 6 disable Disable receiving and display of certain packet types
7 enable Enable receiving and display of certain packet types 7 enable Enable receiving and display of certain packet types
8 exit Exit from fc-shell 8 exit Exit from fc-shell
9 key Send keystroke event to UI firmware on the target
10 keydown Send key down event to UI firmware on the target
11 keyup Send key up event to UI firmware on the target
9 poweroff Send power-off ETM command packet to the target 12 poweroff Send power-off ETM command packet to the target
10 quit Alias for exit 13 quit Alias for exit
11 send Send arbitrary RVTMUX packet to the target 14 send Send arbitrary RVTMUX packet to the target
12 sp Send GPF system primitive to the target 15 sp Send GPF system primitive to the target
13 str Send arbitrary strings to ATI 16 str Send arbitrary strings to ATI
43 command. 46 command.
44 47
45 === exit 48 === exit
46 === quit 49 === quit
47 This command is self-explanatory. 50 This command is self-explanatory.
51
52 === key
53 key <key-sequence>
54
55 This command sends a GPF system primitive to the MMI entity in the target
56 firmware that encodes a simulated keystroke or a sequence of simulated
57 keystrokes. Digits 0-9 are sent naturally, star and hash keys are sent as
58 '*' and '#' ASCII characters, and the remaining keys on the D-Sample keypad
59 are encoded as short all-uppercase ASCII strings as follows:
60
61 UP, DOWN, LEFT, RIGHT and CENTER: directional keys
62 LSOFT and RSOFT: "soft left" and "soft right" keys directly under the LCD
63 SEND and END: green and red keys, respectively
64 VOL_PLUS, VOL_MINUS and EXTRA: the 3 side buttons on the D-Sample handset
65
66 Both single-character and long-named keys can be run together, for example:
67
68 key RSOFT* -- keypad lock or unlock sequence
69 key 5551212SEND -- enter digits 5551212, then SEND button to start the call
70
71 === keydown
72 === keyup
73 keydown <key-name>
74 keyup <key-name>
75
76 The basic key command sends a KEY_SEQUENCE command (encoded via a GPF CONFIG
77 system primitive) to the MMI entity in the target firmware; TI's firmware
78 implementation then generates first a key down event, then a key up event for
79 each key in the transmitted sequence. TI's firmware also supports similarly-
80 encoded KEY_PRESS and KEY_RELEASE commands which generate only a single key down
81 or key up event, respectively; our keydown and keyup commands provide access to
82 this functionality. Only single keys can be sent with these commands, not
83 sequences.
48 84
49 === poweroff 85 === poweroff
50 This command sends a power-off request in the form of an ETM ABB register write 86 This command sends a power-off request in the form of an ETM ABB register write
51 command packet to the target. 87 command packet to the target.
52 88