| 103 | |
| 104 | === Custom Phone control firmware === |
| 105 | |
| 106 | There is a slightly altered version of the standard firmware designed for controlling a phone though the 3 most common buttons: power, up, and down. All the existing commands from the standard firmware still exist, so depending on the physical connections enacting the 'reset node' command may activate the 'down button' command because they access the same control pins. For this reason, for this firmware it is encuraged to only use the button 1/2/3 commands and nothing else. |
| 107 | |
| 108 | ==== HTTP commands ==== |
| 109 | || Http address || function description || |
| 110 | || /1l || 5 second 'button press on button 1 || |
| 111 | || /2l || same as above for button 2 || |
| 112 | || /3l || same as above for button 3 || |
| 113 | || /1s || half second button press for button 1 || |
| 114 | || /2s || same as above for button 2 || |
| 115 | || /3s || same as above for button 3 || |
| 116 | |
| 117 | ==== UDP ==== |
| 118 | |
| 119 | no UDP support for this |
| 120 | |
| 121 | ==== CLI ==== |
| 122 | |
| 123 | {{{ |
| 124 | Trying 10.1.224.61... |
| 125 | Connected to 10.1.224.61. |
| 126 | Escape character is '^]'. |
| 127 | >enable |
| 128 | (enable)#phone |
| 129 | (phone)#? |
| 130 | button <1 | 2 | 3> <long | short> clrscrn |
| 131 | exit show history |
| 132 | write |
| 133 | }}} |
| 134 | you must enter the command as such |
| 135 | {{{ |
| 136 | button 1 short |
| 137 | }}} |
| 138 | |
| 139 | ==== Connections ==== |
| 140 | Right now the connections are as such |
| 141 | |
| 142 | || button || connection || |
| 143 | || 1 || Power || |
| 144 | || 2 || up || |
| 145 | || 3 || down || |