-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document LiBo/Sistalk Protocol #19
Comments
|
6016 seems to be a power cycle counter, it increments every time the device is turned on
Also my devices are from 2022 and seem like an older generation (newer ones have a different charge port) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Continuing from buttplugio/stpihkal#48
Auth protocol for MonsterPub Gen 2 devices
Read from 0x8001 and you will get back a message like:
01 31 96 8f c3 00 00 00 00 00 00 00 00 00 00 00
Take the first byte and use it to select which key to use:
00 = 32 49 50 4f
01 = 4c 53 42 42
02 = 53 49 53 36
03 = 54 41 4c 4b
Generate a 15 byte response where:
Bytes 1-4 are an XOR of the key and bytes 2-5 of the message.
Bytes 5-15 are the bytes of the key repeating.
Send the response to 0x8001.
ex.
Message: 01 31 96 8f c3 00 00 00 00 00 00 00 00 00 00 00
First byte is 0x01 so the key is 0x4c534242.
0x31968fc3 ^ 0x4c534242 = 0x7dc5cd81
Response: 7d c5 cd 81 4c 53 42 42 4c 53 42 42 4c 53 42
The text was updated successfully, but these errors were encountered: