Add min_version parameter to register_device API command

This commit is contained in:
JonnyWong16 2020-10-12 11:56:55 -07:00
parent 7914f56ec3
commit 36aa795c52
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 17 additions and 7 deletions

View file

@ -1470,6 +1470,10 @@ def is_hdr(bit_depth, color_space):
return bit_depth > 8 and color_space == 'bt2020nc'
def version_to_tuple(version):
return tuple(cast_to_int(v) for v in version.strip('v').split('.'))
def page(endpoint, *args, **kwargs):
endpoints = {
'pms_image_proxy': pms_image_proxy,