18
Interacting with YOYOCam
General Command Format
Commands and Parameters
Master and Users interact with YOYOCam by sending SMS messages that contain specially
formatted textual commands. YOYOCam typically responds with confirmation text by SMS. Where the
command is a request for images, these are sent by MMS or E-mail.
Generic format of a simple command:
Command:
#CommandCode#
Example:
#01#
Response:
YOYOCam is armed
Generic format of a command that needs extra information (a parameter):
Command:
#CommandCode#Parameter#
Response:
SMS confirmation or images by MMS or E-mail
Example:
#06#+46702222222#
Response:
+46702222222 USER phone number has been added
Note:
There must never be any space characters in a command.
Generic format of a command taking multiple parameters:
Command
:
#CommandCode#Parameter1#Parameter2#Parameter3#Parameter4# …
Example:
#106#+467044670546706666666#
Response:
+46704444444
+46705555555
+46706666666
Emergency phone number added
Note:
Commands always begin and end with the # character, and a # separates each required
parameter.
Note:
In some cases all parameters must be supplied; in others like the one above, as many
parameters as required can be supplied.