Connects to device using specified port name and settings.
Namespace:
com.gigatms
Assembly:
GIGATMS.UHF (in GIGATMS.UHF.dll) Version: 2.16.9.0 (2.16.9.0)
Syntaxpublic bool Connect(
string portName,
string baudrate = "AUTO",
int wirelessTimeoutMillisecond = 10000
)
Public Function Connect (
portName As String,
Optional baudrate As String = "AUTO",
Optional wirelessTimeoutMillisecond As Integer = 10000
) As Boolean
public:
bool Connect(
String^ portName,
String^ baudrate = L"AUTO",
int wirelessTimeoutMillisecond = 10000
)
Parameters
- portName
- Type: SystemString
The connection string to connect. - baudrate (Optional)
- Type: SystemString
The baudrate used for USB virtual COM port communication. - wirelessTimeoutMillisecond (Optional)
- Type: SystemInt32
The timeout uesed for BLE/Wi-Fi connection.
Return Value
Type:
Boolean
Return true if the operation is OK.
Return false If the operation Is failed.
See Also