- We got a set of Chinese cheap ble LED strip that controls via happy lighting app and wish to control it with my own app or ble device
- A Mac and an iPhone connect to it with cable is needed.
- Xcode, apple developer account is needed
- iOS version > 13, Xcode > 11
- Download profile with this link and install it on iPhone. https://developer.apple.com/bug-reporting/profiles-and-logs/?name=bluetooth
- Download additional tools for xcode and install it. Open packet logger inside hardware folder.
- Filter handle 0x0040 in my case
- Thanks to saberlight the status and static color protocols are the same.
- However, the modes is a different story.
- Discovered the characteritics under FFD5 & FFD0, and we would easily found FFD9 as RX and FFD4 as TX
FFD1 works, but not FFDA. thus I end up follow saberlight's version using only FFD9 & FFD4
- Status works pretty much the same.
- [EF, 01, 77]
- payload[0], always 0x66
- payload[1], ??
- payload[2], power status, 0x23 on, 0x24, off
- payload[3], modes, 0x41 static mode, starting from 0x00 in my led (up to 0xFF)
- payload[4], ??
- payload[5], speed
- payload[6], R
- payload[7], G
- payload[8], B
- payload[9], W
- payload[10], ??
- payload[11], always 0x99
- [CC, 23/24, 33]
0x23 on, 0x24 off
- [9E, 00, mode, speed, intensity, 00, e9]
- modes from 0 - 255