Equipment/Webcams: Difference between revisions
From London Hackspace Wiki
→UDP control
| Line 204: | Line 204: | ||
The camera responds 520 bytes (512, assuming the first 8 bytes are separate), starting with "uiv2". The state info is followed by the DDNS update details: host, "\0\0", data to send (i.e. an HTTP request without the HTTP version). | The camera responds 520 bytes (512, assuming the first 8 bytes are separate), starting with "uiv2". The state info is followed by the DDNS update details: host, "\0\0", data to send (i.e. an HTTP request without the HTTP version). | ||
You can change the settings by returning '''uisp''' in place of '''uiv2''' (webcam replies with '''oksp''' "OK", followed '''uibo''' "Booting"). Only '''uiv2''' populates the version field. | You can change the settings by returning '''uisp''' in place of '''uiv2''' (webcam replies with '''oksp''' "OK", followed '''uibo''' "Booting"). Only the '''uiv2''' response populates the version field. | ||