PPP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
685 Views
netra
Contributor IV

I have written sample code for connecting mcf522559 with PC i.e   Mcf52259--> PC .

I have written server code to create ppp connection

with following set parameter

ipcp_data.IP_UP = PPP_linkup;

    ipcp_data.IP_DOWN = NULL;

    ipcp_data.IP_PARAM = (pointer)&ppp_sem;

    ipcp_data.ACCEPT_LOCAL_ADDR = TRUE;

    ipcp_data.LOCAL_ADDR = PPP_LOCADDR;

    ipcp_data.ACCEPT_REMOTE_ADDR = TRUE;

    ipcp_data.REMOTE_ADDR = PPP_PEERADDR;

    ipcp_data.DEFAULT_NETMASK = TRUE;

    ipcp_data.NETMASK = 0;

    ipcp_data.DEFAULT_ROUTE = TRUE;

    ipcp_data.NEG_LOCAL_DNS = FALSE;

    ipcp_data.ACCEPT_LOCAL_DNS = 0;

    ipcp_data.LOCAL_DNS = 0;

    ipcp_data.NEG_REMOTE_DNS = FALSE;

    ipcp_data.ACCEPT_REMOTE_DNS = 0;

    ipcp_data.REMOTE_DNS = 0;

I have also created PPP modem in PC side .I am using windows XP

But unable to connect .

Can any one tell me steps to create ppp connection in pc side .

Thanks in Advance

NIsha

0 Kudos
1 Solution
477 Views
soledad
NXP Employee
NXP Employee

Hi,

You can find the documentation and the example of how to use PPP in MQX in the next folder:

<Freescale MQX X.X>\rtcs\examples\shell


Have a great day,
Regards
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
478 Views
soledad
NXP Employee
NXP Employee

Hi,

You can find the documentation and the example of how to use PPP in MQX in the next folder:

<Freescale MQX X.X>\rtcs\examples\shell


Have a great day,
Regards
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
477 Views
netra
Contributor IV

Hi Sol,

Thanks for your reply using the shell folder only i wrote mqx code for ppp in MCF52259.

I want to set ppp connection between mcf and pc (MCF52259 -------------> PC).

I want steps to connect mcf with ppp modem in pc, I want the steps to create ppp in pc that will enable mcf through ppp to communicate with PC .

Regards,

NIsha

0 Kudos
477 Views
netra
Contributor IV

I got the steps to create ppp connection in pC .

It is working Fine.

Now., I want to connect MCF with Modem(PPP dial connection).

I activated ppp connection in modem using at commands and tried to connect with modem .But unable to do so.

Do i need to make any changes in the code  to connect with modem ppp dial up connection.

Thanks in advance

Nisha

0 Kudos