Pages: [1]   Go Down
Author Topic: call command doubts  (Read 314 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello. I'm a student from barcelona and i am having a lot of trouble with the arduino bluetooth board. I have written other posts recently but i still haven't been able to fix my problem. I found a thread ( http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187252763 ) and although it talks about what i'm dealing with i haven't been able to fix it...
I'm going crazy trying to make some commands work... i'm trying to connect the board to a pocket pc using the CALL comand..

the arduino code i have is:

void setup() {
  Serial.begin(115200);
  pinMode(RESET,OUTPUT);
  // Reset the bluetooth interface
  digitalWrite(RESET, HIGH);
  delay(10);
  digitalWrite(RESET, LOW);
  delay(200);
  Serial.println("CALL 00:09:DD:50:66:EE 1101 RFCOMM");
}

and the pocket pc opens a serial port:
port = new SerialPort(5, boundRate, bits, parity, stopBit);

This connection doesn't work at all. Does anybody know what can be wrong...? Am I using the call function correctly..?
PLEEEEEEEEEEEEEEEEEEAAAAAAAAAAAAASSSSSSSSSSSSSSSEEEEEEEEEEE help!! I need to finish this proyect for my university and my time is running out...
thank you to all in advance!!!!!

 :'(
« Last Edit: October 21, 2007, 07:08:30 pm by rosa_ally » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 183
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you read the WT11 userguide? And have you read it again? And again?  smiley

For starters I would try to troubleshoot on a pc or mac, whichever you use, instead of a pocketpc. If the arduino BT is running you will be able to initiate a connection from the computer. Did you already pair the BT with your system? Oh, of course, otherwise you wouldn't be able to program.
What happens if you open the serial connection from the pocketpc to the arduino BT? If that doesn't work then it will not work the other way either.
Skip the CALL function for now, get it working manually first.

As I have said in another thread of yours, autoconnect does work. Unfortunately I can't find my code at the moment. My svn repository is a bit of mess and I am not sure if I have committed the code. I hope to find the code tonight, otherwise I'll have to figure it out again.
Logged

Pages: [1]   Go Up
Jump to: