PPP connection Via m66 and m95

Hello i have question about PPP with module of m66 . How could i use this module for PPP connection with mcu? İ could connect Via linux embedded there is no problem . i’d like to learn connection PPP Via mcu
regards

as Linux …
you need TCP/IP stack + ppp support
example: https://www.oryx-embedded.com/cyclone_tcp.html

res = AT_Send("ATDT *99***1#\n", NULL, NULL);

example (cyclone)

int PPP_Init(void) {
    error_t error = NO_ERROR;
    pppGetDefaultSettings(&pppSettings);
    pppSettings.interface = interface;
    pppSettings.accm = 0x00000000;
    pppSettings.authProtocol = PPP_AUTH_PROTOCOL_PAP | PPP_AUTH_PROTOCOL_CHAP_MD5;
    error = pppInit(&pppContext, &pppSettings);
    if (error) {
        TRACE_ERROR("ERR: pppInit()\n");
        return error;
    }
    error = netSetInterfaceName(interface, "ppp");
    if (error) {
        TRACE_ERROR("ERR: netSetInterfaceName()\n");
        return error;
    }
    error = netSetUartDriver(interface, &uDriver); // LINK DRIVER    
    if (error) {
        TRACE_ERROR("ERR: netSetUartDriver()\n");
        return error;
    }
    error = netConfigInterface(interface);
    if (error) {
        TRACE_ERROR("ERR: netConfigInterface()\n");
        return error;
    }
    return error;
}

int PPP_Connect(void) {
    error_t error = NO_ERROR;
    pppSetTimeout(interface, 10000);
    pppSetAuthInfo(interface, gsmConfig()->apnUser, gsmConfig()->apnPass); //Set username and password
    ipv4SetHostAddr(interface, 0);
    ipv4SetDefaultGateway(interface, 0);
    ipv4SetDnsServer(interface, 0, 0);
    ipv4SetDnsServer(interface, 1, 0);
    error = pppConnect(interface);
    if (error) {
        TRACE_ERROR("ERR: pppConnect()\n");
        return error;
    }
    TRACE_INFO("PPP CONNECT\n");
    //TRACE_INFO("ELAPSED: %d sec\n", GetTickMs() / 1000);
    return error;
}

Could this code ll work in smt32 or in atmel mcu etc.?

I paste you link - Read
LWIP support ppp too

Thank you . İm going to try lwip library and write results here.

Hi,
We are able to connect Quectel BG95, connecting lwip over pppos.
Following:

Regards.