.al Alert Command
Configures and alerts the user. Returns an error if vibrate and buzzer are both off.
Android | iOS | .NET |
---|---|---|
link coming soon | link coming soon | AlertCommand |
Parameters
Identifier | Values | Description |
---|---|---|
-b | on/off | Buzzer on or off |
-d | sho/med/lon | Buzzer/Vibrate duration short, medium or long |
-fm | Plays "Find Me" tune | |
-l | low/med/hig | Volume level |
-n | No action, just set the parameters | |
-p | List the current parameter values | |
-t | low/med/hig | Buzzer tone low, medium or high |
-v | on/off | Vibrate on or off |
-x | Reset the parameters to defaults |
Parameter detail
-b
Buzzer on or off
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 3 |
Default Value | on |
-d
Buzzer/Vibrate duration short, medium or long
Type | Enum |
---|---|
Value | sho/med/lon |
Range | sho/med/lon |
Order In Interpretation | 4 |
Default Value | sho |
-fm
Plays "Find Me" tune
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 2 |
-l
Volume level
Type | Enum |
---|---|
Value | low/med/hig |
Range | low/med/hig |
Order In Interpretation | 5 |
Default Value | hig |
-n
No action, just set the parameters
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 9 |
-p
List the current parameter values
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 8 |
-t
Buzzer tone low, medium or high
Type | Enum |
---|---|
Value | low/med/hig |
Range | low/med/hig |
Order In Interpretation | 6 |
Default Value | hig |
-v
Vibrate on or off
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 7 |
Default Value | on |
-x
Reset the parameters to defaults
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 1 |
Parameter Interpretation Order
-x, -fm, -b, -d, -l, -t, -v, -p, -n
Parameter Defaults
-b on,-d sho, -l hig, -t hig, -v on,
Response Headers
Examples
Command | Response | Action |
.al -bon -voff | CS: .al -bon -voff
OK: | Buzzer sounds |
.al -p -n | CS: .al -p -n
PR: -b on -d sho -l hig -n -p -t hig -v off -x OK: | None |
.al -boff -voff | CS: .al -boff -voff
ME: Buzz and Vibrate are both off ER:003 | None |