apps/camogm/camogmstate.php File Reference

Go to the source code of this file.

Variables

 $pipe = "/var/state/camogm.state"
 $cmd_pipe = "/var/state/camogm_cmd"
 $mode = 0777
 $cmd = $_GET['cmd']
 did the caller supply any command to be send to camogm?
 $status = file_get_contents($pipe)
 it seems that everything worked - caller (this script) waits for the file to appear


Variable Documentation

$cmd = $_GET['cmd']

did the caller supply any command to be send to camogm?

Definition at line 49 of file camogmstate.php.

Referenced by smbus_send(), startSession(), and stopSession().

$cmd_pipe = "/var/state/camogm_cmd"

Definition at line 37 of file camogmstate.php.

$mode = 0777

Definition at line 38 of file camogmstate.php.

$pipe = "/var/state/camogm.state"

just for testing, asuming camogm is running and listening to /var/state/camogm_cmd create a named pipe - "/var/state/camogm.state"

Definition at line 36 of file camogmstate.php.

$status = file_get_contents($pipe)

it seems that everything worked - caller (this script) waits for the file to appear

Definition at line 55 of file camogmstate.php.

Referenced by listSession(), and stopSession().


Generated on Fri Nov 28 00:06:59 2008 for elphel by  doxygen 1.5.1