<?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のトピックRe: TCP issues</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242601#M6863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;:smileyhappy: Thanks, that`s what i supposed because i already made the network configuration and worked OK, but since the rj45 detection doesn`t work i thought that maybe &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;setup_network();&lt;/SPAN&gt; was a special function required for it. Gonna read it, thank you for your patience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 14:36:50 GMT</pubDate>
    <dc:creator>CamiloA_</dc:creator>
    <dc:date>2013-01-31T14:36:50Z</dc:date>
    <item>
      <title>TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242597#M6859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning everybody, today I have a couple of questions regarding TCP/IP functions and hopefully you could give me advices. My first problem is that I need to know if my RJ-45 cable is disconnected. I´ve tried a lot of things like: &lt;STRONG&gt;ipcfg_get_link_active&lt;/STRONG&gt;, (which is always returning 0, whether the cable is connected or not)&lt;STRONG&gt; ipcfg_get_state(), &lt;/STRONG&gt;which is responding 3 which stands for IPCFG_STATE_STATIC_IP, &lt;STRONG&gt;ipcfg_task_create() &lt;/STRONG&gt;(everytime I call this sentence my program quits the task, so I can´t test if it actually works). I also tried to shutdown the socket and connecting it again afterwards, but never connects again. I really don´t know what to do because I`ve tried almost everything I know. On the other hand, does someone how to reset mi microcontroller with an mqx command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards and thank you in advance for your cooperation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 16:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242597#M6859</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-30T16:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242598#M6860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Camilo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(uint_32 param)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;setup_network();&lt;/P&gt;&lt;P&gt;ipcfg_task_create(8, 1000);&lt;/P&gt;&lt;P&gt;if (! ipcfg_task_stats()) _task_block();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(uint_32 param)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;setup_network();&lt;/P&gt;&lt;P&gt;while (1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_time_delay(1000);&lt;/P&gt;&lt;P&gt;ipcfg_task_poll();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Garabo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 03:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242598#M6860</guid>
      <dc:creator>Luis_Garabo</dc:creator>
      <dc:date>2013-01-31T03:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242599#M6861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Garabo, yes, actually that was the first thing that I`ve tried but setup_network(); is not defined in my MQX libraries. it says to me that function has no prototype. I tried without using it and every time I call &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ipcfg_task_create(8, 1000);&lt;/SPAN&gt; the current task is blocked, maybe it´s because of this, how is it defined in your mqx, maybe I can add it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and have a good day..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242599#M6861</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-31T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242600#M6862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Camilo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, actually the function setup_network(); does not exist. It is only to let you know that you have to do the network setup before trying to perform any IPCFG work. I recommend you to review the example:&lt;/P&gt;&lt;P&gt;C:\Program Files\Freescale\Freescale MQX 3.8\demo\security_webserver&lt;/P&gt;&lt;P&gt;The function SEC_InitializeNetworking() is the one you want to port to your example. The other thing you can do is to test the function ipcfg_task_create() in this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Garabo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242600#M6862</guid>
      <dc:creator>Luis_Garabo</dc:creator>
      <dc:date>2013-01-31T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242601#M6863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;:smileyhappy: Thanks, that`s what i supposed because i already made the network configuration and worked OK, but since the rj45 detection doesn`t work i thought that maybe &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;setup_network();&lt;/SPAN&gt; was a special function required for it. Gonna read it, thank you for your patience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242601#M6863</guid>
      <dc:creator>CamiloA_</dc:creator>
      <dc:date>2013-01-31T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: TCP issues</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242602#M6864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Luck!&lt;/P&gt;&lt;P&gt;-Garabo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 16:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/TCP-issues/m-p/242602#M6864</guid>
      <dc:creator>Luis_Garabo</dc:creator>
      <dc:date>2013-01-31T16:17:11Z</dc:date>
    </item>
  </channel>
</rss>

