Skip to content

Commit 232ee35

Browse files
Merge pull request #13 from ShimmerEngineering/DEV-407
DEV-407 add versioning to BLE GRPC server
2 parents a37b8d2 + 4058ff2 commit 232ee35

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ShimmerBLEGrpc/Readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
# Getting Started
12
To run the BLE gRPC server, set the active scheme at the top-middle of Xcode to ShimmerBLEGrpc, target My Mac
23
Then, select the Start button at the top-left of Xcode to start the app
34
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
45
Set the name of the device you want to connect to, in Line 101 of the class. This is e.g. "Shimmer3-XXXX".
56
Note that this is not the Bluetooth Mac address, as MacOS BLE is limited to using Bluetooth device names.
67
Then, run ShimmerGRPC.java
8+
9+
# Changelog
10+
v1.0.0
11+
- Initial Release

ShimmerBLEGrpc/Sources/ShimmerServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ struct ShimmerServer: AsyncParsableCommand {
3030
group.addTask { try await server.serve() }
3131
if let address = try await server.listeningAddress {
3232
print("Shimmer BLE gRPC listening on \(address)")
33+
print("Server Version: v1.0.0")
3334
}
3435
}
3536
}

0 commit comments

Comments
 (0)