Establishing a two-way bluetooth connection with the seeedstudio shield

For a project, I need a two-way bluetooth connection between Arduino and Android. For this, I bought the Seeedstudio Bluetooth shield. The shield has two-modes, slave and master. In slave modes, it can receive data from android through a serial port, but it can't send it.

In the master mode, it can send data to another Arduino. But I can't get it to establish a two-way connection with Arduino. I would prefer a connection similar to the one Arduino has with the PC: such that I can read data and write it to the serial as well.

Is there any way to achieve this?

anag004:
For a project, I need a two-way bluetooth connection between Arduino and Android. For this, I bought the Seeedstudio Bluetooth shield. The shield has two-modes, slave and master. In slave modes, it can receive data from android through a serial port, but it can't send it.

It sounds like the android is suss or, perhaps more likely, pilot error with the terminal programme.
(A faint possibility) Do you have the Arduino connected to a PC by USB while you are attempting this? If so, disconnect it.

In the master mode, it can send data to another Arduino. But I can't get it to establish a two-way connection with Arduino. I would prefer a connection similar to the one Arduino has with the PC: such that I can read data and write it to the serial as well.

I assume you mean you can't establish connection with Android. The programming required to do this is exactly the same as for connection to PC by cable. This means you can prove your code without any bluetooth being involved. All comms settings are done at the Android end. Bluetooth should work the same in master or slave mode for this.

Here is some code

void setup()
{
    Serial.begin(9600);
    Serial.println("OK then, you first, say something.....");
    Serial.println("Go on, type something in the space above and hit Send, or just hit the Enter key"); 
}
 
void loop()
{
  while(Serial.available()==0)
  {}
  delay(500);
  Serial.println("I heard you say:      ");
  while(Serial.available()>0)
  {
    Serial.write(Serial.read());// note it is Serial.WRITE
  }
  Serial.println("");
}