<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zephyr  &amp;amp; PPP GSM Modem without RTS/CTS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86754/zephyr-ppp-gsm-modem-without-rts-cts</link><description>Hi, I have a problem configuring the PPP Modem correctly and I&amp;#39;m not quite sure what i&amp;#39;m missing here. 
 I&amp;#39;m running the code on a custom board. We are using nRF52832 to talk to Telit ML865G1 modem over UART and we don&amp;#39;t have any HW control pins implemented</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Apr 2022 11:31:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86754/zephyr-ppp-gsm-modem-without-rts-cts" /><item><title>RE: Zephyr  &amp; PPP GSM Modem without RTS/CTS</title><link>https://devzone.nordicsemi.com/thread/362824?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 11:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42444f64-3168-4c33-a03a-9c7b463c5661</guid><dc:creator>nikolozka</dc:creator><description>&lt;p&gt;Hi Albrecht,&lt;/p&gt;
&lt;p&gt;That was my observation as well. It seems like gsm_ppp.c doesn&amp;#39;t care about&amp;nbsp;CONFIG_NET_PPP_ASYNC_UART=y as i haven&amp;#39;t noticed any reference to this config setting in the file.&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s for the pointer on the zephyr networking discord. I&amp;#39;ll see if I can find something there.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Nikoloz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr  &amp; PPP GSM Modem without RTS/CTS</title><link>https://devzone.nordicsemi.com/thread/362767?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 08:33:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:903e0758-0e67-47b8-a066-6b4c22832810</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;Hello Nikolozka,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="nikolozka"]&lt;p&gt;there a function &lt;strong&gt;driver/net/ppp/ppp_async_uart_rx_enable()&amp;nbsp;&lt;/strong&gt;that is part of ppp.c file. now this is the function that actually enables RX on the UART. This function is in turn being called by &lt;strong&gt;driver/net/ppp/ppp_start()&amp;nbsp;&lt;/strong&gt;(this function is exposed through (struct ppp_api-&amp;gt;start)&lt;/p&gt;
&lt;p&gt;The modem example calls &lt;strong&gt;driver/modme/&lt;/strong&gt;&lt;strong&gt;gsm_ppp_start()&amp;nbsp;&lt;/strong&gt;(defined in gsm_ppp.c) which is in turn supposed to call&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;the abovementioned &lt;strong&gt;ppp_start()&amp;nbsp;&lt;/strong&gt;however it seems like to reach &lt;strong&gt;ppp_api-&amp;gt;start() &lt;/strong&gt;it already has to have received a response on to&amp;nbsp;&lt;strong&gt;AT&lt;/strong&gt; on UART.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/drivers/modem/gsm_ppp.c#L993"&gt;gsm_ppp_start()&lt;/a&gt; calls &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/drivers/modem/modem_iface_uart.c#L167"&gt;modem_iface_uart_init_dev()&lt;/a&gt;, where IRQ RX and a callback is configured. I wonder if this makes it incompatible with the usage of the async API then?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="nikolozka"]I&amp;#39;m not sure if i&amp;#39;m doing something rather wrong or if this is indeed a bug? maybe some problem with init order?[/quote]
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;Anyhow, my recommendation here would be to get in touch with the Zephyr support, as they have written this sample. They have an own &lt;a href="https://discord.com/channels/720317445772017664/733037635194585148"&gt;#networking&lt;/a&gt; channel on Discord.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr  &amp; PPP GSM Modem without RTS/CTS</title><link>https://devzone.nordicsemi.com/thread/362635?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 13:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eb1a958-ebcd-4fdb-80e2-95a2b579181c</guid><dc:creator>nikolozka</dc:creator><description>&lt;p&gt;Hi, Thanks for the response. I&amp;#39;ve narrowed things down a little bit.&lt;/p&gt;
&lt;p&gt;after working through zephyr files and enabling a ton of logging options i figured out&amp;nbsp;the following:&lt;/p&gt;
&lt;p&gt;there a function &lt;strong&gt;driver/net/ppp/ppp_async_uart_rx_enable()&amp;nbsp;&lt;/strong&gt;that is part of ppp.c file. now this is the function that actually enables RX on the UART. This function is in turn being called by &lt;strong&gt;driver/net/ppp/ppp_start()&amp;nbsp;&lt;/strong&gt;(this function is exposed through (struct ppp_api-&amp;gt;start)&lt;/p&gt;
&lt;p&gt;The modem example calls &lt;strong&gt;driver/modme/&lt;/strong&gt;&lt;strong&gt;gsm_ppp_start()&amp;nbsp;&lt;/strong&gt;(defined in gsm_ppp.c) which is in turn supposed to call&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;the abovementioned &lt;strong&gt;ppp_start()&amp;nbsp;&lt;/strong&gt;however it seems like to reach &lt;strong&gt;ppp_api-&amp;gt;start() &lt;/strong&gt;it already has to have received a response on to&amp;nbsp;&lt;strong&gt;AT&lt;/strong&gt; on UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if i&amp;#39;m doing something rather wrong or if this is indeed a bug? maybe some problem with init order?&lt;/p&gt;
&lt;p&gt;In any case by manually getting the reference to ppp driver:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	
	gsm_dev = DEVICE_DT_GET(DT_INST(0, zephyr_gsm_ppp));
	const struct device *ppp_dev = device_get_binding(CONFIG_NET_PPP_DRV_NAME);
	const struct ppp_api *api = (const struct ppp_api *)ppp_dev-&amp;gt;api;

	int ret;

	ret = api-&amp;gt;start(ppp_dev);
		if (ret) {
			LOG_ERR(&amp;quot;ppp start returned %d&amp;quot;, ret);
	}
	
	/////////////////////////////
	
	gsm_ppp_start(gsm_dev);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to catch a &amp;quot;Network Connected&amp;quot; state with the net_mgmt callback.&lt;/p&gt;
&lt;p&gt;This generates more log output than i&amp;#39;m able to allocate ram for (64kb on nRF52832)&lt;/p&gt;
&lt;p&gt;The problem that i&amp;#39;m now facing though is that none of the modem info get&amp;#39;s populated &amp;amp; net ping times out.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t had much time to investigate this past this point, but i&amp;#39;ll update this thread as i make more progress....&lt;/p&gt;
&lt;p&gt;In the meantime could you tell me if i&amp;#39;m doing something wrong by manualy calling pp_api-&amp;gt;start() ?&lt;/p&gt;
&lt;p&gt;another question:&lt;/p&gt;
&lt;p&gt;Am i expected to significantly extend the modem code and implement&amp;nbsp;the modem myself or am I supposed to rely on the gsm_ppp implementation (assuming my modem supports ppp) - this is a bit ambiguous.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;!!!EDIT:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I spoke too soon.&lt;/p&gt;
&lt;p&gt;In my attempts to get this runing i&amp;#39;&amp;nbsp;hade the call to gsm_ppp_start commented out.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s th actual code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	const struct device *uart_dev = DEVICE_DT_GET(DT_BUS(DT_INST(0, zephyr_gsm_ppp)));
	gsm_dev = DEVICE_DT_GET(DT_INST(0, zephyr_gsm_ppp));

	const struct device *ppp_dev = device_get_binding(CONFIG_NET_PPP_DRV_NAME);
	const struct ppp_api *api = (const struct ppp_api *)ppp_dev-&amp;gt;api;

	int ret;

	ret = api-&amp;gt;start(ppp_dev);
		if (ret) {
			LOG_ERR(&amp;quot;ppp start returned %d&amp;quot;, ret);
	}


	LOG_INF(&amp;quot;Board &amp;#39;%s&amp;#39; APN &amp;#39;%s&amp;#39; UART &amp;#39;%s&amp;#39; device %p (%s)&amp;quot;,
		CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
		DT_BUS_LABEL(DT_INST(0, zephyr_gsm_ppp)), uart_dev,
		gsm_dev-&amp;gt;name);

	net_mgmt_init_event_callback(&amp;amp;mgmt_cb, event_handler,
				     NET_EVENT_L4_CONNECTED |
				     NET_EVENT_L4_DISCONNECTED);
	net_mgmt_add_event_callback(&amp;amp;mgmt_cb);

	LOG_INF(&amp;quot;Modem Device INIT&amp;quot;);

	//gsm_ppp_start(gsm_dev);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In addition to that&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_GSM_PPP_AUTOSTART=n&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;Here&amp;#39;s the massive log this generates - i&amp;#39;m not sure how to interpret this especially since a lot of logs are dropped&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; 
00&amp;gt; 
00&amp;gt; rtt:~$ [00:00:00.000,854] &amp;lt;dbg&amp;gt; net_ppp.ppp_driver_init: [0x20002a90] dev 0x1ef14
00&amp;gt; rtt:~$ [00:00:00.001,251] &amp;lt;dbg&amp;gt; modem_gsm.gsm_init: Generic GSM modem (0x20001100)
00&amp;gt; rtt:~$ [00:00:00.001,281] &amp;lt;dbg&amp;gt; modem_gsm.gsm_init: iface-&amp;gt;read 0x1d035 iface-&amp;gt;write 0x1d06b
00&amp;gt; rtt:~$ [00:00:00.001,342] &amp;lt;dbg&amp;gt; modem_gsm.gsm_rx: starting
00&amp;gt; rtt:~$ [00:00:00.001,556] &amp;lt;inf&amp;gt; regulator_fixed: V3V3_PWR onoff: 0
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:00.015,838] &amp;lt;dbg&amp;gt; net_mgmt.net_mgmt_event_init: (main): Net MGMT initialized: queue of 2 entries, stack size of 768
00&amp;gt; rtt:~$ [00:00:00.015,869] &amp;lt;dbg&amp;gt; net_ppp.ppp_iface_init: [0x20002a90] iface 0x20000a00
00&amp;gt; rtt:~$ [00:00:00.015,899] &amp;lt;dbg&amp;gt; net_l2_ppp.net_ppp_init: (main): Initializing PPP L2 0x20002860 for iface 0x20000a00
00&amp;gt; rtt:~$ [00:00:00.015,991] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_startup: (sysworkq): PPP 0x20002860 startup for interface 0x20000a00
00&amp;gt; rtt:~$ [00:00:00.016,021] &amp;lt;dbg&amp;gt; net_l2_ppp.ipcp_init: (sysworkq): proto IPCP (0x8021) fsm 0x20002978
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ --- 36 messages dropped ---
00&amp;gt; rtt:~$ [00:00:00.016,082] &amp;lt;dbg&amp;gt; net_l2_ppp.lcp_init: (sysworkq): proto LCP (0xc021) fsm 0x200028a8
00&amp;gt; rtt:~$ [00:00:05.665,130] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ [00:00:05.665,161] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:05.665,252] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ [00:00:05.665,252] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ [00:00:05.665,283] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:05.665,313] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   ff 03 c0 21 01 01 00 04  d1 b5                   |...!.... ..      
00&amp;gt; rtt:~$ [00:00:05.665,344] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ [00:00:05.665,374] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:05.665,405] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      c0 21 01 01 00 04                                |.!....           
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.665,435] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] LCP Configure-Req (1) id 1 payload len 0
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.665,466] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] Current state REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:05.665,527] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] Sending Configure-Ack (2) id 1 to peer while in REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:05.665,557] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_send_pkt: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] Sending 6 bytes pkt 0x2000d4a4 (options len 0)
00&amp;gt; rtt:~$ [00:00:05.665,588] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] state REQUEST_SENT (6) =&amp;gt; ACK_SENT (8) (fsm_recv_configure_req():651)
00&amp;gt; rtt:~$ [00:00:05.665,618] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: send L2
00&amp;gt; rtt:~$ [00:00:05.665,679] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      c0 21 02 01 00 04                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.665,679] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: send ppp
00&amp;gt; rtt:~$ [00:00:05.665,740] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   c0 21 02 01 00 04                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.667,327] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_TX_DONE: sent 18 bytes
00&amp;gt; rtt:~$ [00:00:05.785,186] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 18 bytes
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.785,247] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.785,247] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:05.785,339] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ [00:00:05.785,369] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ [00:00:05.785,369] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:05.785,430] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   ff 03 c0 21 02 01 00 04  1c 90                   |...!.... ..      
00&amp;gt; rtt:~$ [00:00:05.785,430] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ [00:00:05.785,461] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:05.785,522] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      c0 21 02 01 00 04                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.785,552] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] LCP Configure-Ack (2) id 1 payload len 0
00&amp;gt; rtt:~$ [00:00:05.785,552] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_ack: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] Current state ACK_SENT (8)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.785,583] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [LCP/0x200028a8] state ACK_SENT (8) =&amp;gt; OPENED (9) (fsm_recv_configure_ack():705)
00&amp;gt; rtt:~$ [00:00:05.785,583] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_link_established: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002860] Link established
00&amp;gt; rtt:~$ [00:00:05.785,614] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_phase_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002860] phase ESTABLISH (1) =&amp;gt; AUTH (2) (do_auth():74)
00&amp;gt; rtt:~$ [00:00:05.785,614] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_link_authenticated: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002860] Link authenticated
00&amp;gt; rtt:~$ [00:00:05.785,644] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_phase_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002860] phase AUTH (2) =&amp;gt; NETWORK (3) (do_network():34)
00&amp;gt; rtt:~$ [00:00:05.785,644] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_open: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Current state INITIAL (0)
00&amp;gt; rtt:~$ [00:00:05.785,675] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] state INITIAL (0) =&amp;gt; STARTING (1) (ppp_fsm_open():348)
00&amp;gt; rtt:~$ [00:00:05.785,675] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_lower_up: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Current state STARTING (1)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.785,797] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_send_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending Configure-Req (1) id 1 to peer while in STARTING (1)
00&amp;gt; rtt:~$ [00:00:05.785,827] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_send_pkt: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending 24 bytes pkt 0x2000d4a4 (options len 18)
00&amp;gt; rtt:~$ [00:00:05.785,858] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] state STARTING (1) =&amp;gt; REQUEST_SENT (6) (ppp_fsm_lower_up():316)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.785,888] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: send L2
00&amp;gt; rtt:~$ [00:00:05.785,949] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 01 01 00 16                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.785,949] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      03 06 00 00 00 00 81 06  00 00 00 00 83 06 00 00 |........ ........
00&amp;gt;                                      00 00                                            |..               
00&amp;gt; rtt:~$ [00:00:05.785,980] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: send ppp
00&amp;gt; rtt:~$ [00:00:05.786,010] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   80 21 01 01 00 16                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.786,041] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   03 06 00 00 00 00 81 06  00 00 00 00 83 06 00 00 |........ ........
00&amp;gt;                                   00 00                                            |..               
00&amp;gt; rtt:~$ [00:00:05.790,527] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_TX_DONE: sent 51 bytes
00&amp;gt; rtt:~$ [00:00:05.905,303] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 51 bytes
00&amp;gt; rtt:~$ rtt:~$ [00:00:05.905,364] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ [00:00:05.905,364] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:05.905,578] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.905,609] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ [00:00:05.905,609] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:05.905,639] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   ff 03 80 21 01 01 00 16  03 06 00 00 00 00 81 06 |...!.... ........
00&amp;gt;                                   00 00 00 00 83 06 00 00  00 00 6e db             |........ ..n.    
00&amp;gt; rtt:~$ [00:00:05.905,670] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ [00:00:05.905,700] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:05.905,761] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 01 01 00 16 03 06  00 00 00 00 81 06 00 00 |.!...... ........
00&amp;gt;                                      00 00 83 06 00 00 00 00                          |........         
00&amp;gt; rtt:~$ [00:00:05.905,792] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] IPCP Configure-Req (1) id 1 payload len 18
00&amp;gt; rtt:~$ [00:00:05.905,822] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Current state REQUEST_SENT (6)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.905,883] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option IP_ADDRESS (3) len 6
00&amp;gt; rtt:~$ [00:00:05.905,883] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_option_conf_req_unsupported: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Check option IP_ADDRESS (3) len 4
00&amp;gt; rtt:~$ [00:00:05.905,914] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option DNS1 (129) len 6
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.905,944] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_option_conf_req_unsupported: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Check option DNS1 (129) len 4
00&amp;gt; rtt:~$ [00:00:05.905,975] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option DNS2 (131) len 6
00&amp;gt; rtt:~$ [00:00:05.905,975] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_option_conf_req_unsupported: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Check option DNS2 (131) len 4
00&amp;gt; rtt:~$ [00:00:05.906,036] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending Configure-Rej (4) id 1 to peer while in REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:05.906,066] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_send_pkt: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending 18 bytes pkt 0x2000d4a4 (options len 12)
00&amp;gt; rtt:~$ [00:00:05.906,097] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: send L2
00&amp;gt; rtt:~$ [00:00:05.906,158] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 04 01 00 10                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.906,158] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      81 06 00 00 00 00 83 06  00 00 00 00             |........ ....    
00&amp;gt; rtt:~$ [00:00:05.906,188] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: send ppp
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.906,219] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   80 21 04 01 00 10                                |.!....           
00&amp;gt; rtt:~$ [00:00:05.906,219] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   81 06 00 00 00 00 83 06  00 00 00 00             |........ ....    
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:05.909,667] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_TX_DONE: sent 39 bytes
00&amp;gt; rtt:~$ [00:00:06.025,421] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 39 bytes
00&amp;gt; rtt:~$ [00:00:06.025,482] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ [00:00:06.025,482] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:06.025,665] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ [00:00:06.025,665] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ [00:00:06.025,665] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:06.025,726] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   ff 03 80 21 04 01 00 10  81 06 00 00 00 00 83 06 |...!.... ........
00&amp;gt;                                   00 00 00 00 5f c7                                |...._.           
00&amp;gt; rtt:~$ [00:00:06.025,756] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.025,787] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:06.025,817] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 04 01 00 10 81 06  00 00 00 00 83 06 00 00 |.!...... ........
00&amp;gt;                                      00 00                                            |..               
00&amp;gt; rtt:~$ [00:00:06.025,878] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] IPCP Configure-Rej (4) id 1 payload len 12
00&amp;gt; rtt:~$ [00:00:06.025,878] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_nack_rej: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Current state REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:06.025,909] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option DNS1 (129) len 6
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.025,939] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option DNS2 (131) len 6
00&amp;gt; rtt:~$ [00:00:06.026,031] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_send_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending Configure-Req (1) id 2 to peer while in REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:06.026,062] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_send_pkt: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending 12 bytes pkt 0x2000d4a4 (options len 6)
00&amp;gt; rtt:~$ [00:00:06.026,123] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: send L2
00&amp;gt; rtt:~$ [00:00:06.026,153] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 01 02 00 0a                                |.!....           
00&amp;gt; rtt:~$ [00:00:06.026,153] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      03 06 00 00 00 00                                |......           
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.026,184] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: send ppp
00&amp;gt; rtt:~$ [00:00:06.026,214] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   80 21 01 02 00 0a                                |.!....           
00&amp;gt; rtt:~$ [00:00:06.026,245] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   03 06 00 00 00 00                                |......           
00&amp;gt; rtt:~$ [00:00:06.028,869] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_TX_DONE: sent 30 bytes
00&amp;gt; rtt:~$ [00:00:06.031,036] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 3 bytes
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.031,066] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_RX_BUF_RELEASED: buf 0x20002aa0
00&amp;gt; rtt:~$ [00:00:06.031,066] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_RX_BUF_REQUEST: buf 0x20002aa0
00&amp;gt; rtt:~$ [00:00:06.031,097] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ [00:00:06.031,097] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:06.031,158] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ [00:00:06.151,184] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 27 bytes
00&amp;gt; rtt:~$ [00:00:06.151,336] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ [00:00:06.151,336] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (&amp;lt;log_strdup alloc failed&amp;gt;): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.151,336] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:06.151,397] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   ff 03 80 21 01 02 00 0a  03 06 00 00 00 00 14 fe |...!.... ........
00&amp;gt; rtt:~$ [00:00:06.151,428] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.151,458] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:06.151,489] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 01 02 00 0a 03 06  00 00 00 00             |.!...... ....    
00&amp;gt; rtt:~$ [00:00:06.151,519] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] IPCP Configure-Req (1) id 2 payload len 6
00&amp;gt; rtt:~$ [00:00:06.151,550] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Current state REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:06.151,611] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option IP_ADDRESS (3) len 6
00&amp;gt; rtt:~$ [00:00:06.151,641] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_option_conf_req_unsupported: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Check option IP_ADDRESS (3) len 4
00&amp;gt; rtt:~$ [00:00:06.151,672] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_parse_options: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] option IP_ADDRESS (3) len 6
00&amp;gt; rtt:~$ [00:00:06.151,672] &amp;lt;dbg&amp;gt; net_l2_ppp.ipcp_ip_address_parse: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP] Received peer address &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.151,702] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_req: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending Configure-Ack (2) id 2 to peer while in REQUEST_SENT (6)
00&amp;gt; rtt:~$ [00:00:06.151,733] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_send_pkt: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] Sending 12 bytes pkt 0x2000d4a4 (options len 6)
00&amp;gt; rtt:~$ [00:00:06.151,763] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (&amp;lt;log_strdup alloc failed&amp;gt;): [IPCP/0x20002978] state REQUEST_SENT (6) =&amp;gt; ACK_SENT (8) (fsm_recv_configure_req():651)
00&amp;gt; rtt:~$ [00:00:06.151,794] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: send L2
00&amp;gt; rtt:~$ [00:00:06.151,855] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      80 21 02 02 00 0a                                |.!....           
00&amp;gt; rtt:~$ [00:00:06.151,855] &amp;lt;dbg&amp;gt; net_l2_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                      03 06 00 00 00 00                                |......           
00&amp;gt; rtt:~$ [00:00:06.151,885] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: send ppp
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.151,916] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   80 21 02 02 00 0a                                |.!....           
00&amp;gt; rtt:~$ [00:00:06.151,947] &amp;lt;dbg&amp;gt; net_ppp: &amp;lt;log_strdup alloc failed&amp;gt;
00&amp;gt;                                   03 06 00 00 00 00                                |......           
00&amp;gt; rtt:~$ [00:00:06.154,632] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: UART_TX_DONE: sent 30 bytes
00&amp;gt; rtt:~$ [00:00:06.271,331] &amp;lt;dbg&amp;gt; net_ppp.uart_callback: Received data 30 bytes
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.271,362] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: Address byte (0xff) start
00&amp;gt; rtt:~$ [00:00:06.271,423] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (ppp_workq): [0x20002a90] state ADDRESS (1) =&amp;gt; DATA (2)
00&amp;gt; rtt:~$ [00:00:06.271,545] &amp;lt;dbg&amp;gt; net_ppp.ppp_input_byte: End of pkt (0x7e)
00&amp;gt; rtt:~$ [00:00:06.271,606] &amp;lt;dbg&amp;gt; net_ppp.ppp_change_state: (ppp_workq): [0x20002a90] state DATA (2) =&amp;gt; ADDRESS (1)
00&amp;gt; rtt:~$ [00:00:06.271,636] &amp;lt;dbg&amp;gt; net_ppp.net_pkt_hexdump: recv ppp
00&amp;gt; rtt:~$ [00:00:06.271,697] &amp;lt;dbg&amp;gt; net_ppp: 0x2000d3b4
00&amp;gt;                                   ff 03 80 21 02 02 00 0a  03 06 00 00 00 00 7d 8a |...!.... ......}.
00&amp;gt; rtt:~$ [00:00:06.271,728] &amp;lt;dbg&amp;gt; net_ppp.ppp_consume_ringbuf: Ringbuf 0x200033e4 is empty!
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.271,789] &amp;lt;dbg&amp;gt; net_l2_ppp.net_pkt_hexdump: recv L2
00&amp;gt; rtt:~$ [00:00:06.271,850] &amp;lt;dbg&amp;gt; net_l2_ppp: 0x2000d3b4
00&amp;gt;                                      80 21 02 02 00 0a 03 06  00 00 00 00             |.!...... ....    
00&amp;gt; rtt:~$ [00:00:06.271,911] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_fsm_input: (rx_q[0]): [IPCP/0x20002978] IPCP Configure-Ack (2) id 2 payload len 6
00&amp;gt; rtt:~$ [00:00:06.271,942] &amp;lt;dbg&amp;gt; net_l2_ppp.fsm_recv_configure_ack: (rx_q[0]): [IPCP/0x20002978] Current state ACK_SENT (8)
00&amp;gt; rtt:~$ [00:00:06.272,033] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_state_debug: (rx_q[0]): [IPCP/0x20002978] state ACK_SENT (8) =&amp;gt; OPENED (9) (fsm_recv_configure_ack():705)
00&amp;gt; rtt:~$ [00:00:06.272,094] &amp;lt;dbg&amp;gt; net_mgmt.net_mgmt_event_notify_with_info: (rx_q[0]): Notifying Event layer 2 code 4 type 1
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.272,155] &amp;lt;dbg&amp;gt; net_l2_ppp.ipcp_up: (rx_q[0]): PPP up with address 0.0.0.0
00&amp;gt; rtt:~$ [00:00:06.272,216] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_change_phase_debug: (rx_q[0]): [0x20002860] phase NETWORK (3) =&amp;gt; RUNNING (4) (ppp_network_up():22)
00&amp;gt; rtt:~$ [00:00:06.272,277] &amp;lt;dbg&amp;gt; net_l2_ppp.ppp_network_up: (rx_q[0]): [0x20002860] Proto IPv4 (0x0021) up (1)
00&amp;gt; rtt:~$ [00:00:06.272,308] &amp;lt;dbg&amp;gt; net_l2_ppp.ipcp_up: (rx_q[0]): [IPCP/0x20002978] Current state OPENED (9)
00&amp;gt; rtt:~$ [00:00:06.272,338] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_thread: (net_mgmt): Handling events, forwarding it relevantly
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.272,369] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_run_callbacks: (&amp;lt;log_strdup alloc failed&amp;gt;): Event layer 2 code 4 cmd 1
00&amp;gt; rtt:~$ [00:00:06.272,399] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_run_callbacks: (&amp;lt;log_strdup alloc failed&amp;gt;): Running callback 0x20004570 : 0xe5d1
00&amp;gt; rtt:~$ [00:00:06.272,430] &amp;lt;dbg&amp;gt; conn_mgr.conn_mgr_ipv4_events_handler: (&amp;lt;log_strdup alloc failed&amp;gt;): IPv4 event 3758358529 received on iface 1 (0x20000a00)
00&amp;gt; rtt:~$ [00:00:06.272,430] &amp;lt;dbg&amp;gt; conn_mgr.conn_mgr_ipv4_events_handler: (&amp;lt;log_strdup alloc failed&amp;gt;): Iface index 0
00&amp;gt; rtt:~$ [00:00:06.272,460] &amp;lt;dbg&amp;gt; conn_mgr.conn_mgr_ipv4_status: (&amp;lt;log_strdup alloc failed&amp;gt;): IPv4 connected on iface index 1
00&amp;gt; rtt:~$ [00:00:06.272,491] &amp;lt;dbg&amp;gt; conn_mgr.conn_mgr_notify_status: (&amp;lt;log_strdup alloc failed&amp;gt;): Iface 1 (0x20000a00) connected
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ [00:00:06.272,521] &amp;lt;dbg&amp;gt; net_mgmt.net_mgmt_event_notify_with_info: (&amp;lt;log_strdup alloc failed&amp;gt;): Notifying Event layer 3 code 276 type 1
00&amp;gt; rtt:~$ [00:00:06.272,552] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_thread: (&amp;lt;log_strdup alloc failed&amp;gt;): Handling events, forwarding it relevantly
00&amp;gt; rtt:~$ [00:00:06.272,583] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_run_callbacks: (&amp;lt;log_strdup alloc failed&amp;gt;): Event layer 3 code 276 cmd 1
00&amp;gt; rtt:~$ [00:00:06.272,613] &amp;lt;dbg&amp;gt; net_mgmt.mgmt_run_callbacks: (&amp;lt;log_strdup alloc failed&amp;gt;): Running callback 0x20003a88 : 0x2b21
00&amp;gt; rtt:~$ [00:00:06.272,613] &amp;lt;inf&amp;gt; app: Network connected
00&amp;gt; rtt:~$ 
00&amp;gt; rtt:~$ &lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;in any case, If i&amp;#39;m using &lt;strong&gt;gsm_ppp_start&lt;/strong&gt;, async_uart_rx_enable doesn&amp;#39;t seem to get called.&lt;/div&gt;
&lt;div&gt;the execution waits for AT OK and communication times out&amp;nbsp;&lt;strong&gt;BEFORE&amp;nbsp;&lt;/strong&gt;uart_rx gets enabled...&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr  &amp; PPP GSM Modem without RTS/CTS</title><link>https://devzone.nordicsemi.com/thread/362579?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 11:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a463fbd-92de-4008-bbf0-6fba71b3f9f2</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;Hello Nikolozka,&lt;br /&gt;&lt;br /&gt;Thanks a lot for your detailed input.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]Could you suggest something to troubleshoot this further or some other configuration combo that i&amp;#39;m missing here.[/quote]
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;A little bit hard to tell what could be the problem here. But I assume you are using the nRF5 SDK based solution without flow control as well?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]My suspicion is that the configurations i&amp;#39;m trying to run this in doesn&amp;#39;t work unless RTS/CTS pins are implemented.[/quote]
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;I’m not sure if flow control actually is the problem here, but just to double-check you could call the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/reference/peripherals/uart.html#c.uart_config_get"&gt;uart_config_get()&lt;/a&gt; function and check if flow control is disabled.&lt;br /&gt;&lt;br /&gt;Otherwise, it might be a good idea to check &lt;em&gt;../&amp;lt;build_folder&amp;gt;/zephyr/zephyr.dts&lt;/em&gt; to confirm that all overlay settings have been taken into account.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p style="line-height:100%;margin-bottom:0;" lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>