Hi
We tried the above all procedure for PPP connection.
without Below mentioned Changes.
//RTCS_gate_add(ppp_conn->PPP_GATE_ADDR, INADDR_ANY, INADDR_ANY);
with this line:
RTCS_gate_add(IPCP_get_peer_addr(params.if_handle), INADDR_ANY, INADDR_ANY) ;
Components Used
1. MQX4.1.1 RTOS+MCF52259.
2. SIMCOM Modem(SIM800 R13.08)
This is working Fine for SIMCOM modem to MQX4.1.1. for initial Connection till "IP ADDRESS" receiving.
- The received IP Addresses were 74.125.200.102
- But the server IP was 0.0.0.0
We were able to PING Google.com.
But Unable to PING the CLIENT IP ADRESS of MQX received after PPP connection.
************************************************************************************************************************************************
We replaced below line:
//RTCS_gate_add(ppp_conn->PPP_GATE_ADDR, INADDR_ANY, INADDR_ANY);
with this line:
RTCS_gate_add(IPCP_get_peer_addr(params.if_handle), INADDR_ANY, INADDR_ANY) ;
And also with these Changes
In sh_ppp_task() function, I commented out Windows handshake call.
//sh_ppp_handshake(ppp_conn.device_name, ppp_conn.listen_flag, 10);
In sh_ppp_start() function, I replaced "_PPP_ACCM = 0;" with "_PPP_ACCM = 0x000A0000 ;".
This is working Fine for SIMCOM modem to MQX4.1.1. for initial Connection till "IP ADDRESS" receiving.
We were UNABLE to PING google.com
**********************************************************************************************************************************************
Could us Please tell us the link to download MQX4.2.
As we seen in one of the above POSTs......
Please Reply us with the solution for the above mentioned problem.
Thank you