Serial Connection Object

Top  Previous  Next

The Serial Connection Object inherits all methods from the Connection Object.

Methods

Return

Signature

Description

boolean

baud ( number )

Sets the baud rate.

boolean

flow ( flowControl )

Sets the flow control.

boolean

parity ( parityType )

Sets the parity.

boolean

stopBits ( stopBitsType )

Sets the number of stop bits.

boolean

characterSize ( number )

Sets the number of bits in a character, allowed values are 5,6,7 and 8.

SerialConnection::baud ( number )

Sets the baud rate for the connection. Call before actually connecting.

SerialConnection::flow ( flowControl )

Sets the flow control for the connection.

SerialConnection::parity( parityType )

Sets the parity for the connection.

SerialConnection::stopBits( stopBitsType )

Sets the number of stop bits for the connection.

SerialConnection::characterSize( number )

Sets the number of bits in a character.

Related

Connection Object