1.On/Off/Toggle
-------------------
- /flash/toggle
Turn the flash on or off (toggle).
- /flash/on
Turn on the flash.
- /flash/off
Turn off the flash.
2. Sequence
-------------------
Basic Rules for Sequence Commands:
- Sequence without arguments:
Plays a standard sequence of 4 actions with a
duration of 0.1 second and a pause of 0.3 seconds
between the actions.
- Sequence with 1 number:
The number determines the number of actions in the sequence.
Duration and pause remain at their default values
0.1 second and 0.3 second.
- Sequence with 3 numbers:
The first number is the number of actions.
The second number is the duration (in milliseconds)
of every action.
The third number is the pause (in milliseconds) between
the actions.
Examples:
- /flash/sequence
Plays the standard sequence of 4 actions with
0.1 second duration and 0.3 second pause.
- /flash/sequence[5]
Plays 5 actions at the default 0.1 second
duration and 0.3 second pause.
- /flash/sequence [5, 400, 600]
Plays 5 actions, with 400 milliseconds duration
per action and 600 milliseconds pause between actions.
3. Flash, Buzz and FlashBuzz
-------------------
-Flash:
This command controls the phone's flash.
-Buzz:
This command vibrates the phone.
- FlashBuzz:
This command combines the flash and buzz actions so that
the flash and vibration occur synchronously.
4.Notification
-------------------
-Trigger:
This command sends a notification to the phone.
If text is sent, it will be displayed in the notification.