Pages: [1]   Go Down
Author Topic: ArduinoNG + Bluegiga eval board + Mobile Phone  (Read 292 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Greetings !

I have connected my Arduino board to the bluegiga evaluation board (which holds the same bluetooth component as the ArduinoBT) through a serial connection in order to connect to my mobile phone and light up a led whenever somebody is calling me...

So.. I have managed to send messages to the phone, read the answer and test it. But I can't read/detect the "RING" message that my mobile phone is sending to the arduino board when it receives a phone call.

Here is the source code of my application, maybe someone who did the same kind of experiments can help me ?!

Thank you very much in advance,

char serInString[10];
bool connected = false;
bool phoneConnected = false;

void readSerialString (char *strArray) {
    int i = 0;
    if(Serial.available()) {    
       while (serialAvailable()){            
          strArray[i] =;

void setup() {

void loop () {
  if (!connected && serInString[0] == 79 && serInString[1] == 75){  //answer = OK? (O=79, K=75)
    connected = true;
  if (connected && !phoneConnected){
    Serial.println("CALL 00:19:63:1e:0a:01 1103 RFCOMM");
    phoneConnected = true;
  if (connected && phoneConnected){
    if (serInString[0] == 82) digitalWrite(13,HIGH); //check if phone is ringing ?


Pages: [1]   Go Up
Jump to: