[This is preliminary documentation and is subject to change.]
public static ISerialConnection FindSerialConnection()
This method searches all available serial ports until it finds a working serial connection. For every available serial port an attempt is made to open a connection at a range of common baudrates. The connection is tested by issueing an GetFirmware command. (I.e. a Firmata SysEx Firmware query (0xF0 0x79 0xF7).)
The connected device is expected to respond by sending the version number of the supported protocol. When a major version of 2 or higher is received, the connection is regarded to be valid.