Lovense
Introduction
Lovense has been manufacturing toys since 2011.
Bluetooth Details
While all lovense toys use the same protocol, they can communicate over bluetooth differently, depending on when they were released.
Bluetooth 2.0 Toys
The first toys released by Lovense used both Bluetooth 2.0 SPP (emulating a serial port) and Bluetooth LE. This was most likely due to the sparse mobile support of BTLE when they were released.
These toys include:
- Max
- Nora
When paired with a system via Bluetooth 2.0, these toys identify as a serial port. These toys are also capable of using Bluetooth 4.0, as outlined in the next section.
Bluetooth LE Toys
Starting with the Lush, all toys released by Lovense use only Bluetooth LE.
These toys have GATT characteristics to mimic the RX/TX setup of the serial port style control of the old toys. The GATT service and characteristic IDs differ between different toy firmware versions.
Version 1 Toys
Names:
- LVS-A011 (Nora)
- LVS-C011 (Nora)
- LVS-B011 (Max)
- LVS-L009 (Ambi)
Service and Characteristic UUIDs:
- Service UUID (Max/Nora): 0000fff0-0000-1000-8000-00805f9b34fb
- RX Characteristic UUID (Max/Nora): 0000fff1-0000-1000-8000-00805f9b34fb
- TX Characteristic UUID (Max/Nora): 0000fff2-0000-1000-8000-00805f9b34fb
Version 2 Toys
Names:
- LVS-S001 (Lush)
LVS-Z001 (Hush)
Service UUID (All Others): 6e400001-b5a3-f393-e0a9-e50e24dcca9e
- TX Characteristic UUID (All Others): 6e400002-b5a3-f393-e0a9-e50e24dcca9e
- RX Characteristic UUID (All Others): 6e400003-b5a3-f393-e0a9-e50e24dcca9e
Version 3 Toys
Names:
LVS-P36 (Edge)
Service UUID (All Others): 50300001-0024-4bd4-bbd5-a6920e4c5653
- TX Characteristic UUID (All Others): 50300002-0024-4bd4-bbd5-a6920e4c5653
- RX Characteristic UUID (All Others): 50300003-0024-4bd4-bbd5-a6920e4c5653
Version 4 Toys
Names:
LVS-Domi37 (Domi)
Service UUID (All Others): 57300001-0023-4bd4-bbd5-a6920e4c5653
- TX Characteristic UUID (All Others): 57300002-0023-4bd4-bbd5-a6920e4c5653
- RX Characteristic UUID (All Others): 57300003-0023-4bd4-bbd5-a6920e4c5653
Protocol
Commands for Lovense toys follows these rules:
- Commands and replies are strings, using semicolons to mark their end.
- All commands start with a command identifier word, then possibly either specifiers or levels, delimited by colons. e.g. "Vibrate:5;" would set vibration to 5.
- Replies are in the context of the command (i.e. sending "Battery;" will just return a number, like "85;"), but can still be colon delimited lists.
- Commands that do not return a context specific value will return "OK;" on success, "ERR;" on error.
Command List
The following is the known command table for all toys. Anything send or received over the serial port is in quotes to denote communication, but should not be sent using quotes if you are implementing your own version of this protocol. Commands with ":x" mean that the x should be replaced with a number, the range of which is mentioned in the description.
Get Device Information
Returns toy model type, firmware version, and bluetooth MAC address, as a colon delimited list
Availability: All toys
Command Format
DeviceType;
Return Example
C:11:0082059AD3BD;
Denotes Nora toy, running v1.1 firmware, BT Addr of 00:82:05:9A:D3:BD
Model Types:
Model | Type Letter |
---|---|
Nora | A or C |
Max | B |
Ambi | L |
Lush | S |
Hush | Z |
Domi | W |
Edge | P |
Osci | O |
Get Battery Level
Returns the battery level of the toy as an integer percentage from 0-100.
Availability: All toys
Command Format
Battery;
Return Example
85;
Denotes 85% battery remaining.
Turn Off Power
Turns off power to the toy.
Availability: All toys
Command Format
PowerOff;
Return Example
OK;
Device Status
Retreive the status of the toy.
Availability: All toys
Command Format
Status:1;
Return Example
2;
Status Codes:
- 2: Normal
Set Vibration Speed
Changes the vibration speed for the toy. Takes integer values from 0-20.
Availability: All toys
Command Format
Vibrate:10;
Sets vibration speed to 10 (50%).
Return Example
OK;
Start Accelerometer Data Stream
Starts a stream of accelerometer data. Will send constantly until stop command is sent. Incoming accelerometer data starts with the letter G, followed by 3 16-bit little-endian numbers.
Availability: Max, Nora
Command Format
StartMove:1;
Return Example
GEF008312ED00;
Denotes [0x00EF, 0x1283, 0x00ED] accelerometer readings.
Stop Accelerometer Data Stream
Stops stream of accelerometer data.
Availability: Max, Nora
Command Format
StopMove:1;
Return Example
OK;
Change Rotation Direction
Changes the direction of rotation for the toy.
Availability: Nora
Command Format
RotateChange;
Return Example
OK;
Set rotation speed
Changes the rotation speed of the Nora toy. Takes integer values from 0-20.
Availability: Nora
Command Format
Rotate:10;
Sets rotation speed to 10 (50%).
Return Example
OK;
Set Absolute Air Level
Changes the inflation level of the Max toy. Takes integer values from 0-5.
Availability: Max
Command Format
Air:Level:3;
Sets air level to 3 (60%).
Return Example
OK;
Set Relative Inflation Level
Inflates relative to current level, i.e. if currently inflation level is 3, and "Air:In:1;" is sent, will inflate to 4.
Availability: Max
Command Format
Air:In:1;
Sets air level to 1 level more inflated than it was.
Return Example
OK;
Set Relative Deflation Level
Deflates relative to current level, i.e. if currently inflation level is 3, and "Air:Out:1;" is sent, will deflate to 2.
Availability: Max
Command Format
Air:Out:1;
Sets air level to 1 level deflated than it was.
Return Example
OK;
Related Projects and Links
The applications and repositories below contain implementations of the Lovense communications protocol, or have relevant information about the hardware/firmware.
- Buttplug C# (All toys): https://github.com/metafetish/buttplug-csharp
- Buttplug JS (All toys): https://github.com/metafetish/buttplug-js
- lovesense-rs (Rust, Max/Nora only): https://github.com/metafetish/lovesense-rs
- lovesense-py (Python, Max/Nora only): https://github.com/metafetish/lovesense-py
- Max/MSP patch (Max/MSP, Max/Nora only): https://github.com/metafetish/lovesense-max
- Node.js Library (Max/Nora only): https://github.com/metafetish/lovesense-js
- WebBluetooth JS Library/Demo (Hush only): https://github.com/metafetish/lovesense-hush-js-demo