Tip: You can use "View Page Source" to get all codes of this demo.
This implementation is based on the Official Lovense Standard API Documentation.
Open Lovense Remote App -> Click Menu "Discover" -> Click "Game Mode" -> Turn on the "Enable LAN" switch -> Input IP and Port
Special command for Solace Pro, and only Solace Pro will respond to.
Designed for Solace Pro, currently supported by all toys.
This function helps calculate the offset time from the server: