Constructor and Description |
---|
XBee() |
Modifier and Type | Method and Description |
---|---|
static IConnectionInterface |
createConnectiontionInterface(String port,
int baudRate)
Retrieves a serial port connection interface for the provided port with
the given baud rate.
|
static IConnectionInterface |
createConnectiontionInterface(String port,
SerialPortParameters serialPortParameters)
Retrieves a serial port connection interface for the provided port with
the given serial port parameters.
|
public XBee()
public static IConnectionInterface createConnectiontionInterface(String port, int baudRate)
port
- Serial port name.baudRate
- Serial port baud rate.NullPointerException
- if port == null
.createConnectiontionInterface(String, SerialPortParameters)
,
IConnectionInterface
public static IConnectionInterface createConnectiontionInterface(String port, SerialPortParameters serialPortParameters)
port
- Serial port name.serialPortParameters
- Serial port parameters.NullPointerException
- if port == null
or
if serialPortParameters == null
.createConnectiontionInterface(String, int)
,
IConnectionInterface
,
SerialPortParameters
© Copyright 2014–2014 Digi International Inc. All rights reserved.