fix(cat): keep the Kenwood read buffer across commands; log the CAT error
A TS-480 connected, answered ID, then never reported a state: discarding " 000000000010000000;" while waiting for IF connected on COM3 @ 115200 baud cat:state → connected=false freq=0 A headless frame tail can only come from bytes that were thrown away. ask() buffered into a local slice, so everything left after the matched frame — including the head of a frame still arriving — went with it, and the link could sit one answer behind its questions. The buffer now lives on the backend, and Connect drains whatever the rig said before AI0 took effect rather than inheriting it. Also: the cat:state diagnostic prints RigState.Error. It read "connected=false freq=0" and said nothing about why, so every report of a CAT failure arrived without the one fact that explains it — the reason only ever reached a tooltip. New work moves to 0.22.8; 0.22.7 is released.
This commit is contained in:
+16
-4
@@ -1,4 +1,18 @@
|
||||
[
|
||||
{
|
||||
"version": "0.22.8",
|
||||
"date": "",
|
||||
"en": [
|
||||
"Main tab: drag the divider between the two panes to resize them. The setting is remembered and travels with the data folder; double-click the divider to even them out.",
|
||||
"Kenwood: bytes arriving glued to the previous answer are no longer discarded, and the link starts from a clean buffer — a rig whose replies ran together could end up one answer behind and never report connected.",
|
||||
"The CAT log line now carries the error explaining a disconnection."
|
||||
],
|
||||
"fr": [
|
||||
"Onglet Principal : faites glisser le séparateur entre les deux volets pour les redimensionner. Le réglage est mémorisé et suit le dossier de données ; double-clic pour les égaliser.",
|
||||
"Kenwood : les octets reçus collés à la réponse précédente ne sont plus jetés, et la liaison démarre sur un tampon vide — une radio dont les réponses s’enchaînent pouvait rester une réponse en retard et ne jamais apparaître connectée.",
|
||||
"La ligne de journal CAT indique désormais l’erreur expliquant une déconnexion."
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "0.22.7",
|
||||
"date": "",
|
||||
@@ -12,8 +26,7 @@
|
||||
"Info (F2) panel: the fields are sized for what they hold — a wider county, narrower prefix and zones, and the address takes the space left by the bearing and distances.",
|
||||
"Clicking in the lower half no longer draws an orange rule under the tab strip.",
|
||||
"A green NEW badge appears on the County field in Info (F2) when the contacted US county has never been worked.",
|
||||
"DARC DOK award updated to v2 in the catalogue: one reference per QSO.",
|
||||
"Main tab: drag the divider between the two panes to resize them. The setting is remembered and travels with the data folder; double-click the divider to even them out."
|
||||
"DARC DOK award updated to v2 in the catalogue: one reference per QSO."
|
||||
],
|
||||
"fr": [
|
||||
"Le CAT série ne met plus la radio en émission par le seul fait de se connecter : DTR et RTS sont abaissés sur Xiegu, Yaesu et Kenwood comme ils l'étaient déjà sur Icom — un Xiegu G90 derrière un DE-19 partait en émission et y restait.",
|
||||
@@ -25,8 +38,7 @@
|
||||
"Panneau Info (F2) : les champs sont dimensionnés selon leur contenu — comté plus large, préfixe et zones plus étroits, et l’adresse récupère la place laissée par l’azimut et les distances.",
|
||||
"Un clic dans la moitié basse ne trace plus de trait orange sous la barre d’onglets.",
|
||||
"Un badge vert NOUV apparaît sur le champ Comté dans Info (F2) quand le comté américain contacté n’a jamais été travaillé.",
|
||||
"Diplôme DARC DOK mis à jour en v2 dans le catalogue : une seule référence par QSO.",
|
||||
"Onglet Principal : faites glisser le séparateur entre les deux volets pour les redimensionner. Le réglage est mémorisé et suit le dossier de données ; double-clic pour les égaliser."
|
||||
"Diplôme DARC DOK mis à jour en v2 dans le catalogue : une seule référence par QSO."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user