buttplugio / stpihkal

Repo deprecated, STPIHKAL moved to docs.buttplug.io repo
https://docs.buttplug.io/
93 stars 21 forks source link

Document ManNuo Protocol #149

Open blackspherefollower opened 2 years ago

blackspherefollower commented 2 years ago

BLE Name:

Service UUID: 0000fff0-0000-1000-8000-00805f9b34fb Tx Characteristic UUID: 0000fff1-0000-1000-8000-00805f9b34fb Rx Characteristic UUID: 0000fff4-0000-1000-8000-00805f9b34fb

Commands: [ 0xAA 0x55, 0x06, 0x01, 0x01, 0xXX, 0xYY, 0xZZ, 0xSS ] Where:

SS is a checksum:

for (int i = 0; i < 8; i++) {
    data[8] = (byte) (data[8] ^ data[i]);
}