RyanCW
a1a8bc5422
[component][net][at] at_client增加deInit接口 ( #10598 )
...
* [component][net][at] at_client增加deInit接口
* [component][net][at] at_client优化serial_v2适配
2025-08-21 18:49:35 +08:00
ryancw
ac8fba0129
[drivers][serial_v2]允许阻塞接收超过rx缓冲区大小的数据、增加超时时间、flush、获取缓冲区数据长度命令、数据溢出逻辑修复、稳定性细节优化、添加更多serial_v2测试用例
...
[components][serial_v2] 优化txflush逻辑、对tx的activated做中断保护
[components][at] at_client适配新版serial_v2
[components][at] at_server适配新版serial_v2
[components][serial_v2] 测试用例增加循环调用,format测试用例
[components][serial_v2] poll模式判断逻辑错误
[components][serial_v2] 测试用例去掉一些非必要延时
[components][serial_v2] 测试例程使用menuconfig进行配置,更新readme
[components][at_client] at_client_getchar返回值错误、at_client解析线程优先级错误设置
[components][at] 错误码应该返回负值
[components][serial_v2] TCFLSH和FIONREAD完善、control函数增加错误返回值
[components][serial_v2] RT_SERIAL_CTRL_GET_RX_DATA_LEN更改为RT_SERIAL_CTRL_GET_UNREAD_BYTES_COUNT
[utest][serial_v2] TC_UART_SEND_TIMES替换为RT_SERIAL_TC_SEND_ITERATIONS
[components][serial_v2] FIONREAD参数应该是无符号类型
[utest][serial_v2] 完善测试用例
[components][serial_v2] 避免使用三目运算符
[components][serial_v2] 使用clang-format格式化代码
[components][serial_v2] 添加get超时时间命令
[components][serial_v2] 完善posix接口
[components][serial_v2] 阻塞接口添加阻塞时间为0时的处理逻辑、优化RX阻塞接收逻辑
[components][serial_v2] 设置超时时间命令的参数改为指针形式
[components][serial_v2] nbuf发送添加超时时间为0时的逻辑
[components][serial_v2] 完善添加测试用例
[utest][serial_v2] 修复依赖关系
[components][serial_v2] 非阻塞模式下tx_flush错误修复
[components][serial_v2] activated使用原子API
[components][serial_v2] 优化DMA逻辑、没使能DMA时屏蔽DMA逻辑节约资源
[components][serial_v2] 提供写满时丢弃新数据和覆盖旧数据策略,写满丢弃策略效率更高
[components][serial_v2] 部分平台适配写满时两种策略功能
[components][serial_v2] DMA模式暂不支持丢弃新数据策略
[utest][serial_v2] 优化测试代码
[components][serial_v2] DMA模式下使用乒乓缓冲、DMA模式支持丢弃新数据策略
[utest][serial_v2] 适配DMA乒乓缓冲
[bsp][serial_v2] 部分bsp适配DMA下乒乓缓冲
[components][serial_v2] 使用spinlock替换中断,对部分结构体变量使用原子操作
[utest][serial_v2] 更新测试用例
[components][at] 适配new serialv2不再判断RTT版本号
[components][at] 删除多余的中文注释
[utest][serial_v2] 添加交叉echo示例,qemu环境下专用
[bsp][qemu] 适配串口v2并开启fifo
[components][at] 修复合并导致的错误
[bsp][n32] 适配serial_v2,没有经过测试
[components][serial_v2] 格式化代码
[utest][serial_v2] 删除无意义的打印
2025-05-16 09:42:11 +08:00
1078249029
9d3ee51107
[components][at] Add formatting message function for at client
...
It will be useful for quiting transmission mode of some chips like esp8266.
Signed-off-by: 1078249029 <1078249029@qq.com>
2025-03-12 20:48:07 -04:00
dongly
b81a44bf74
[AT] AT_Device 适配 SERIAL_V2 ( #9860 )
...
AT_Device 适配 SERIAL_V2
2025-01-03 13:00:33 +08:00
yangpengya
a8d5a645f2
[components][at] 优化AT组件,并解决内存泄露
...
1.优化at server endmark判断,支持自动识别'\r''\n'"\r\n"。
2.优化at_recvfrom,修复大数据量时sem多次释放造成的接收错误。
3.修复at组件中可能存在的内存泄露。
4.优化部分代码逻辑,减少冗余代码。
2024-02-18 11:07:05 -05:00
yangpeng
c386a2c956
[at]优化at格式化输出,避免多个at client和server输出冲突
2023-10-08 13:25:28 +08:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
Meco Man
b35fffd659
[remove rtlibc]修复缺失的头文件导致的报错
2021-09-11 14:43:09 -04:00
luhuadong
b17cf429db
[components][net][at] indent using 4 spaces
2021-06-30 23:38:30 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
liruncong
0208fc5546
[components]SECTION=>RT_SECTION(与catch2中SECTION冲突)
2021-02-09 23:25:46 +08:00
luhuadong
f56af401cc
[at_socket] update AT_SW_VERSION and adjust at_socket_ops
2020-07-23 01:13:48 +08:00
chenyong
108b85f2af
[network][at] Fix the end sign "\r\n" conversion error,and at_server_send、at_server_recv function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-26 14:55:38 +08:00
chenyong
b5ad12573f
[net][at] update AT component V1.3.0, change as follows:
...
- AT Socket feature supports multi-client connections;
- Fix `send data error, current socket (0) state (0) is error` issue when the socket is closed;
- Improve dirty data processing when AT device hard reset;
- Improve `at_obj_set_urc_table()` fucntion, Support for setting multiple URC tables;
- Improve RAW data print format;
2019-05-27 12:03:04 +08:00
chenyong
946484760e
[net][at][lwip] Modify AT component and lwIP components for netdev
2019-04-16 20:21:33 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
armink
4e578b0042
[component][at] Change the license to Apache-2.0.
2018-10-12 16:02:20 +08:00
armink
405fce917a
[component][at] Move at log from at.h to at_log.h .
2018-10-12 15:54:09 +08:00
armink
e9ffd2b2ef
[component][at] Move at module version number definition to Kconfig file.
2018-10-12 15:48:40 +08:00
chenyong
3302ef9d65
[net][at] Add at_client_recv function receive data timeout
2018-09-14 19:31:43 +08:00
chenyong
8f95b78da2
[net][at] fix at select receive event change issue.
2018-09-14 19:25:45 +08:00
chenyong
02c1f0c621
[net][at] Add AT Client Error LOG for multiple clients
2018-08-31 17:24:26 +08:00
chenyong
ed7f0cad8b
[net][at] Add AT multiple client support
2018-08-28 11:59:30 +08:00
chenyong
fc73538153
[net][sal/at] Add components C++ support
2018-08-27 09:56:41 +08:00
chenyong
366fea22dc
[net][at] Delete AT Client port function
2018-08-21 14:12:28 +08:00
chenyong
c2e6f20caf
[net][at] Modify the AT client initialization process, delete AT socket automatic initialization.
2018-08-21 12:05:09 +08:00
chenyong
622fa0e7ce
[net][at] Fix receive error data when AT CLI exits.
2018-08-21 09:35:21 +08:00
zylx
f3bce48502
[net][at] add at_client_wait_connect
2018-08-08 18:18:03 +08:00
chenyong
2e8d994485
[net][at] Modify the AT commands response ERROR judgment method.
2018-08-03 19:10:35 +08:00
armink
ccfde36b4d
[net][at] Using DMA mode first when device is supported.
2018-07-27 19:32:37 +08:00
chenyong
8b887e76e9
[net][at] Add AT commands component
2018-07-25 17:35:20 +08:00