Fix: ping Miotiq command=0x02 pour retrocompat avec capteurs deployés (byte 9 = 0x01)
Les capteurs en production envoient 0x01 sur le byte 9 (ancien protocol_version). Cote serveur: 0x00 et 0x01 = data normal, 0x02 = ping test. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -334,7 +334,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<p class="card-text"><strong>3. Test aller-retour</strong></p>
|
||||
<p class="text-muted small mb-2">Envoie un payload ping (command=1) via UDP puis écoute la réponse descendante Miotiq (~15s).</p>
|
||||
<p class="text-muted small mb-2">Envoie un payload ping (command=2) via UDP puis écoute la réponse descendante Miotiq (~15s).</p>
|
||||
<button class="btn btn-primary" onclick="pingMiotiq()">Ping Miotiq</button>
|
||||
<div id="loading_ping_miotiq" class="spinner-border spinner-border-sm" style="display: none;" role="status"></div>
|
||||
<div id="response_ping_miotiq"></div>
|
||||
|
||||
Reference in New Issue
Block a user