<?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: Retrieving dynamic IP using DHCP in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170696#M1908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrey, Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am still missing something: why would I want to use ipcfg functions, rather than RTCS functions? What is the recommended usage for each? While I choose one service, can I also use the 2nd one, or should I be consistent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask that because I've seen a few methods to init services &amp;amp; modules (i.e. DHCP), and I am a bit confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Lior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 13:53:13 GMT</pubDate>
    <dc:creator>panpwr</dc:creator>
    <dc:date>2012-11-12T13:53:13Z</dc:date>
    <item>
      <title>Retrieving dynamic IP using DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170694#M1906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am kinda new with MQX. I am trying to retrieve an IP dynamically for my &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;TWR-K60D100M&lt;/SPAN&gt; board, using the RTCS DHCP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found that there are 3 methods to do so, and I would like to know what are the differences/cons/pros of each method:&lt;/P&gt;&lt;P&gt;1. Using &lt;STRONG&gt;RTCS_if_bind_DHCP_timed().&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Using &lt;STRONG&gt;ipcfg_bind_dhcp_wait().&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. Using &lt;STRONG&gt;ipcfg_bind_dhcp()&lt;/STRONG&gt;&amp;nbsp; followed by&amp;nbsp; &lt;STRONG&gt;ipcfg_poll_dhcp().&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is generally the difference between the RTCS functions and the ipcfg functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Lior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2012 09:04:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170694#M1906</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2012-11-11T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving dynamic IP using DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170695#M1907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Hi Lior,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Look at ipcfg_xxx as at the application library which is actually calls RTCS functions/services.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Usually ipcfg_ xxx functions call RTCS_xxx functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Andrey Butok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 09:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170695#M1907</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2012-11-12T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving dynamic IP using DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170696#M1908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrey, Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am still missing something: why would I want to use ipcfg functions, rather than RTCS functions? What is the recommended usage for each? While I choose one service, can I also use the 2nd one, or should I be consistent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask that because I've seen a few methods to init services &amp;amp; modules (i.e. DHCP), and I am a bit confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Lior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 13:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170696#M1908</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2012-11-12T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving dynamic IP using DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170697#M1909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hi Lior,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I suggest using of ipcfg_xxx() where it is possible, just to be consistent. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;You can look at ipcfg.c, to understand its internals/functionality.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Also look at sh_ipconfig.c as its usage example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Andrey Butok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 14:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Retrieving-dynamic-IP-using-DHCP/m-p/170697#M1909</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2012-11-12T14:23:00Z</dc:date>
    </item>
  </channel>
</rss>

