Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,28 @@ public class BasicShimmerBluetoothManagerPc extends ShimmerBluetoothManager {
List<String> shimmer3BleMacIdList = new ArrayList<String>();
List<VerisenseDevice> verisenseDeviceList = new ArrayList<VerisenseDevice>();
List<ShimmerGRPC> shimmer3BleDeviceList = new ArrayList<ShimmerGRPC>();
private boolean mInternalUse = true;
public static int mGRPCPort;

public BasicShimmerBluetoothManagerPc() {
GrpcBLERadioByteTools grpcTool = new GrpcBLERadioByteTools();
startGrpc();
}

public BasicShimmerBluetoothManagerPc(boolean isInternalUse) {
if(isInternalUse) {
startGrpc();
}
}

private void startGrpc() {
try {
GrpcBLERadioByteTools grpcTool = new GrpcBLERadioByteTools();
mGRPCPort = grpcTool.startServer();

} catch (Exception e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
} catch(Exception e) {
e.printStackTrace();
}
}

public void setPathToVeriBLEApp(String path) {
mPathToVeriBLEApp = path;
}
Expand Down
Loading