<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title></title></head><body><p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">sieht nach einem Linker Problem aus, weil ich c und c++ vermischt habe.<br /></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><a href="https://www.c-plusplus.net/forum/p2494860#2494860">https://www.c-plusplus.net/forum/p2494860#2494860</a></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Übersetzt wird das Programm jetzt schon einmal...</span></p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"> </span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">-----Original-Nachricht-----</p>
<p style="margin: 0px;">Betreff: Re: [vz-dev] Does libSML compile on esp8266?</p>
<p style="margin: 0px;">Datum: 2016-05-04T07:24:29+0200</p>
<p style="margin: 0px;">Von: "pohltrasher" <pohltrasher@aol.com></p>
<p style="margin: 0px;">An: "volkszaehler.org" <volkszaehler-dev@demo.volkszaehler.org></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div>
<div>Hast du testweise einen festen String ubergeben? Sowas:</div>
<div>'xyz'</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div id="composer_signature">
<div style="font-size: 85%; color: #575757;">Von meinem Samsung Gerät gesendet.</div>
</div>
<br /><br />-------- Ursprüngliche Nachricht --------<br />Von: Andreas Götz <cpuidle@gmail.com> <br />Datum: 03.05.2016 19:18 (GMT+01:00) <br />An: "volkszaehler.org" <volkszaehler-dev@demo.volkszaehler.org> <br />Betreff: Re: [vz-dev] Does libSML compile on esp8266? <br /><br />
<div> </div>
<div>Ich würde sagen Du solltest Dich an ein C Programmierforum wenden, z.B. Stackoverflow ist ein guter Anlaufpunkt.</div>
<div> </div>
<div>Viele Grüße, Andreas </div>
<div><br />Am 03.05.2016 um 17:43 schrieb Tim Abels <<a href="mailto:tim.abels@t-online.de">tim.abels@t-online.de</a>>:<br /><br /></div>
<blockquote>
<div>
<p style="margin: 0px;">Hi,</p>
ich habe diese Funktion in der smllib die ich gerne aufrufen würde:<br /> <br /> <tt><span class="pl-c1">uint8_t</span></tt><tt> </tt><tt><span class="pl-en">sml_transport_parse_message</span></tt><tt>(</tt><tt><span class="pl-k">const</span></tt><tt> </tt><tt><span class="pl-k">unsigned</span></tt><tt> </tt><tt><span class="pl-k">char</span></tt><tt>* smlBinary, </tt><tt><span class="pl-c1">uint32_t</span></tt><tt>* offset, SML_Message* message)</tt><br /> <br /> Ich habe dazu:<br /> <br />   uint32_t offset = 0;<br />   SML_Message decodedMessage;<br />   unsigned char smlBinary[smlIndex];<br /> <br /> Nur leider weiß ich nicht wie ich smlBinary übergeben soll. <br /> direkt geht nicht: undefined reference<br /> die Adresse übergeben: cannot convert 'unsigned char (*)[(((sizetype)(((ssizetype)smlIndex) + -1)) + 1)]' to 'const unsigned char*' for argument '1'<br /> einen Pointer vom Typ unsigned char* übergeben: undefined reference<br /> einen Pointer vom Typ const unsigned char* übergeben: undefined reference<br /> <br /> Ist das Problem, das er die Größe von smlIndex nicht kennt? Die ist ja variabel.<br /> <br /> Ich steig da nicht durch :-(</div>
</blockquote>
</div><br/><br/><div style=\"border:0;border-bottom:1px solid black;width:100%;\"> </div><font style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Gesendet mit <a href="https://t-online.de/email-kostenlos">Telekom Mail</a> - kostenlos und sicher für alle!</font></body></html>