<?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>topic Re: Redirect SHELL GETCHAR to custom implementation missing?  in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870170#M1300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Joge,&amp;nbsp; for your rapid response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my personal use case and personal point of view,&amp;nbsp; I think that it is a pity to have to modify the source code of one of the SDK components.&amp;nbsp; Every time I update the SDK, I might&amp;nbsp;loose my modifications and I will have to take care of including them manually.&lt;/P&gt;&lt;P&gt;I think the previous implementation was more convenient as it was part of the shell initialization settings.&amp;nbsp; Actually I have the impression that it is much more complex (and limited) that the previous one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2019 08:38:13 GMT</pubDate>
    <dc:creator>robertoquilez</dc:creator>
    <dc:date>2019-01-16T08:38:13Z</dc:date>
    <item>
      <title>Redirect SHELL GETCHAR to custom implementation missing?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870168#M1298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;In the previous version, a nice feature that now is missing was to redirect the GETCHAR (SHELLReveiveDataCallBack) to a custom implementation. For instance, this enabled to implement a GETCHAR version with a SHELL freertos task in SUSPENDED STATE&amp;nbsp;while&amp;nbsp;waiting for a character.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Is there a way to redirect the GETCHAR to a custom application as before with the new SDK shell version?&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;By the way, the SHELL in SDK 2.5.0&amp;nbsp;documentation&amp;nbsp;(MCUXpresso SDK API Reference Manual_MK66F18.pdf) does not match the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation refers to :&amp;nbsp;&lt;/P&gt;&lt;P&gt;SHELL_Init(&amp;amp;user_context, SHELL_SendDataCallback, SHELL_ReceiveDataCallback, "SHELL&amp;gt;&amp;gt; ");&lt;/P&gt;&lt;P&gt;When the SDK source code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt);&lt;/P&gt;&lt;DIV class="" title="Page 811"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870168#M1298</guid>
      <dc:creator>robertoquilez</dc:creator>
      <dc:date>2019-01-11T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect SHELL GETCHAR to custom implementation missing?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870169#M1299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto Quilez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The implementation in the SDK 2.4 version uses callbacks for the "send" and the "receive" functions. Now in SDK 2.5, those parts are managed in the serial_manager component, so if you want to change this, you can do it in the SerialManager_StartReading function in the serial_manager.c/.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the documentation, thanks for pointing out this, I will report this for future releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information helps&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 21:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870169#M1299</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2019-01-15T21:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect SHELL GETCHAR to custom implementation missing?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870170#M1300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Joge,&amp;nbsp; for your rapid response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my personal use case and personal point of view,&amp;nbsp; I think that it is a pity to have to modify the source code of one of the SDK components.&amp;nbsp; Every time I update the SDK, I might&amp;nbsp;loose my modifications and I will have to take care of including them manually.&lt;/P&gt;&lt;P&gt;I think the previous implementation was more convenient as it was part of the shell initialization settings.&amp;nbsp; Actually I have the impression that it is much more complex (and limited) that the previous one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 08:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Redirect-SHELL-GETCHAR-to-custom-implementation-missing/m-p/870170#M1300</guid>
      <dc:creator>robertoquilez</dc:creator>
      <dc:date>2019-01-16T08:38:13Z</dc:date>
    </item>
  </channel>
</rss>

