Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions ShimmerBLEGrpc/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Getting Started
To run the BLE gRPC server, set the active scheme at the top-middle of Xcode to ShimmerBLEGrpc, target My Mac
Then, select the Start button at the top-left of Xcode to start the app
Then, open the Shimmer-Java-Android-API ShimmerGRPC.java class from: https://github.com/ShimmerEngineering/Shimmer-Java-Android-API/blob/master/ShimmerDriverPC/src/main/java/com/shimmerresearch/pcDriver/ShimmerGRPC.java
Set the name of the device you want to connect to, in Line 101 of the class. This is e.g. "Shimmer3-XXXX".
Note that this is not the Bluetooth Mac address, as MacOS BLE is limited to using Bluetooth device names.
Then, run ShimmerGRPC.java

# Changelog
v1.0.0
- Initial Release
1 change: 1 addition & 0 deletions ShimmerBLEGrpc/Sources/ShimmerServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ struct ShimmerServer: AsyncParsableCommand {
group.addTask { try await server.serve() }
if let address = try await server.listeningAddress {
print("Shimmer BLE gRPC listening on \(address)")
print("Server Version: v1.0.0")
}
}
}
Expand Down
Loading