Document Fredorch Rotary Protocol
blackspherefollower opened this issue · comments
BLE Name: M1_*
Service UUID: 0xae10
Tx characteristic: 0xae01
Rx characteristic: 0xae02
General message form: [ 0x55, length-2, data..., checkum (255 & sum of bytes between the first and last bytes), 0xaa]
Handshake:
Start login [0x55, 0x03, 0x99, 0x9c, 0xaa]
Start password (hardcoded to "000000") [0x55, 0x09, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2a, 0xaa]
Commands:
- S+ = 1
- S- = 2
- M+ = 3
- M- = 5
- Stop = 0x24
- Power = 0x1f
- Patterns = 0x16, 0xXX where XX between 0x00-0x13 (changing speed whilst in a pattern disables the pattern after setting the speed)