hc-05 reads input with weird charactes in front

hey there,

i have a bluetooth hc-05 modul with an arduino uno. Now i connected the ground, VCC, TXD and RXD pins of the module to gound, 5v, RX, TX of my arduino uno.

The code that is running on the arduino is the following:

char c;
void setup(){
  Serial.begin(9600);
}

void loop(){
  if(Serial.available()){
    c = Serial.read();
    Serial.print(c);
  }
}

now i'm using an app called ArduDroid by TechBitar (here). In the app i can send and receive data from the bluetooth module.

Now to the problem...

when i send a character for example "c" it does return *12|99|99|c#. Do the charecter c returns but there are also these characters *12|99|99|in front.

how can i fix this?

Try using a simple terminal programme, like Bluetooth terminal. Also

    Serial.write(c);

not print

You may find some useful ideas in Serial Input Basics

...R

See also this similar Thread.

...R