|
From: | Gisle Vanem |
Subject: | Re: [lwip-users] lwip with 4G modem |
Date: | Tue, 12 Oct 2021 11:29:46 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Giuseppe Modugno wrote:
The serial channel for ppp/data and AT commands is single, so how can I multiplex them? Should I use CMUX?
The PPP protocol handles this multiplexing itself. Using an escape octet "stuffing procedure" (octet 0x7d). Read 'https://datatracker.ietf.org/doc/html/rfc1662' for the gory details.
Last question. If I have 4G modem and Ethernet PHY, is lwip able to manage two network interface at the same time?
Sure. -- --gv
[Prev in Thread] | Current Thread | [Next in Thread] |