<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[erreur trame TIC ADCO ?]]></title><description><![CDATA[<p dir="auto">Bonjour à tous,</p>
<p dir="auto">Je débute et je teste la librairie LibTeleinfo avec un esp32 mais avec Teleinfo_DenkyD4.ino<br />
(V1.01 2021-04-18 - Refactored for Denky D4 standalone test only)</p>
<p dir="auto">Tout semble fonctionner mais il y a une erreur sur la variable ADCO.<br />
Affiche 2147483647 au lieu de  031762023755.<br />
La donnée sur la trame traitée n'est pas celle reçue et affichée !  (voir ci- dessous)</p>
<p dir="auto">Y a t'il moyen de corriger cela ?<br />
Nota : sur la version esp32  (ESP32.ino) la valeur ADCO était correcte.</p>
<p dir="auto">Merci à vous.</p>
<p dir="auto">... HHPHC A ,<br />
MOTDETAT 000000 B<br />
&lt;ETX&gt;</p>
<p dir="auto">&lt;STX&gt;<br />
ADCO <strong>031762023755</strong> @<br />
OPTARIF BASE 0<br />
ISOUSC 30 9<br />
BASE 015572905 -<br />
PTEC TH.. $<br />
IINST 002 Y<br />
IMAX 090 H<br />
PAPP 00490 .<br />
HHPHC A ,<br />
MOTDETAT 000000 B<br />
{"ADCO":<strong>2147483647</strong>, "OPTARIF":"BASE", "ISOUSC":30, "BASE":15572905, "PTEC":"TH..", "IINST":2, "IMAX":90, "PAPP":490, "HHPHC":"A", "MOTDETAT":0}<br />
&lt;ETX&gt;</p>
<p dir="auto">&lt;STX&gt;<br />
ADCO 031762023755 @<br />
OPTARIF BASE 0<br />
ISOUSC 30 9  ...</p>
]]></description><link>https://community.ch2i.eu/topic/1355/erreur-trame-tic-adco</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 00:06:54 GMT</lastBuildDate><atom:link href="https://community.ch2i.eu/topic/1355.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Sep 2022 14:15:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Wed, 21 Sep 2022 20:12:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/g%C3%A9ryko" aria-label="Profile: Géryko">@<bdi>Géryko</bdi></a> Oui dans la librairie tous les champs sont traité en mode natif, c'est à dire des char, après sur l'affichage ou autre il faut faire du spécifique cf<br />
<a href="https://github.com/hallard/LibTeleinfo/issues/22" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/hallard/LibTeleinfo/issues/22</a></p>
]]></description><link>https://community.ch2i.eu/post/4620</link><guid isPermaLink="true">https://community.ch2i.eu/post/4620</guid><dc:creator><![CDATA[Charles]]></dc:creator><pubDate>Wed, 21 Sep 2022 20:12:30 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Tue, 20 Sep 2022 09:54:52 GMT]]></title><description><![CDATA[<p dir="auto">Bonjour,<br />
<strong>Autre possibilité, mettre</strong> :<br />
(strlen(me-&gt;value) &gt; 9) ? SERIAL_DEBUG.print(me-&gt;value) : SERIAL_DEBUG.print(atoi(me-&gt;value));</p>
<p dir="auto">Mais transformer String en nombre ne sert quasiment à rien pour l'afficher ?<br />
(hormis effacer le zéros non significatifs et revérifier qu'il ne s'agit bien que de chiffres)<br />
Une double erreur peut provoquer un checksum OK.</p>
]]></description><link>https://community.ch2i.eu/post/4619</link><guid isPermaLink="true">https://community.ch2i.eu/post/4619</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Mon, 19 Sep 2022 21:48:09 GMT]]></title><description><![CDATA[<p dir="auto">Bonsoir à tous,</p>
<p dir="auto"><strong>J'ai trouvé et résolu le problème.</strong></p>
<p dir="auto">Dans le fichier .ino il y a  :	 Serial.print(atol(me-&gt;value));<br />
Il faut :	 Serial.print(me-&gt;value);<br />
Car "atol" convertit  en long alors que (me-&gt;value) = 12 chiffres.<br />
Merci</p>
]]></description><link>https://community.ch2i.eu/post/4618</link><guid isPermaLink="true">https://community.ch2i.eu/post/4618</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Mon, 19 Sep 2022 21:48:09 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Mon, 19 Sep 2022 19:38:01 GMT]]></title><description><![CDATA[<p dir="auto">Bonsoir à tous,</p>
<p dir="auto">Le viens de faire des  tests complémentaires.</p>
<p dir="auto">Si ADCO est &lt; à 2147483647 c'est OK  ( 7fffffff (hex)  2^31 )<br />
Si ADCO est &gt; à 2147483647 c'est mauvais.</p>
<p dir="auto">Mais je ne comprends pas comment cette valeur est déclarée ?<br />
Il n'y a que du char dans la librairie LibTeleinfo.h et LibTeleinfo.cpp !</p>
<p dir="auto">Quelqu'un peut-il m'aider à résoudre ce petit problème ?<br />
Merci</p>
]]></description><link>https://community.ch2i.eu/post/4617</link><guid isPermaLink="true">https://community.ch2i.eu/post/4617</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Mon, 19 Sep 2022 19:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Tue, 13 Sep 2022 16:36:47 GMT]]></title><description><![CDATA[<p dir="auto">Bonjour  Nicolas Bernaerts,<br />
et merci pour ta réponse.</p>
<p dir="auto">Mais comme je l'ai écrit, c'est un problème de la bibliothèque <strong>LibTeleinfo</strong> que je ne sais pas traiter.<br />
Pour l'instant je n'ai rien programmé. L'anomalie est présente avec les exemples fournis.<br />
je ne suis pas assez "performant". en programmation.</p>
<p dir="auto">Je vais quand même y jeter un oeil sur les déclarations mais ???<br />
En clair, que faudrait-il modifier ?</p>
<p dir="auto"><strong>PS</strong> : à priori, toutes les données sont des "char".</p>
]]></description><link>https://community.ch2i.eu/post/4609</link><guid isPermaLink="true">https://community.ch2i.eu/post/4609</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Tue, 13 Sep 2022 16:36:47 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Tue, 13 Sep 2022 13:57:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/g%C3%A9ryko" aria-label="Profile: Géryko">@<bdi>Géryko</bdi></a> ADCO doit être traité comme un long long pour être géré en valeur numérique. Sinon, il faut le traiter en string.</p>
]]></description><link>https://community.ch2i.eu/post/4608</link><guid isPermaLink="true">https://community.ch2i.eu/post/4608</guid><dc:creator><![CDATA[Nicolas Bernaerts]]></dc:creator><pubDate>Tue, 13 Sep 2022 13:57:17 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Tue, 13 Sep 2022 08:38:24 GMT]]></title><description><![CDATA[<p dir="auto">Bonjour,</p>
<p dir="auto">Remarques :</p>
<ol>
<li>
<p dir="auto">Un indice :  2147483647 (dec) = 7fffffff (hex)  "Comme c'est bizarre !"<br />
Je ne suis pas assez connaisseur pour trouver la cause du problème.</p>
</li>
<li>
<p dir="auto">Sans rapport avec le problème principal.<br />
Lorsque je créer un faux checksum sur une des étiquettes, l'affichage  de cette étiquette ne se fait pas OK, mais je n'ai aucun signalement !<br />
Comment faire pour afficher les problèmes  sur le moniteur ?<br />
genre ligne 901 du .cpp :  TI_Debugf(PSTR("LibTeleinfo::checkLine Err checksum 0x%02X != 0x%02X"), calc_checksum, checksum);</p>
</li>
</ol>
<p dir="auto">Merci à vous.</p>
]]></description><link>https://community.ch2i.eu/post/4606</link><guid isPermaLink="true">https://community.ch2i.eu/post/4606</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Tue, 13 Sep 2022 08:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Mon, 12 Sep 2022 16:26:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/g%C3%A9ryko" aria-label="Profile: Géryko">@<bdi>Géryko</bdi></a> said in <a href="/post/4601">erreur trame TIC ADCO ?</a>:<br />
Sur mon 1er message :</p>
<blockquote>
<p dir="auto"><s>Nota : sur la version esp32  (ESP32.ino) la valeur ADCO était correcte</s>.</p>
</blockquote>
<p dir="auto">Je ne suis plus sûr de mon coup ?<br />
Sur la version "basique" il y avait le même problème mais je ne l'avais pas remarqué.</p>
]]></description><link>https://community.ch2i.eu/post/4605</link><guid isPermaLink="true">https://community.ch2i.eu/post/4605</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Mon, 12 Sep 2022 16:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to erreur trame TIC ADCO ? on Mon, 12 Sep 2022 15:13:11 GMT]]></title><description><![CDATA[<p dir="auto">Bonjour,<br />
Question subsidiaire :<br />
J'ai actuellement un contrat basique (pas de HP-HC) et  une TIC Linky "historique".<br />
Si j'ai bien compris, en passant en TIC "standard" je n'aurai aucune information supplémentaire ?</p>
<p dir="auto">Correct ou pas ?<br />
Merci.</p>
]]></description><link>https://community.ch2i.eu/post/4604</link><guid isPermaLink="true">https://community.ch2i.eu/post/4604</guid><dc:creator><![CDATA[Géryko]]></dc:creator><pubDate>Mon, 12 Sep 2022 15:13:11 GMT</pubDate></item></channel></rss>