I am using STM32F7 with development board Nucleo-F746ZG. I have activated UART, LWIP middleware and its PPPoS support.
I can make STM32F7 communicate with Telit GL865 GSM modem by using AT commands over UART, (i.e) make the modem establish static IP of its SIM card and checking pings, it is all OK.
However, I want LWiP PPPoS to establish the static IP instead AT commands just after sending ATD*99***1#
.
I deeply searched the web and could not find a particular example that contains LWiP PPPoS Server for STM32F to communicate with Telit GL865 GSM. I have seen codes like
sio_fd_t ppp_sio = sio_open(sio_idx);
However, I could not relate them with STM32 cube functions.
I have seen examples that are using pppInit(void)
, pppOverSerialOpen(PPP_SERIAL_PORT, linkStatusCB, &connected)
functions, but I guess those commands are not supported for the current stack.
Did anyone relate the STM CUBE's uart handle with PPPoS of LWiP stack? Do you have any initialization outline or advice to start with and continue to obtain the static IP? (i.e INIT
, DISCONNECTING
, DISCONNECTED
, CONNECTING
, CONNECTED
, LWIP
loop)
Kind Regards