Wiki source code of Sending commands
Last modified by Андрей Калиновский on 2023/04/25 16:30
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | There are two ways to send commands in the GlonassSoft system: | ||
| 2 | |||
| 3 | * Arbitrary commands - the command is sent from the command line, the command is not saved and is one-time. | ||
| 4 | * Command template - a command template is created that allows you to save a command for multiple use. | ||
| 5 | |||
| 6 | (% class="box infomessage" %) | ||
| 7 | ((( | ||
| 8 | In order to be able to send commands to the terminal from a mobile application, the user must have **the Send arbitrary commands right, and to send commands from command templates , the View command templates** and **Send commands from templates** rights must be granted . | ||
| 9 | ))) | ||
| 10 | |||
| 11 | To call the window for sending commands, you need to swipe one of the objects to the left in the list of objects. **The Commands** button opens . Clicking on it will take you to the command sending window. | ||
| 12 | |||
| 13 | [[image:image-20230425163005-1.jpeg||height="534" width="247"]][[image:image-20230425163020-2.jpeg||height="537" width="248"]] | ||
| 14 | |||
| 15 | In the upper part of the window there is an input field for an arbitrary command, below it is a list of created command templates. | ||
| 16 | |||
| 17 | To send an arbitrary command, enter it in the **Command ** field and click send. | ||
| 18 | |||
| 19 | To send a command from a command template, click on one of the commands in the list. | ||
| 20 | |||
| 21 | After sending a command, it will be displayed in the **History of sent commands** list . | ||
| 22 | |||
| 23 | [[image:image-20230425163045-3.jpeg||height="171" width="298"]] | ||
| 24 | |||
| 25 | It displays a list of commands sent to the device for the day, read the response of the device and send the command again. |