at_device icon indicating copy to clipboard operation
at_device copied to clipboard

AT component porting or samples for different devices

Results 21 at_device issues
Sort by recently updated
recently updated
newest added

问题描述: 在一个只有4g信号环境中,或者使用只开通4G的物联网卡的情况下,使用AT组件会初始化设备失败导致无法连接网络。 原因是AT组件中对AT+CREG和AT+CGRAG进行了判断。如果返回的不对就会直接退出初始化,CGREG是LTE这块业务的,CREG是2G这块业务的,如果遇到现场环境没有2G只有4G的实惠,CREG的返回就不会是0,1或者是0,5,程序会判断联网失败直接退出,所以后续即使有4G信号能通讯也是不行了。 如果直接屏蔽了CREG的判断和退出,那么就是可以正常是用4G的。 建议对AT+CREG和AT+CGRAG判断时,不要直接go exit

文件:[at_device](https://github.com/RT-Thread-packages/at_device)/[class](https://github.com/RT-Thread-packages/at_device/tree/master/class)/[esp32](https://github.com/RT-Thread-packages/at_device/tree/master/class/esp32)/at_device_esp32.c 行数:104~128: ```c if (at_obj_exec_cmd(device->client, resp, "AT+CIPDNS?") < 0) { LOG_W("please check and update %s device firmware to support the \"AT+CIPDNS?\" cmd.", device->name); goto __exit; } if (at_resp_parse_line_args(resp, 1, resp_dns,...

在调试移远EC600N模块时发现,at socket接收大量数据时,出现内存分配失败的现象,后面跟踪发现底层使用的直吐模式,有数据过来时mcu直接calloc缓存,当数据量大点时,比如下载几十KB或者更大的文件时,大量数据直接挤爆mcu的内存,导致出现因内存直接丢弃数据,建议使用模块的缓存模式和QIRD命令实现底层的at_socket,提高可靠性

RT,只看到了socket,为什么没有BT/BLE呢?

https://github.com/RT-Thread/rt-thread/issues/3600

01-01 00:00:00 E/at.clnt at_clnt: AT Client receive failed, uart device get data error(-2) 01-01 00:00:00 E/at.skt.sim800 at_clnt: sim0 device receive size(2) data failed. 01-01 00:00:00 E/mqtt mqtt0: [1147090] wait Ping...

After excluded #include as mentioned in https://github.com/RT-Thread-packages/at_device/issues/171 Failed to compile with codes that related to pin driver. For example: https://github.com/RT-Thread-packages/at_device/blob/4d0186531962516f2819f59d50a856f71ba79072/class/sim800c/at_device_sim800c.c#L880 will post errors and warnings that cannot find these functions...

https://github.com/RT-Thread-packages/at_device/blob/4d0186531962516f2819f59d50a856f71ba79072/inc/at_device.h#L19 Related to the change: https://github.com/RT-Thread/packages/pull/1168#event-5921806655 When the socket is disabling, the compiler cannot find this header. This header should be conditionally excluded. for example ~~~ #ifdef AT_USING_SOCKET #include #endif...

使用rt-thread studio 生成n58示例程序,编译后烧录运行,卡在网络注册这一步,提示 mutex ==NULL, 请问是什么原因? \ | / - RT - Thread Operating System / | \ 4.0.5 build Jan 19 2022 11:30:18 2006 - 2021 Copyright by rt-thread...