Skip to content

Commit

Permalink
Add tracker type to the protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Eirenliel committed Oct 9, 2024
1 parent 5ccb1b5 commit c242b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@
#define ENABLE_INSPECTION false

#define FIRMWARE_BUILD_NUMBER 17
#define FIRMWARE_VERSION "0.4.0"
#define FIRMWARE_VERSION "0.4.0-glove-test"

#endif // SLIMEVR_DEBUG_H_
1 change: 1 addition & 0 deletions src/network/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ void Connection::sendTrackerDiscovery() {
MUST(sendShortString(FIRMWARE_VERSION));
// MAC address string
MUST(sendBytes(mac, 6));
MUST(sendByte(TRACKER_TYPE)); // Tracker type to hint the server if it's a glove or normal tracker or something else

MUST(endPacket());
}
Expand Down

0 comments on commit c242b35

Please sign in to comment.