Functions for enumerating serial ports.
More...
#include <vector>
#include <string>
Go to the source code of this file.
|
bool | mlib::SerEnum_UsingCreateFile (std::vector< int > &ports) |
| Iterate from 1 to 255 finding those ports for which the CreateFile function doesn't fail.
|
|
bool | mlib::SerEnum_UsingSetupAPI (std::vector< int > &ports, std::vector< std::string > &names) |
| Uses SetupDiEnumDeviceInfo function to retrieve available COM ports and their friendly name.
|
|
bool | mlib::SerEnum_UsingRegistry (std::vector< int > &ports) |
|
Functions for enumerating serial ports.
(c) Mircea Neacsu 2017. All rights reserved.