[Urgent] Arduino Bluetooth Problems

Hey I recently got an Arduino BT from sparkfun along with a bluetooth dongle and after installing the software that came with the bluetooth dongle and setting the arduino IDE to the correct com port and board type when I attempt to upload a sketch i get this error:

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "C:\Documents and Settings\Owner\Desktop\arduino-0012-win\arduino-0012\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM10 Using Programmer : stk500v1 Overriding Baud Rate : 19200 avrdude: ser_open(): setting dtr avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Recv: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: Send: Q [51] [20] avrdude: Recv: avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

Never mind I've got it working now, if anyone else is having this issue this is what fixed it for me:

Uninstall the FTDI USB drivers Disconnect the bluetooths serial usb service Press the RESET button on the arduino Connect the bluetooth serial Upload the program!

Now im getting this error message when attempting to send commands to the arduino from the console:

java.io.IOException: No error in nativeDrain

at gnu.io.RXTXPort.nativeDrain(Native Method)

at gnu.io.RXTXPort$SerialOutputStream.flush(RXTXPort.java:1201)

at processing.app.Serial.write(Serial.java:459)

at processing.app.Serial.write(Serial.java:481)

at processing.app.EditorStatus$2.keyTyped(EditorStatus.java:423)

at java.awt.Component.processKeyEvent(Unknown Source)

at javax.swing.JComponent.processKeyEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)