stpihkal
stpihkal copied to clipboard
Document TryFun Yaun Series Protocol
BLE Name: TRYFUN-ONE
Service UUID: 0xff10 Tx/Rx Charcteristic: 0xfff1
Command structure: 0xAA 0xNN 0xMM 0xVV 0xZZ Where:
- NN is the number of bytes of data (1 or 2 for send)
- MM is mode (3: pause, 6: heat, 7: thrust, 8: spin, 9: pattern)
- VV is value (pause/heat: 1 on/2 off, thrust/spin: 0-9 speed, pattern: 1-5 patterns)
- ZZ is a checksum (0xFF - (NN+ MM + VV - total bytes summed))
Unknown: aa0102fe and aa0104fc
Heat on: aa020601f9 Heat off: aa020600fa
Thrust Speed: 0: aa020700f9 1: aa020701f8 2: aa020702f7 9: aa020709f0
Spin speed: 0: aa020800f8 9: aa020809ef
Pause: aa020300fd Restart: aa020301fc
Patterns: 0: aa020901f6 5: aa020905f2