Web Server/Web Page Design Details
Since we wanted to be able to control the stepper motor through the Net, we had to create a CGI program to accomplish this task.
CGI programs introduce security concerns, and hence we were unable to obtain permission to run our CGI on the main web-server. This necessitated setting up our own dedicated web server to handle anything related to the digital cameras.
It was necessary to decide which language we wanted to use to implement the client application. Since we were familiar with Berkeley sockets programming using C, this became the language of choice.
The following encoding scheme was used to indicate the desired camera and motion:
- ‘a’ ==> Move camera in B256 right
- ‘b’ ==> Move camera in B256 left
- ‘c’ ==> Move camera in B265 right
- ‘d’ ==> Move camera in B265 left