esp-mesh-lite icon indicating copy to clipboard operation
esp-mesh-lite copied to clipboard

mesh组网情况下,如何实现同时通过sta连接路由器和通过4G模组连接外网 (AEGHB-974)

Open bingogogogogogogogo opened this issue 1 year ago • 1 comments

Checklist

  • [x] Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • [x] Provided a clear description of your suggestion.
  • [x] Included any relevant context or examples.

Issue or Suggestion Description

mesh组网情况下,如何实现同时通过sta连接路由器和通过4G模组连接外网

bingogogogogogogogo avatar Feb 06 '25 09:02 bingogogogogogogogo

是否仅仅是根节点需要同时开启 station 和 4G 呢。如果只是根节点开启的话,在根节点的工程代码中移植一下 PPP modem 的代码,然后通过 esp_netif_set_default_netif(PPP_netif) 将 PPP netif 设置为根节点的默认 netif,这样就可以通过 4G 连接外网了。

tswen avatar Feb 07 '25 12:02 tswen