ssvplus
2011-09-06 16:56:42 UTC
Hi everyone,
I'm new to this group
I'm developing a java programm that use btspp for commiunication
can anyone tell me how to read data from btspp connection
I use the following method (not the exact code) to read from btspp
connection
while(true){
byte[] bfr = new byte[1000];
inputstrm.read(bfr);
}
when I use this same data is repeatedly read (when I am writing nothing to
the btspp connection, inputstrm.read(bfr) seams to be reading the last send
data)
I cant synchronize the sending data and reading
can anyone suggest me correct way to read from btspp connection
thanks
I'm new to this group
I'm developing a java programm that use btspp for commiunication
can anyone tell me how to read data from btspp connection
I use the following method (not the exact code) to read from btspp
connection
while(true){
byte[] bfr = new byte[1000];
inputstrm.read(bfr);
}
when I use this same data is repeatedly read (when I am writing nothing to
the btspp connection, inputstrm.read(bfr) seams to be reading the last send
data)
I cant synchronize the sending data and reading
can anyone suggest me correct way to read from btspp connection
thanks
--
You received this message because you are subscribed to the Google Groups "bluecove-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bluecove-users/-/iO673jFgeb0J.
To post to this group, send email to bluecove-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bluecove-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bluecove-users?hl=en.
You received this message because you are subscribed to the Google Groups "bluecove-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bluecove-users/-/iO673jFgeb0J.
To post to this group, send email to bluecove-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to bluecove-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/bluecove-users?hl=en.