<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックFRDM-K64F - Failed to printf message through TelnetServer</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346466#M11169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using MQX4.1 on FRDM-K64F board.&lt;/P&gt;&lt;P&gt;Now I create a project to setup a TelnetServer and use it to print some messages to the Client.&lt;/P&gt;&lt;P&gt;I have used func '_io_set_handle()' to change the handle of stdout/stdin, but it doesnt work well.&lt;/P&gt;&lt;P&gt;It means when i use printf(), the message doesnt print on the client immediately, the message was printed after I input something from the client.&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; if(TELNETSRV_telnetfd!=NULL) &amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; _io_set_handle(IO_STDIN, TELNETSRV_telnetfd); &amp;nbsp;&amp;nbsp;&amp;nbsp; _io_set_handle(IO_STDOUT, TELNETSRV_telnetfd); &amp;nbsp; } &amp;nbsp; printf("hwtimer1_callback...\n");&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P&gt;TELNETSRV_telnetfd is a global MQX_FILE_PTR value that I added in telnsrv.c&lt;/P&gt;&lt;P&gt;TELNETSRV_telnetfd&amp;nbsp; held the value of telnetfd in TELNETSRV_child()&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338505" rel="nofollow noopener noreferrer" target="_blank"&gt;testboard.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 07:44:13 GMT</pubDate>
    <dc:creator>yangdongxuan</dc:creator>
    <dc:date>2015-01-15T07:44:13Z</dc:date>
    <item>
      <title>FRDM-K64F - Failed to printf message through TelnetServer</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346466#M11169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using MQX4.1 on FRDM-K64F board.&lt;/P&gt;&lt;P&gt;Now I create a project to setup a TelnetServer and use it to print some messages to the Client.&lt;/P&gt;&lt;P&gt;I have used func '_io_set_handle()' to change the handle of stdout/stdin, but it doesnt work well.&lt;/P&gt;&lt;P&gt;It means when i use printf(), the message doesnt print on the client immediately, the message was printed after I input something from the client.&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; if(TELNETSRV_telnetfd!=NULL) &amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; _io_set_handle(IO_STDIN, TELNETSRV_telnetfd); &amp;nbsp;&amp;nbsp;&amp;nbsp; _io_set_handle(IO_STDOUT, TELNETSRV_telnetfd); &amp;nbsp; } &amp;nbsp; printf("hwtimer1_callback...\n");&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P&gt;TELNETSRV_telnetfd is a global MQX_FILE_PTR value that I added in telnsrv.c&lt;/P&gt;&lt;P&gt;TELNETSRV_telnetfd&amp;nbsp; held the value of telnetfd in TELNETSRV_child()&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338505" rel="nofollow noopener noreferrer" target="_blank"&gt;testboard.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 07:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346466#M11169</guid>
      <dc:creator>yangdongxuan</dc:creator>
      <dc:date>2015-01-15T07:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F - Failed to printf message through TelnetServer</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346467#M11170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to investigate more about this issue and reproduce it. Could you submit a Service Request at &lt;A href="https://community.nxp.com/www.freescale.com/support" target="test_blank"&gt;www.freescale.com/support&lt;/A&gt; please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Carlos Musich&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Technical Support Engineer&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 21:00:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346467#M11170</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-03-23T21:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F - Failed to printf message through TelnetServer</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346468#M11171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;Yes I will do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yang Dongxuan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 07:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346468#M11171</guid>
      <dc:creator>yangdongxuan</dc:creator>
      <dc:date>2015-03-24T07:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F - Failed to printf message through TelnetServer</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346469#M11172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dongxuan，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you resolve this question？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards，&lt;/P&gt;&lt;P&gt;Wenxue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 05:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FRDM-K64F-Failed-to-printf-message-through-TelnetServer/m-p/346469#M11172</guid>
      <dc:creator>wenxue</dc:creator>
      <dc:date>2016-04-14T05:50:23Z</dc:date>
    </item>
  </channel>
</rss>

