espressif / esp-iot-bridge

A smart bridge to make both ESP and the other MCU or smart device can access the Internet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does esp32-C3 have a 4G to WiFi_AP routine? (AEGHB-195)

JS-Ye opened this issue · comments

commented

Does esp32-C3 have a 4G to WiFi_AP routine? Please help to provide. thank

esp32-C3 有 4G转WiFi热点的例程吗?请帮忙提供一下。谢谢

commented

@tswen 好的,谢谢您!

commented

@tswen 您好,现在这边用的是4g_hotspot例程,请问这个4G转WiFi 然后和4G串口连接硬件管脚只要两个rx tx就可以了,是吗?那些硬件流控制的需要不?

还需要接 GND,低速情况下可以不需要流控

commented

@tswen 嗯嗯,GND有接了,目前模块发送esp好像收不到命令。然后试着接出串口,收到esp发送的命令后,串口功能回复命令,好像也是esp收不到。

  • image
  • image
  • 企业微信截图_16849971652291
commented

目前模块发送esp好像收不到命令。然后试着接出串口,收到esp发送的命令后,串口功能回复命令,好像也是esp收不到。

上面这个问题解决了,命令码回复错误了。
用的是ESP32-C3 4M flash 模组,现在是驱动4G模组后,然后就开始连接热点上网,显示没有网络,并报错误:esp-netif_lwip-ppp: pppos_input_topip failed with -1
0a99bbf5-c447-4ec0-8d38-b341a1e90e27
企业微信截图_16850182567470

115200 波特率速率太低了,可能会导致上网不通畅

commented

@tswen 请问在该例子中,波特率一般设置为多少合适?

可以根据你们具体场景来调试,PCB 的话速率可以设置比较高,1-2Mbps 应该没问题,如果是杜邦线测试,太高的波特率可能会有问题。