Anonymous

Equipment/Webcams: Difference between revisions

From London Hackspace Wiki
Line 203: Line 203:
The state info is also returned from UDP broadcast of "uicam query\0" on port 10139.
The state info is also returned from UDP broadcast of "uicam query\0" on port 10139.


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 the '''uiv2''' response populates the version field.
You can change the settings by returning '''uisp''' (set params?) in place of '''uiv2'''.  The webcam replies with '''oksp''' "OK", followed '''uibo''' "Booting".  Only the '''uiv2''' response populates the version field.




Anonymous user