Skip to content

Commit a035629

Browse files
committed
fix: Require Vibratissimo devices to be named "Vibratissimo"
We've so far had no reports of anyone actually using one, and spamming the logs for a toy we have no usage log of sucks. Fixes #285
1 parent 7414e94 commit a035629

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Buttplug.Server/Bluetooth/Devices/Vibratissimo.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ public enum Chrs : uint
1414
Rx,
1515
}
1616

17-
public Guid[] Services { get; } = { new Guid("00001523-1212-efde-1523-785feabcd123") };
18-
19-
// Deliberately empty: you can rename these!
17+
public Guid[] Services { get; } = { new Guid("00001523-1212-efde-1523-785feabcd123") };
18+
19+
// Device can be renamed, but wildcarding spams our logs and they
20+
// reuse a common Service UUID, so require it to be the default
2021
public string[] Names { get; } =
2122
{
23+
"Vibratissimo",
2224
};
2325

2426
public Guid[] Characteristics { get; } =

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- Fixed port number changing in Websocket Server
2121
- Fixed crash when copying IP addresses in Websocket Server
2222
- Fixed version number listing in logs
23+
- Vibratissimo devices now required to be named "Vibratissimo"
2324

2425
# 0.1.0 (2017-08-07)
2526

0 commit comments

Comments
 (0)