Connecting Arduino uno to Surface Electromyography via Bluetooth

Thanks for responding!

It's an LE device and it's automatically discoverable. I've got the UUID and I'm setting up the BT module now.

I'm thinking I can just pair the Arduino via the BLUE shield to the EMG sensor with:

socket = device.createInsecureRfcommSocketToServiceRecord(UUID.fromString("My specific UUID"));

  inputStream = socket.getInputStream();
  outputStream = socket.getOutputStream();

Then to set the parameters:

#define motorPin 13
int data = 0;
void setup() {
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, LOW);
Serial.begin(9600); //default baud rate for bt 38400
}
void loop() {
if(Serial.available() > 0){ // Checks whether data is comming from the serial port
data = Serial.read(); // Reads the data from the serial port

      if (data == '0') {
        digitalWrite(motorPin, LOW); // Turn motor OFF
        Serial.println("motor: OFF"); 
        }
          else if (data == '1000') {
            digitalWrite(motorPin, HIGH);
            Serial.println("motor: ON");
           
          } 

}
}