PPP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
1,916 次查看
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 项奖励
回复
1 解答
1,708 次查看
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 项奖励
回复
3 回复数
1,709 次查看
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 项奖励
回复
1,708 次查看
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 项奖励
回复
1,708 次查看
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 项奖励
回复