commits
Note that this protocol encrypts its messages using AES128 ECB, which
requires some additional dependencies. I was hoping that rustls would
expose what I needed, but alas no (OpenSSL has spoiled me as a does
everything cypto library).
In addition to needing aes and ecb, I also needed:
* rand (although I suspect could get away without this)
* sha2 (for sha256 hashing)
I all 4 libraries are either MIT, Apache 2 or dual license.
Thanks to @SuhEugene for the legwork on this - I'm just squashing up
the iterations so that this becomes a single commit in the history.
Squashed commit of the following:
commit 24599bda63ff42447f7b67af0f6dbe41d100a20e
Author: blackspherefollower <darktech@black-sphere.co.uk>
Date: Mon Jan 15 14:37:02 2024 +0000
fix: Fix stop speed
Rather than issuing a speed command on stop, issue a reset
commit 05cdd8a70527595b04e3f3c8c81e6abb4c606872
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 03:18:42 2024 +0300
Write with reponse
commit a0cc1094eadb97aff60efb0b2b1b2d6345d6ea2b
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 02:22:13 2024 +0300
Remove version from mizzzee3 device name
commit 861f69089642b385bc1a9abbe5508dae74ab8242
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:41:19 2024 +0300
Replace info log with trace log
commit 3af12f77046efa9b37c21c6a0d623cf66ab850ab
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:41:10 2024 +0300
Reduce loop count and refactor all this thing
commit eeeb188cd662f77e67f2d512323883049c706c7c
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:05:32 2024 +0300
Update year to 2024
commit a886de62495d115cf2c36cc7303ee31504ed12e9
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:03:36 2024 +0300
Rename Mizz Zee V2.1 to V3
commit 574e115ce93ae6f5481fe963d94c34bd06aeb3f6
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sun Jan 7 06:25:21 2024 +0300
Remove unused RwLock dependency
commit 07b38dbf2f9870c2329ed75f01d5df49ceb289bb
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sun Jan 7 06:14:32 2024 +0300
Replace RwLocks with Atomic integers
commit bef391b143cf4e88d4909a25ee506e00722a402b
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 22:40:40 2024 +0300
Bump buttplug config version
commit a317e4e545e855682537cdd3c1297e40141fe34f
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 22:32:29 2024 +0300
Add Mizz Zee 2.1 protocol tests
commit bbf45a41e8a05ddbb649dd2d6011556a677898f1
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 08:15:51 2024 +0300
Redo Mizz Zee V2.1 protocol using faster loop
commit a28f34856898ab9903c7e73ab6ad72c855837214
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 06:40:12 2024 +0300
Implement basic Mizz Zee V2.1 protocol
The JoyHub Vortex Tongue introduces the most complexity, as it has
a vibe and rotator controlled by 1 command and a constrict (suction)
controlled by another.
This may not entirely handle the uninitialised device handshake,
but once initialised, there's no need to reinitialise.
Also fixing an enabling unused metaXsire tests
Now that Lovense Connect 3.2.4 is out, all 3 vibes on the Lapis can now
be controlled via Lovense Connect. This doesn't affect the already working
support via btleplug.
Moves us to rustls, removes openssl dependency.
Programs using the C# library sometimes do this.
Fixes #288
Compilation error on macOS. Quick fix.
The depth is locked to max:20
The Lapis is doing something odd where it's not recieving notifications
on Windows: meaning DeviceType isn't usable. Instead the device name is
used as a fallback (using a regex)
Lapis "works" with Lovense Connect, except that I can't get the Vibrate3
command to work, so it;s just giver/receiver vibes when connected this way.
I'm struggling to get them to pair, bit otherwise this should work.
Note that this protocol encrypts its messages using AES128 ECB, which
requires some additional dependencies. I was hoping that rustls would
expose what I needed, but alas no (OpenSSL has spoiled me as a does
everything cypto library).
In addition to needing aes and ecb, I also needed:
* rand (although I suspect could get away without this)
* sha2 (for sha256 hashing)
I all 4 libraries are either MIT, Apache 2 or dual license.
Thanks to @SuhEugene for the legwork on this - I'm just squashing up
the iterations so that this becomes a single commit in the history.
Squashed commit of the following:
commit 24599bda63ff42447f7b67af0f6dbe41d100a20e
Author: blackspherefollower <darktech@black-sphere.co.uk>
Date: Mon Jan 15 14:37:02 2024 +0000
fix: Fix stop speed
Rather than issuing a speed command on stop, issue a reset
commit 05cdd8a70527595b04e3f3c8c81e6abb4c606872
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 03:18:42 2024 +0300
Write with reponse
commit a0cc1094eadb97aff60efb0b2b1b2d6345d6ea2b
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 02:22:13 2024 +0300
Remove version from mizzzee3 device name
commit 861f69089642b385bc1a9abbe5508dae74ab8242
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:41:19 2024 +0300
Replace info log with trace log
commit 3af12f77046efa9b37c21c6a0d623cf66ab850ab
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:41:10 2024 +0300
Reduce loop count and refactor all this thing
commit eeeb188cd662f77e67f2d512323883049c706c7c
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:05:32 2024 +0300
Update year to 2024
commit a886de62495d115cf2c36cc7303ee31504ed12e9
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Mon Jan 8 01:03:36 2024 +0300
Rename Mizz Zee V2.1 to V3
commit 574e115ce93ae6f5481fe963d94c34bd06aeb3f6
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sun Jan 7 06:25:21 2024 +0300
Remove unused RwLock dependency
commit 07b38dbf2f9870c2329ed75f01d5df49ceb289bb
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sun Jan 7 06:14:32 2024 +0300
Replace RwLocks with Atomic integers
commit bef391b143cf4e88d4909a25ee506e00722a402b
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 22:40:40 2024 +0300
Bump buttplug config version
commit a317e4e545e855682537cdd3c1297e40141fe34f
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 22:32:29 2024 +0300
Add Mizz Zee 2.1 protocol tests
commit bbf45a41e8a05ddbb649dd2d6011556a677898f1
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 08:15:51 2024 +0300
Redo Mizz Zee V2.1 protocol using faster loop
commit a28f34856898ab9903c7e73ab6ad72c855837214
Author: SuhEugene <32931701+SuhEugene@users.noreply.github.com>
Date: Sat Jan 6 06:40:12 2024 +0300
Implement basic Mizz Zee V2.1 protocol
Compilation error on macOS. Quick fix.
The Lapis is doing something odd where it's not recieving notifications
on Windows: meaning DeviceType isn't usable. Instead the device name is
used as a fallback (using a regex)
Lapis "works" with Lovense Connect, except that I can't get the Vibrate3
command to work, so it;s just giver/receiver vibes when connected this way.