Quectel 芯片 QIMODE 更改为 '+++' & 'ATO'

Quectel chip QIMODE change with '+++' & 'ATO'

我正在尝试实现我的库以通过 tcp 连接发送数据。

在 Quectel 的官方文档中,他们让您 select AT+QIMODE=1 也称为透明模式,其中从 UART 发送的所有数据都通过 tcp 连接发送。

我想在发送数据之前检查连接状态,所以想更改为命令模式并使用 AT+QISTAT。我尝试将“+++”发送到芯片,但它正在向我的服务器发送“+++”,因此无法正常工作。非常感谢任何帮助。

Link to official documentation,请参考第162页第7.2.21节

您是否确保在 +++ 序列之前和之后的时间延迟正确?

第 2.2.11 节(第 22 页)的文档指出,+++ 前后必须有 0.5 秒的静默期才能被识别。

To prevent the "+++" escape sequence from being misinterpreted as data, it should comply to following sequence:

  1. No characters entered for T1 time (0.5 seconds).
  2. "+++" characters entered with no characters in between. For CSD call or PPP online mode, the interval between two "+" MUST be less than 1 second and for a transparent TCPIP connection, the interval MUST be less than 20 ms.
  3. No characters entered for T1 time (0.5 seconds).
  4. Switch to command mode, otherwise go to step 1.

如果您仍然没有成功,请post一些示例代码。