Camera registration¶
Terminology¶
- Token is a randomly generated string with a length of twenty characters, containing a random combination of letters and numbers
- Fingerprint is unique identifier of the camera, it is generated by the camera itself
- Printer UUID is unique identifier of the printer
Registration process¶
Register camera by user¶
User can add a new camera in Connect. Connect will send a
POST /app/printers/<printer_uuid>/camera
request, which will create
a new camera instance
Connect distinguishes two types of cameras:
-
WEB: user will receive and scan the QR code, which contains the token, using a camera on the device (e.g. mobile phone) and will be redirected to the web page, where he can use the camera
-
OTHER: user will receive a token itself, which will authenticate the communication between the camera and Connect in the user specific application
The camera will send its fingerprint together with the first image to Connect