shivao-projeto/server/src
PontualTech / Karlão 2fca191676
Some checks are pending
Build Android (APK + AAB) / build-android (push) Waiting to run
fix(ble): bmsManualRead reconecta GATT antes do probe v1.10.5
Bug v1.10.4: clicar 🔄 Re-ler gerava 'getServices erro: Bluetooth LE
not initialized' porque Android desconecta GATT em background pra
economizar bateria, mas state.btDevices ainda mostra 'conectado'.

Fix: bmsManualRead agora faz 3 passos sequenciais com diagnóstico:
1. ensureBleNativeReady() — garante plugin inicializado
2. ble.connect({deviceId, timeout:15000}) — reconecta GATT (silent
   se 'already connected')
3. bmsProbeAndAttach() — probe completo

Cada passo emite log próprio: "Plugin init OK", "GATT reconectado"
ou "GATT já conectado", "🔍 Enumerando characteristics..."

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 07:18:44 -03:00
..
schemas feat(billing): integração Asaas — checkout PIX/Cartão/Boleto + webhook + UI upgrade 2026-04-27 15:55:08 -03:00
auth.js feat(saas): multi-tenant com login/cadastro + JWT + planos free/pro/captain 2026-04-27 15:37:15 -03:00
billing.js feat(billing): integração Asaas — checkout PIX/Cartão/Boleto + webhook + UI upgrade 2026-04-27 15:55:08 -03:00
db.js feat(gcal): integração Google Agenda bidirecional (graceful-disabled se sem env) 2026-04-28 06:56:56 -03:00
google-calendar.js feat(gcal): integração Google Agenda bidirecional (graceful-disabled se sem env) 2026-04-28 06:56:56 -03:00
index.js fix(ble): bmsManualRead reconecta GATT antes do probe v1.10.5 2026-04-29 07:18:44 -03:00
notifications.js chore: initial commit + security hardening (4 runs squad shivao-melhoria) 2026-04-27 13:24:08 -03:00
realtime.js feat(sync): WebSocket realtime + auto-push/pull entre PC e celular v1.5.0 2026-04-28 06:51:35 -03:00