-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
try {
if (mmInStream.read()<=0){
continue;
}else {
Thread.sleep(1000);
}
bytes = mmInStream.read(buffer);
if (bytes > 0) {
byte[] data = Arrays.copyOf(buffer, bytes);
if (mBluetoothListener != null) {
((BluetoothListener) mBluetoothListener).onReadData(mmSocket.getRemoteDevice(), data);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels