Commit Graph

111 Commits

Author SHA1 Message Date
luhuadong ce35dfbc40 [AT] Adjust where the AT socket callback function 2020-05-20 01:11:46 +08:00
luhuadong 88a02d7bd8 fixed some typos 2020-05-09 10:33:36 +08:00
David Lin e16591ced1
Fixed typo: 'lenght' and 'sfotware' in Kconfig
lenght -> length
sfotware -> software
2020-02-19 22:35:43 +08:00
luhuadong 3d5357bc75 [AT] Fix typos in Kconfig 2020-02-10 03:35:04 +08:00
任光伟 27b7e0d929 解决在判断接收字节为0与RESET信号量之间接收到数据时,导致此次数据无法被处理的bug。
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-26 00:53:19 +08:00
chenyong 4da818f8c2 [net] Remove libc select in SAL and AT Socket function
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-10 14:20:44 +08:00
malongwei b0ccfa31ab fix at_socket.c 2019-09-07 11:47:15 +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
senduo 350947b190
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
len值如果不给初始值0,到最后__exit的时候,result = len会导致result的值变成一个不可预估的值,进而导致mbedtls库的while循环无法正常结束,其中mebedtls中发生异常的地方在ssl_tls.c文件中的mbedtls_ssl_flush_output函数while( ssl->out_left > 0 ),因为out_left 是一个无符号整型,退出的条件只能是 out_left = 0,又因为这里面的len没有给初始值0,返回出来的值是一个很大的整型数字,导致了mbedtls中的死循环
2019-07-26 18:33:33 +08:00
chenyong 7d2ffe63e9 [net][sal][netdev] Add IPv6 option configuration and feature support in SAL and netdev
Signed-off-by: chenyong <1521761801@qq.com>
2019-06-24 17:46:18 +08:00
chenyong 1f9a668607 [net][at] Fix socket create failed issue when default netdev mismatch.
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 16:25:42 +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 99c069ffd3 [net][at] Modify AT commands send timeout error log level
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-26 10:04:43 +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
HubretXie 5066ba6a0e
Update at_socket.c
修复sock未初始化使用的问题
2019-04-02 16:10:54 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
mlw 6d947e4f49 更改AT_CMD_MAX_LEN介绍 2019-02-20 12:19:56 +08:00
马龙伟 b8c0c30c78 增加AT_CMD_MAX_LEN配置 2019-02-18 14:22:15 +08:00
thomasonegd 71c3c35c3c fix socket nullptr bug 2018-12-24 08:31:54 +08:00
HubretXie 3a8c6f32c0
Update at_socket.c
修改socket读取遗留数据逻辑
2018-12-12 11:29:14 +08:00
HubretXie 7ac5bd992f
Update at_socket.c 2018-12-07 19:05:24 +08:00
chenyong 37a3a03e33 [net][at] Fix at_recvfrom() select event issue
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-29 18:55:14 +08:00
chenyong 270c39708a [net][at] Modify AT CLI configuration 2018-11-13 09:51:18 +08:00
armink 4e6f13e0da [component] fix Kconfig warning in at and ulog. 2018-11-06 11:41:44 +08:00
HubretXie 61bb8a05d2
Update at_socket.c
at socket 接收数据正常时清除错误标识
2018-11-01 18:43:04 +08:00
HubretXie b9d6336526
Update at_socket.c
at接收超时 添加   EAGAIN  类型返回
2018-11-01 14:23:30 +08:00
slyant a6b51ada1e 修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick 2018-10-18 21:01:30 +08:00
armink e2b5fcd074 [component][at] Add some #ifdef on source code. 2018-10-16 10:31:21 +08:00
eddylin83 65340e46e3 fix at socket issue,online AT package might be fixed too(at_socket_device_register spell mistake) 2018-10-15 13:02:33 +08:00
Bernard Xiong aa4d0903c5
Merge pull request #1884 from linuxhan/master
sal框架,使用at设备,UDP通讯数据无法获得
2018-10-13 13:42:47 +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
linuxhan b6968d2999
Update at_socket.c 2018-10-11 22:41:13 +08:00
linuxhan f93fb14a12 修复SAL框架下AT设备UDP通讯无法接收到数据问题 2018-10-11 22:31:30 +08:00
luofanlu d65424a51b
Update at_client.c
correct a spelling mistake
2018-09-19 22:53:22 +08:00
chenyong e2706c14b1 [net][at] Fix AT Socket select send data issue. 2018-09-17 18:07:26 +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
HubretXie 8edb978c9a
Update at_client.c
修复LOG_X修改引起的编译错误
2018-09-12 10:22:31 +08:00
HubretXie e045c656f0
Update at_socket.c
修复LOG_X修改引起的编译错误
2018-09-12 10:22:00 +08:00
chenyong 02c1f0c621 [net][at] Add AT Client Error LOG for multiple clients 2018-08-31 17:24:26 +08:00
chenyong 33a5cf15ee [net][at] Modify AT socket object release judgment 2018-08-31 14:45:40 +08:00
chenyong a8c9b2fee3 [net][at] Modify 'AT+CLOSE' processing method 2018-08-31 14:08:04 +08:00
chenyong 87c35d4e2f [net][at] Add AT Socket select SAL 2018-08-29 20:40:07 +08:00
chenyong ed7f0cad8b [net][at] Add AT multiple client support 2018-08-28 11:59:30 +08:00
chenyong 2d894b4102 [net][at] Modify AT Socket object callback name 2018-08-27 19:44:04 +08:00
chenyong fc73538153 [net][sal/at] Add components C++ support 2018-08-27 09:56:41 +08:00
chenyong 0d737de882 [net][at] Modify AT Socket log information, fix at_freeaddrinfo() implement 2018-08-24 20:32:14 +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
zylx f166ac946b [net][at] fix server repeated enter issue 2018-08-04 18:47:01 +08:00
zylx e5d9bb9013 [net][at] fix repeated enter issue 2018-08-04 17:44:12 +08:00
chenyong 2e8d994485 [net][at] Modify the AT commands response ERROR judgment method. 2018-08-03 19:10:35 +08:00
chenyong f5d9276434 [net][at] Add AT serial device receive data length judgment. 2018-08-03 16:11:31 +08:00
chenyong c2add5cb4e [net][at] Add AT Socket select LIBC configure. 2018-08-02 17:55:01 +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