fix: mls LED 명령 ASCII 포맷으로 변경 (buildCommand→buildCommandASCII)
기존: mls? + [0x05, 0x00] (2바이트 LE 파라미터) → LED 안 바뀜 변경: mls?5 (ASCII 숫자) → exe 프로그램과 동일 포맷 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -354,7 +354,7 @@ class BleManager private constructor(private val context: Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun sendLedMode(state: Int) {
|
fun sendLedMode(state: Int) {
|
||||||
sendRaw(CRC16.buildCommand("mls", intArrayOf(state)))
|
sendRaw(CRC16.buildCommandASCII("mls", "$state"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fun sendImuQuery() {
|
fun sendImuQuery() {
|
||||||
|
|||||||
Reference in New Issue
Block a user