|
MIP_SDK
v4.0.0-237-g9879cb72
MicroStrain Communications Library for embedded systems
|
Functions | |
| std::unique_ptr< microstrain::Connection > | createConnectionFromInterfaceName (std::string interface_name, uint32_t parameter) |
| Creates a connection object given the interface name and a parameter. More... | |
| bool | isSerialInterfaceName (const std::string_view interface_name) |
| Determines if the name corresponds to a serial port device. More... | |
| bool | isNetworkInterfaceName (std::string_view interface_name) |
| Determines if the name corresponds to a URL or IP address. More... | |
| std::unique_ptr< microstrain::Connection > mip::platform::createConnectionFromInterfaceName | ( | std::string | interface_name, |
| uint32_t | parameter | ||
| ) |
connection->connect() to open it.| interfaceName | This is the interface name - COM* (windows) or /dev/tty* (Linux) for a serial port or anything else for a TCP socket. |
| parameter | For serial ports, this is the baud rate. For TCP sockets, this is the port number. |
| bool mip::platform::isSerialInterfaceName | ( | const std::string_view | interface_name | ) |
| interface_name |
| bool mip::platform::isNetworkInterfaceName | ( | std::string_view | interface_name | ) |
| interface_name |
1.8.17