Let me supply more information. The data transmission rate is near 1000Hz, and the baud rate I used is 115200.
[email protected]於 2016年8月29日星期一 UTC+8下午4時31分43秒寫道: > > Dear all, > > I am doing a project about receiving ecg signal from a ecg sensor. > At first I am successfully connect the ecg sensor with a bluetooth > transmitter using arduino and connect a bluetooth dongle to my PC using USB > port. > I use processing to write a program in pc to receive the data from arduino > which output the ecg signal through bluetooth, and the received data in my > PC is what I expected. > > However, when I tried to write a android app to receive the bluetooth > data, I found that there is some data loss, and the received is not the > same as what I received in my PC. > > Why is that? Is there any differences between android bluetooth and > bluetooth dongle in PC? > > I have found that if I use android to receive the ecg data through > bluetooth, the android will receive several ecg data in one packet, but it > is not the case if I use PC to receive the bluetooth data. > > My devices: > > 1) Arduino + ecg sensor + bluetooth transmitter. > 2) PC + bluetooth dongle (connected using USB port) > 3) Android > > 1) + 2) can produce what I want, but 1) + 3) cannot. > > Therefore, I wonder why android receive bluetooth differently from PC with > bluetooth dongle. > Thanks > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/839045c5-9c51-4441-a973-db6246a9c3bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

