Notice: This is a static archive of the Mobile Processing website, as the project is no longer significantly active. All forms and the Discourse boards are no longer functional, and the mobile website at http://wapmp.at/ is no longer available. Please visit the Mobile Processing Google Group for any remaining discussions and the Processing website for the latest news about Processing.
Bluetooth library
Name

Client

Description Client objects are used to communicate with other Bluetooth devices and services.
Methods
read()   Reads one byte.

readBoolean()   Reads a byte as a boolean.

readBytes()   Reads data into a byte array.

readChar()   Reads two bytes and returns it as a char.

readInt()   Reads four bytes and returns it as an int.

readUTF()   Reads data as a String.

skipBytes()   Reads and discards bytes.

stop()   Closes the connection to end communication.

write()   Writes one byte.

writeBoolean()   Writes a boolean as a byte of data.

writeChar()   Writes a char variable.

writeInt()   Writes an int.

writeUTF()   Writes a String.