fix: Spot 측정 maa 복원 (mbb는 rbb 파싱 검증 후 전환)

mbb 응답에서 rbb: 패킷 구조가 불명확하여 collector 동작 불안정.
Spot/자동측정 모두 maa(sendChannelsOnly)로 안정화.
mbb는 로그로 rbb: 바이트 구조 확인 후 전환 예정.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 12:30:17 +09:00
parent 9842644e23
commit be0264d24c
@@ -181,7 +181,7 @@ fun PiezoMonitoringView(appState: AppState) {
}
bleManager.piezoCollector.onLog = { msg -> Log.d("PiezoCollector", msg) }
bleManager.sendFullMeasurement()
bleManager.sendChannelsOnly()
// Timeout with auto-retry (15s)
handler.postDelayed({
@@ -190,7 +190,7 @@ fun PiezoMonitoringView(appState: AppState) {
measureRetryCount++
Log.w("PiezoMonitor", "Timeout — auto-retry $measureRetryCount/$maxMeasureRetries")
bleManager.piezoCollector.reset()
bleManager.sendFullMeasurement()
bleManager.sendChannelsOnly()
// Second timeout for retry
handler.postDelayed({
if (!isMeasuring) return@postDelayed