PPP_COMPORT1 / PPPModemInit

Hi All,

Is there a way to send Initcommands and wait for a response? -> “ATZ” , “OK”

code: (based on the PPP examples in the GNU kit)

PPPModemInit(PPP_COMPORT1, ACTIVE_CONNECTION_MODE, MY_BAUD_RATE,“ATZ”)

The above function never returns; is there a good approach to debug this?

Thanks
Felix

Is it right to assume that “PPPModemInit” automatically dials the ISP after init string?

So how to I specify speciel AT commands - that returns numbers or other responses besides “OK”

Thanks
Felix