<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Connection to 3G using PPP (RL-TCPNet)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40818/connection-to-3g-using-ppp-rl-tcpnet</link><description> 
Hello 
I&amp;#39;m using STM32F407 with RL-TCPNet. My taks is connect 3G modem (
Telit, UL-865) to my device. 
RL stack is working fine when PC connect to my device using PPP
connection ( PC-Client, device-Server) 

 
Now, i tried connect 3G modem to my device</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Connection to 3G using PPP (RL-TCPNet)</title><link>https://community.arm.com/thread/82325?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2017 23:08:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a49c2db8-7566-4ca2-9cc1-7568b0318a02</guid><dc:creator>dredg dredg</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello.&lt;br /&gt;
How did you solve your &amp;quot;NO CARRIER&amp;quot; problem after &amp;quot;CONNECT&amp;quot; message.
I have the same problem.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection to 3G using PPP (RL-TCPNet)</title><link>https://community.arm.com/thread/63370?ContentTypeID=1</link><pubDate>Sat, 03 Jan 2015 02:58:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cc9b6363-a3bc-49cd-aaab-0833bb89c3a4</guid><dc:creator>Sergiy ECOSYNRG</dc:creator><description>&lt;p&gt;&lt;p&gt;
[SOLVED]&lt;br /&gt;
Five points to start work with PPP in RL-TCPNet:&lt;br /&gt;
1. Connect your modem to PC using PPP connection. You will check is
APN right ( or it will work APN which you are using), will modem
support PPP, that SIM is not blocked e.t.c.&lt;br /&gt;
2. I fyou take Demo from Keil, you need to make buffer bigger than
256. I&amp;#39;m using 1600.&lt;br /&gt;
3. Demo has two buffers to receive&amp;amp;Send. I add another one to
receive init data from modem to separate commands and PPP packets. I
found that Keil TCP stack does not like to see in his buffer
&amp;quot;ATD*99***1#&amp;quot; or &amp;quot;CONNECT&amp;quot;.&lt;br /&gt;
4. Be careful with USART IRQ, be sure that is not conflicting with
RTOS if you are using one. Demo was made for different uControllers.
Test for yours one.&lt;br /&gt;
5. To start PPP connection I&amp;#39;m using: ppp_connect ( &amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;
);os_dly_wait ( 500 );SendToPPPStack (&amp;quot;CLIENTSERVER&amp;quot;); - Even if
modem is starting communication after &amp;quot;ATD*99***1#&amp;quot; command
himself.&lt;/p&gt;

&lt;p&gt;
Regards,&lt;br /&gt;
Sergiy&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection to 3G using PPP (RL-TCPNet)</title><link>https://community.arm.com/thread/63372?ContentTypeID=1</link><pubDate>Tue, 30 Dec 2014 10:28:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a0e0736a-9aa8-4791-9b42-1ab743f8c3d2</guid><dc:creator>Robert Holland</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
I&amp;#39;m not sure if this helps but I&amp;#39;ve just been doing something
similar with my own Nordic NRF51 based board and the Middleware
Network Component (Version 6.2) using a Telit GL865 modem.&lt;/p&gt;

&lt;p&gt;
A local connection (Windows 7 client to NRF51 server) works fine
using a null modem cable.&lt;/p&gt;

&lt;p&gt;
The nrf51 board is now acting as a client. I have the modem
configured in passive mode which I think is the default.&lt;/p&gt;

&lt;p&gt;
I found I had to tweak the standard modem driver and insert some
time delays between steps. The Telit AT command reference recommends
a minimum of 20ms between each command and without these delays
things were getting very confused.&lt;/p&gt;

&lt;p&gt;
Using...&lt;/p&gt;

&lt;pre&gt;
netstat = ppp_connect(&amp;quot;*99***1#&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;);
&lt;/pre&gt;

&lt;p&gt;
...now works OK.&lt;/p&gt;

&lt;p&gt;
Once the &amp;#39;CONNECT&amp;#39; reply from the modem had been received the PPP
negotiation is started by the NRF51 and the link comes up. I&amp;#39;m
currently using the evaluation SIM card which came with my Telit EVK2
board and modem.&lt;/p&gt;

&lt;p&gt;
I did find that although the Keil documentation says that
Net_Config_PPP.h ignores local IP selection if automatic IP is
enabled, this seems not to be the case. After the modem assigns an IP
address (via IPCP) the client will attempt to negotiate use of the
fixed address specified which causes the connection to be immediately
terminated (NO CARRIER). Changing the local address to 0.0.0.0
appears to solve this.&lt;/p&gt;

&lt;p&gt;
HTH&lt;br /&gt;
Bob Holland&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>