<?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のトピックModifying LWIP ping demo FRDMK64F</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Modifying-LWIP-ping-demo-FRDMK64F/m-p/450935#M15110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some issues modifying this demo to do what I want. Here's the configuratioon, correct me if I'm wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Static IP assignment (no DHCP)&lt;/P&gt;&lt;P&gt;* Static IP address target&lt;/P&gt;&lt;P&gt;* No status update for link / interface&lt;/P&gt;&lt;P&gt;* Demo appears to stall when cable removed - no error checking? I can see there should be a timeout message on ping fail. Doesn't happen for me though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I want it to do:&lt;/P&gt;&lt;P&gt;* Use DHCP&lt;/P&gt;&lt;P&gt;* Update status when cable is unplugged / plugged back in&lt;/P&gt;&lt;P&gt;* Update status when an IP address is given from DHCP server&lt;/P&gt;&lt;P&gt;* Give an error message / timeout when a ping fails.&lt;/P&gt;&lt;P&gt;* Accept a ping command over the serial port (I've done the serial IO part already)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The status updates I think need me to write a callback function? The status and link callback function pointers in the interface are both 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, does the hardware support cable detection? I assume so as the green led seems to indicate so.&lt;/P&gt;&lt;P&gt;Secondly, is it a trivial task to add DHCP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions here would be welcome, and I'm happy to share code as this is an open project... :smileyhappy: Basically this will be a serial terminal that pings a connection you specify, and tells you if the cable has been unplugged, or if the network has failed (well, whether the ping has failed that is.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Oct 2015 16:20:27 GMT</pubDate>
    <dc:creator>TurboMan</dc:creator>
    <dc:date>2015-10-10T16:20:27Z</dc:date>
    <item>
      <title>Modifying LWIP ping demo FRDMK64F</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Modifying-LWIP-ping-demo-FRDMK64F/m-p/450935#M15110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some issues modifying this demo to do what I want. Here's the configuratioon, correct me if I'm wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Static IP assignment (no DHCP)&lt;/P&gt;&lt;P&gt;* Static IP address target&lt;/P&gt;&lt;P&gt;* No status update for link / interface&lt;/P&gt;&lt;P&gt;* Demo appears to stall when cable removed - no error checking? I can see there should be a timeout message on ping fail. Doesn't happen for me though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I want it to do:&lt;/P&gt;&lt;P&gt;* Use DHCP&lt;/P&gt;&lt;P&gt;* Update status when cable is unplugged / plugged back in&lt;/P&gt;&lt;P&gt;* Update status when an IP address is given from DHCP server&lt;/P&gt;&lt;P&gt;* Give an error message / timeout when a ping fails.&lt;/P&gt;&lt;P&gt;* Accept a ping command over the serial port (I've done the serial IO part already)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The status updates I think need me to write a callback function? The status and link callback function pointers in the interface are both 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, does the hardware support cable detection? I assume so as the green led seems to indicate so.&lt;/P&gt;&lt;P&gt;Secondly, is it a trivial task to add DHCP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions here would be welcome, and I'm happy to share code as this is an open project... :smileyhappy: Basically this will be a serial terminal that pings a connection you specify, and tells you if the cable has been unplugged, or if the network has failed (well, whether the ping has failed that is.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 16:20:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Modifying-LWIP-ping-demo-FRDMK64F/m-p/450935#M15110</guid>
      <dc:creator>TurboMan</dc:creator>
      <dc:date>2015-10-10T16:20:27Z</dc:date>
    </item>
  </channel>
</rss>

