Appendix A – Included Application
5.2.1 Built in commands
The shell includes a help command, which lists the available functions built in the
shell (see also Appendix B).
5.3 The image-buffer - bufferd
The application bufferd captures images and stores them on the ram-disk in a
FIFO-order, that is, the newest captured image overwrites the oldest.
By default initd starts a bufferd as a daemon. This daemon is listening for
messages on the socket /tmp/bufferdsocket. As a consequence it would not be
recommended to start several daemons as this would result in one daemon overwriting
what the other daemons writes.
The preferred way of using bufferd is depicted in the example below.
What happens when a call to bufferd is made is that the started process writes
messages to the socket /tmp/bufferdsocket and then dies.
Depending on which options are used when starting a buffer, bufferd starts one or two
processes for handling image capturing. These processes capture a number of images
according to the argument given.
5.3.1 Options
The valid parameters for bufferd are:
Option
-start
Start a buffer.
-reset
Remove a buffer.
-stop
Stop a buffer.
Start as a daemon.
This option should only be used when starting at start-up from
-d
initd or when the first instance is to be started.
The name of the buffer on which the options -start, -stop and -
reset should act.
-buffername
<buffername>
bufferd will create a directory in /tmp named <buffername>
in which the images will be stored.
The request-uri.
-uri <request-
Specification of the image-format as described in the
specification
string>
instead of 'http'. The document can be found on our web site
Axis Communications AB does not provide support for application development of any kind. The
information here is provided "as is", and there is no guarantee that any of the examples shown
will work in your particular application.
Revision 0.91 June 2001
Meaning
(pdf-document). The protocol should be 'FTP'
HTTP-API
22
Need help?
Do you have a question about the 2400 - PHP3 GUIDE and is the answer not in the manual?
Questions and answers