I recently purchased one of the WRL-08180 bluetooth modems. I can get it to connect to a DIP bluetooth module, and send data fine. However I can not get any data back (including the terminal type command data responses from the device itself!)
The red LED on the board does not light and it seems to be a black hole in that direction. Any clues?
Update:
Board works fine when I connect using HyperTerminal. For some reason I cant get Processing (1.0.9) with FTDI drivers (2.06.00 or 2.02.04) to read anything from the buffer on Windows 7 or Vista.
Using HT, I get the command responses and the data echo from the Arduino on the other end of the connected device. The Arduino also responds as expected.
import processing.serial.*;
static String COMPORT = "COM4";
Serial myPort;
void setup() {
size(200,200);
myPort = new Serial(this, COMPORT, 115200);
}
void draw() {
background(50,100,200);
}
void keyPressed() {
if (key == 65535) return;
myPort.write(key);
}
void serialEvent(Serial myPort) {
if (myPort.available() > 0) {
int data = myPort.read();
println(data + " : 0x" + hex(data,2) + " : '" + char(data)+"'");
}
}