PPP callback for link down

S7G2

e2studio

NetX Duo

Hi all,

We are using the following Callback.


/**
* PPP Link Down Notification Callback
* @param ppp_ptr
*/
void ppp_link_down_callback(NX_PPP * ppp_ptr)
{
(void)ppp_ptr;
tx_event_flags_set (&EvDevInConfig, ~EV_FLAG_DEVICE_MODEM_PPP_OK, TX_AND);
}

Once the PPP link is down the communication via modem either does not resume or resumes after an indefinite period of time,

although upon restarting the device the PPP link is up. How do we make sure that the modem resumes operation after the link is down

Do feel free to ask for any additional information,

Thank you,

Regards,

Surojit.