search function to cmake and lib added
new types, trying to check for available baudrates