<?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 PPP receive 16 bytes every second after connection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1560409#M64367</link>
    <description>&lt;P&gt;I create a PPP connection over serial,but after connection,the serial will receive 16 bytes data every second as the picture below .Is it a normal phenomenon?Can I send something to cancel this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="无标题.png" style="width: 945px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201858i3D43664A757FABE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="无标题.png" alt="无标题.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 07:17:19 GMT</pubDate>
    <dc:creator>jake111</dc:creator>
    <dc:date>2022-11-28T07:17:19Z</dc:date>
    <item>
      <title>PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1560409#M64367</link>
      <description>&lt;P&gt;I create a PPP connection over serial,but after connection,the serial will receive 16 bytes data every second as the picture below .Is it a normal phenomenon?Can I send something to cancel this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="无标题.png" style="width: 945px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201858i3D43664A757FABE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="无标题.png" alt="无标题.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 07:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1560409#M64367</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-11-28T07:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567072#M64415</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206427"&gt;@jake111&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Could you please help us with more details about your application? What SDK are you using? Are you using RTOS? Which one are you using?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Which device or board are you using? Is it a custom or an NXP board?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regards, Raul.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 21:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567072#M64415</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-08T21:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567167#M64417</link>
      <description>&lt;P&gt;Chip：MK64FN1M0VMD12（not an NXP Borad,it is made by myself）&lt;/P&gt;&lt;P&gt;SDK ：SDK_2_11_0_FRDM-K64F_FULL(LwIP2.2.0)&lt;/P&gt;&lt;P&gt;OS：FreeRTOS&lt;/P&gt;&lt;P&gt;The board has a SIM card slot connecting to a 4G module using AT command to oprerate..This is the flow in my program as below:&lt;/P&gt;&lt;P&gt;1.reset 4G module&lt;/P&gt;&lt;P&gt;2.enable CMUX function using AT command "AT+CMUX=0,0,5,1024",after this,all command should follow&amp;nbsp;gsm0710 protocol.&lt;/P&gt;&lt;P&gt;3.Initialize two virtual com channel,one for ppp frames,one for AT command.&lt;/P&gt;&lt;P&gt;4.call tcpip_init(NULL, NULL);&lt;/P&gt;&lt;P&gt;5.send a list of AT command to the ppp channel to initialize and&amp;nbsp; enable ppp.Especially AT+CGDATA="PPP",1 should be sent.&lt;/P&gt;&lt;P&gt;6.call pppapi_pppos_create,pppapi_set_default and pppapi_connect&lt;/P&gt;&lt;P&gt;7.Now the PPP data will send to UART then dispatch to PPP virtual com.Then call pppos_input_tcpip to send the data to the LwIP kernel.&lt;/P&gt;&lt;P&gt;The 16 bytes is received by PPP virtual com after PPP is connected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 02:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567167#M64417</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-12-09T02:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567320#M64419</link>
      <description>&lt;P&gt;I've encountered another issue:&lt;/P&gt;&lt;P&gt;①I have set a Timer by calling xTinerCreate to judge if PPP is connected within 15 seconds.If not,I will call ppp_link_terminated to terminate the connection.&lt;/P&gt;&lt;P&gt;But after that the fsm_timeout is not canceled which may call pppos_write eventually to continue to request the connection.&lt;/P&gt;&lt;P&gt;②if a PPP connection is established,now I want to disconnect it,I call&amp;nbsp;ppp_link_terminated.But a few seconds later,a hardfault occurs when executing pppos-&amp;gt;output_cb in pppos_output_last.&lt;/P&gt;&lt;P&gt;I don't know what's the correct disconnection scheme.I think if a connection is closed,all relevant timers should be canceled.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 07:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567320#M64419</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-12-09T07:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567855#M64426</link>
      <description>&lt;P&gt;the 16 bytes frame will go to the function "lcp_extcode" case `ECHOREQ` and the 16 bytes frame will echo back to the peer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find two links about it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.eit.lth.se/ppplab/PPPdocs/PPPLCPoverview.htm" target="_self"&gt;https://www.eit.lth.se/ppplab/PPPdocs/PPPLCPoverview.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freesoft.org/CIE/RFC/1661/28.htm" target="_self"&gt;https://www.freesoft.org/CIE/RFC/1661/28.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the peer device send the ECHO-REQUEST every second to check the connection.Does it mean the ralative setting to cancel this is in 4G module side?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 03:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1567855#M64426</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-12-12T03:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: PPP receive 16 bytes every second after connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1571437#M64469</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206427"&gt;@jake111&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Could you please try with ppp_close() or pppapi_close() to terminate your connection?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1671230787253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204775i38F4CA8DDB744FE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1671230787253.png" alt="RaulRomero_0-1671230787253.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Also, please check it out the &lt;A href="https://www.nongnu.org/lwip/2_1_x/group__ppp.html" target="_blank"&gt;lwIP: PPP&lt;/A&gt; information, there you may find content of how to do a PPP connection. It may come in handy.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Related with the frame behavior you got the PPP LCP code as 09, that means someone is doing an Echo-Request that provides a loopback mechanism to check what are the other side doing at the moment.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Please check the file lwip-&amp;gt;src-&amp;gt;netif-&amp;gt;ppp-&amp;gt;lcp.c and the LCP-related command-line options. There could be something useful for your issue.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1671230787258.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204776iF965B16AD10943E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1671230787258.png" alt="RaulRomero_1-1671230787258.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;[Function static option_t lcp_option_list[]]&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 22:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PPP-receive-16-bytes-every-second-after-connection/m-p/1571437#M64469</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-16T22:48:42Z</dc:date>
    </item>
  </channel>
</rss>

