Pages: [1]   Go Down
Author Topic: Arduino BT connection refuse  (Read 593 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi, i'm trying to create a connection between arduino BT and flash using the serialproxy xml socket. i am working on window XP. i uploaded the code to Arduino BT and test it use serial monitor, it is working. when i connect up with flash(use FlashConversation example), the serialproxy show that "failed to open comm port-connection refused". ((when i test it with Arduino-usb all the thing are working well)) :'(

//this is my serialproxy.cfg code:

# Config file for serproxy
# See serproxy's README file for documentation

# Transform newlines coming from the serial port into nils
# true (e.g. if using Flash) or false
newlines_to_nils=true

# Comm ports used
comm_ports=1,2,3,4,5,6

# Default settings
comm_baud=115200
comm_databits=8
comm_stopbits=1
comm_parity=none

# Idle time out in seconds
timeout=300

# Port 1 settings (ttyS0)
net_port1=5331

# Port 2 settings (ttyS1)
net_port2=5332

# Port 3 settings (ttyS2)
net_port3=5333

# Port 4 settings (ttyS3)
net_port4=5334

# Port 5 settings (ttyS4)
net_port5=5335

# Port 6 settings (ttyS5)
net_port6=5336



-----my Arduino BT use bluetooth serial com4-------

//output of the flash :: :smiley
** Arduino ** Connecting to 127.0.0.1:5334 . . .
** Arduino ** Connection established.

//flash movie show that : smiley-razz
** Arduino connected! **

- Flash: Hi Arduino, can you hear me?
** Arduino disconnected! **



--pl help me solve the problem, Thanks :-[
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 134
panta rei resist the resistors!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I answer here to your email

I'm sorry I don't have an arduino bluetooth so I don't really know what the setups are...
if you ever find the answer post it on your own post so that others can benefit from your investigation

have you tried to connect to the arduino bt via a terminal? without setting up the serial proxy+flash configuration.
if a simple terminal cannot connect then you know that you might have a problem in the connection between

arduino bt - computer (either of the two might have a problem: wrong speed, wrong port etc)

if the terminal does connect but you can't connect to flash
you might deduce that the problem is in fact in the connection between
computer - serial proxy - flash  

good luck
b.

Logged

Pages: [1]   Go Up
Jump to: