Programming and sending messages via bluetooth.

Hey guys,
I currently have a HC-05 and HC-06 connected to each other via CMODE. What I was wondering is where do I go from here? The project I am doing requires a button to be pressed on one arduino and turn off a circuit on the receiving end, and i have no idea how to do this. So if anyone could help it would majorly appreciated.

More Information on the project: I need to make a button that when pressed sends a command to turn off a fail safe door strike which is connected to the HC-06 arduino and stop power to the doorstrike allowing it to open. I also wanna incorporate a timing delay so i have time to eneter the door.

Any help is appreciated,
Mumbus12

Here is my current code for HC-05:

#include <SoftwareSerial.h>
SoftwareSerial BTserial(2, 3); // RX | TX

char c = ' ';

void setup()
{
Serial.begin(9600);
Serial.println("Arduino is ready");
Serial.println("Remember to select Both NL & CR in the serial monitor");

BTserial.begin(38400);
}

void loop()
{

if (BTserial.available())
{
c = BTserial.read();
Serial.write(c);
}

if (Serial.available())
{
c = Serial.read();
BTserial.write(c);
}

}

Here is HC-06 code:

#include <SoftwareSerial.h>
SoftwareSerial BTSerial(2, 3); // RX | TX

void setup()
{
Serial.begin(9600);
Serial.println("Enter AT commands:");

BTSerial.begin(9600);
}

void loop()
{

if (BTSerial.available())
Serial.write(BTSerial.read());

if (Serial.available())
BTSerial.write(Serial.read());
}

The project I am doing requires a button to be pressed on one arduino and turn off a circuit on the receiving end, and i have no idea how to do this.

Suppose YOUR job was to watch for a switch press, and, when that happened, tell your buddy, Tom, to turn the lights off in the attic.

How would you tell Tom that it was time to turn the lights off? What would you need in order to be able to tell him anything?

What do the Arduinos have that is equivalent to what you need in order to get a message to Tom?