docs(miotiq): integrate lat/lon/misc into NebuleAir Pro 4G descriptor

- latitude / longitude: 4 bytes each, offset-unsigned encoding
  (raw = round((deg + 90|180) * 1e6), Miotiq equation x/1000000-90|180)
  to sidestep the absence of signed hex2dec. Precision ~11cm.
- misc: 1 byte, enum 0-6 (documented as extensible without breaking
  the byte layout).
- "No fix" authority = device_status.GPS_NO_FIX bit; defensive rule
  for legacy firmwares documented.
- 9 of the 11 reserved bytes consumed; 2 bytes remain reserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Your Name
2026-04-24 11:21:07 +02:00
parent 33c4472350
commit 232f1b7097
2 changed files with 24 additions and 21 deletions

View File

@@ -173,6 +173,8 @@ Reconstitution : `f"{version_major}.{version_minor}.{version_patch}"` → ex. `"
| 5 | Mesure en vélo |
| 6 | Mesure en transport en commun |
Enum extensible — de nouvelles valeurs peuvent être ajoutées (7, 8, …) sans casser l'encodage 1 octet. Un consommateur qui rencontre une valeur inconnue doit la traiter comme *contexte non renseigné* (équivalent à `0`), pas rejeter la trame.
## Exemple complet (NebuleAir_Pro)
```json