sdcp: Add SDCP base class

This adds a base class for SDCP devices. Not all functionality has been
fully tested, in particular the code to verify the model certificate is
most likely broken or incomplete. One problem there is that there is no
code to find the root CA to trust.

See: #257
This commit is contained in:
Benjamin Berg
2020-05-11 16:17:03 +02:00
committed by Joshua Grisham
parent ca89ead07d
commit f063e3787e
9 changed files with 1776 additions and 0 deletions

View File

@@ -272,6 +272,13 @@ foreach i : driver_helpers
error('OpenSSL is required for @0@ and possibly others'.format(driver))
endif
optional_deps += openssl_dep
elif i == 'sdcp'
openssl_dep = dependency('openssl', version: '>= 3.0.8', required: false)
if not openssl_dep.found()
error('OpenSSL >= 3.0.8 is required for SDCP support (@0@ and possibly others)'.format(driver))
endif
optional_deps += openssl_dep
elif i == 'udev'
install_udev_rules = true