Error 507, unable to connect

I think @Utakarsha wants to connect a mobile with the Proteus circuit simulator program via Bluetooth. In the simulator he has put an Arduino and a Bluetooth module.

It is necessary that the laptop has Bluetooth or a PC with a Bluetooth dongle, in my case I have used a PC-Desktop with a Bluetooth dongle.

I have made this connection:

In the Arduino of the simulator I have loaded this sketch:

// Juan A. Villalpando
// Resumen de códigos Bluetooth. Enviar. Recibir.

#define Pin12 12
#define Pin13 13
char caracter;

void setup() {
Serial.begin(9600);
pinMode(Pin12, OUTPUT);
pinMode(Pin13, OUTPUT);
}

void loop() {
if(Serial.available()) {
caracter = Serial.read();

if(caracter == 'a'){ digitalWrite(Pin12, HIGH);}
if(caracter == 'b'){ digitalWrite(Pin12, LOW);} 
if(caracter == 'c'){ digitalWrite(Pin13, HIGH);}
if(caracter == 'd'){ digitalWrite(Pin13, LOW);}

}

}

In App Inventor I have used this code:

  • Device Manager.