Ping aller-retour Miotiq: byte 9 = command, script ping + écoute réponse

- SensorPayload: byte 9 passe de protocol_version (0x01) à command (0x00 par défaut)
- Nouveau set_command() method (0x00=data normal, 0x01=ping test)
- Nouveau script SARA/sara_ping_miotiq.py: envoie payload 100 bytes avec command=1,
  puis écoute la réponse descendante Miotiq pendant 15s via AT+USORD
- Endpoint launcher.php sara_ping_miotiq
- Bouton "Ping Miotiq" dans la section tests Miotiq (page modem)
- Mise à jour error_flags.md avec la nouvelle map complète du payload

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-04-27 16:17:54 +02:00
parent f6e305e7e3
commit f720649624
5 changed files with 290 additions and 6 deletions

View File

@@ -395,6 +395,12 @@ if ($type == "sara_test_udp") {
echo $output;
}
if ($type == "sara_ping_miotiq") {
$command = 'sudo /usr/bin/python3 -u /var/www/nebuleair_pro_4g/SARA/sara_ping_miotiq.py';
$output = shell_exec($command);
echo $output;
}
if ($type == "sara_check_pdp") {
$command = 'sudo /usr/bin/python3 -u /var/www/nebuleair_pro_4g/SARA/sara_check_pdp.py';
$output = shell_exec($command);