Commit Graph

432 Commits

Author SHA1 Message Date
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
chenyong 0d9b7d60db [net][sal_socket] improve closesocke/shutdown error handling
Signed-off-by: chenyong <1521761801@qq.com>
2019-03-05 19:25:05 +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
Bernard Xiong f87db0908e
Merge pull request #2312 from Ingenic-community/master
net:  lwip-2.1.0: 修复编译过程中的警告/Fix compile-time warnings
2019-02-06 07:48:58 +08:00
Zhou Yanjie 4c585c2d31 lwip-2.1.0: ethernetif.c: 修复编译过程中的警告/Fix compile-time warnings
在第334行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。
在第366行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。

In line 334, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".
In line 366, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:30:23 +08:00
Zhou Yanjie 949468f34c lwip-2.1.0: sys_arch.c: 修复编译过程中的警告/Fix compile-time warnings
在第519行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。
在第550行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。

In line 519, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".
In line 550, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:22:29 +08:00
qiaoqidui 32d1bfd949 fix lwip2.1.0 port bug
fix lwip2.1.0 port bug
2019-01-27 18:01:31 +08:00
EvalZero b676d7230d [lwIP] the errno definition of rt_libc.h is used by default. 2019-01-21 15:50:25 +08:00
Bernard Xiong 9556288e54
Merge pull request #2103 from thomasonegd/master
fix socket nullptr bug
2019-01-02 10:47:52 +08:00
Bernard Xiong 61b6fca3dd [bsp] Update tm4c19x and fix the mb_recv warning in lwip-1.4.1 2018-12-27 12:04:48 +08:00
thomasonegd 71c3c35c3c fix socket nullptr bug 2018-12-24 08:31:54 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +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 beaff7c09d [net][sal] Add SAL components TLS features support
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-15 14:48:20 +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
Bernard Xiong 1946de1104
Merge pull request #1943 from zhaojuntao/ADD-LWIP210
Add lwip210
2018-11-02 20:14:09 +08:00
MurphyZhao 2d18b4ad08 [components][net] 移除 SAL 中 LWIP_NETCONN_FULLDUPLEX 的判断
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 18:27:04 +08:00
MurphyZhao f3abe00d60 [components][net] 更新 LWIP210 注释
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 16:59:37 +08:00
MurphyZhao c3cc7a29c8 [components][dfs] 移除冗余代码
[components][net] 修复 Kconfig
[components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 10:26:37 +08:00
HubretXie 61bb8a05d2
Update at_socket.c
at socket 接收数据正常时清除错误标识
2018-11-01 18:43:04 +08:00
MurphyZhao 58a6b51236 [components][dfs] AND [components][net][sal] 适配 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:21:41 +08:00
MurphyZhao f08039ff6f [components][net] 更新 Kconfig 和 SConscript,支持 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:16:29 +08:00
MurphyZhao 8455ad8797 [components][net][add] 增加 lwip-2.1.0 组件
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:15:07 +08:00
HubretXie b9d6336526
Update at_socket.c
at接收超时 添加   EAGAIN  类型返回
2018-11-01 14:23:30 +08:00
Bernard Xiong 8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
Bernard Xiong fbac6c8be7 Remove lwIP 1.3.2 and yaffs2 from RT-Thread Platform. 2018-10-29 11:05:33 +08:00
slyant a6b51ada1e 修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick 2018-10-18 21:01:30 +08:00
tangyuxin e05cdc69a0 [components][net] dhcpd Support LWIP2.0 and LWIP1.4 2018-10-18 11:57:15 +08:00
armink e2b5fcd074 [component][at] Add some #ifdef on source code. 2018-10-16 10:31:21 +08:00
armink 8cae067452 [component][sal] Add some #ifdef on source code. 2018-10-16 10:31:06 +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 e320de70b6 [license] Change the license of SAL to Apache. 2018-10-15 01:23: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 13a8afa2d4 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-10-11 22:34:40 +08:00
linuxhan f93fb14a12 修复SAL框架下AT设备UDP通讯无法接收到数据问题 2018-10-11 22:31:30 +08:00
chenyong d154c3e936 [net][sal] Add WIZnet chips TCP/IP address family support
Signed-off-by: chenyong <1521761801@qq.com>
2018-10-11 13:47:13 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +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 e14330daf9
Update sal_socket.c 2018-09-12 10:26:46 +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
HubretXie 8a9646b613
Update sal_socket.c
修复关闭socket时的Bug
2018-09-11 22:26:17 +08:00
Bernard Xiong c125c711a3
Merge pull request #1773 from weety/pyconfig
Pyconfig
2018-09-05 21:26:30 +08:00
shauew eda579a156
修改源文件中的断言指令
避免编译报错!
2018-09-05 17:19:59 +08:00
Bernard Xiong 6abe7e4ebd
Merge pull request #1771 from Lawlieta/chenyong
[net][sal] Fix close/shutdown memory leak issue.
2018-09-05 11:18:51 +08:00
weety 5e7c56add2 Fix dependency loop issue. 2018-09-05 09:35:34 +08:00
chenyong 1571ef5acf [net][sal] Fix close/shutdown memory leak issue. 2018-09-04 11:02:48 +08:00
Bernard Xiong 3632693141
Merge pull request #1759 from Lawlieta/chenyong
[net][sal] Fix accept create new socket failed issue.
2018-09-02 12:47:05 +08:00
chenyong 39f3f93ec1 [net][sal] Fix accept create new socket failed issue. 2018-09-01 19:42:33 +08:00
Bernard Xiong 11479e53bd [lwIP] Fix the wait queue initialization issue. 2018-09-01 13:32:03 +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 a3ea0565cf Merge remote-tracking branch 'remotes/rtt/master' into chenyong 2018-08-31 14:09:08 +08:00
chenyong a8c9b2fee3 [net][at] Modify 'AT+CLOSE' processing method 2018-08-31 14:08:04 +08:00
Bernard Xiong f7d19319ab
Merge pull request #1749 from chenyong111/chenyong
Add AT multiple client support
2018-08-30 12:59:42 +08:00
shauew 4fb344e759
Update portserial_m.c
sorry, miss out other two parts.
2018-08-30 09:10:52 +08:00
chenyong 87c35d4e2f [net][at] Add AT Socket select SAL 2018-08-29 20:40:07 +08:00
shauew eea0b9ebf2
Update portserial_m.c
add macro to aviod compile error with:
rt_pin_mode(MODBUS_MASTER_RT_CONTROL_PIN_INDEX, PIN_MODE_OUTPUT);
2018-08-29 18:31:32 +08:00
chenyong ed7f0cad8b [net][at] Add AT multiple client support 2018-08-28 11:59:30 +08:00
chenyong 6d702e579f [net][sal] Remove DFS dependencies in the SAL 2018-08-27 19:50:37 +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 192b177518 [at][sal] Add query and unregistered protocol family functions 2018-08-25 16:01:31 +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
chenyong 05c3af1ee1 [net][sal] Add shutdown type options. 2018-08-06 15:06:29 +08:00
guochuangjian 3de51fe256 fix usRcvBufferPos == MB_SER_PDU_SIZE_MAX bug 2018-08-05 15:08:50 +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
chenyong a8d27156a3 [net][sal] Modify SAL configure judgment. 2018-08-02 17:53:02 +08:00
chenyong dabf8efce4 [net][sal] add socket set multicast group support and format code. 2018-08-02 16:57:23 +08:00
guochuangjian 650f06aa19 fix usRcvBufferPos == MB_SER_PDU_SIZE_MAX assert 2018-08-01 00:40:58 +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
tangyuxin 06d2f9591c [lwip]修复开启SNMP选项编译会失败的问题 2018-07-24 16:17:10 +08:00
tangyuxin efcc08f3af [lwip]Add Statistics Option 2018-07-24 09:44:18 +08:00
梁永祥 f489bfe522
Merge branch 'master' into lwip-debug 2018-07-19 21:06:57 +08:00
朱天龙 (Armink) 69c95944eb
Merge pull request #1643 from chenyong111/sal
Add SAL (socket abstraction layer) framework
2018-07-19 08:25:56 +08:00
liang yongxiang 9868dffc2f [lwIP] add all lwIP Debugging Options 2018-07-18 14:57:00 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
liang yongxiang bd044f674d [components] format Kconfig 2018-07-18 11:59:50 +08:00
armink 730981ec42 [components] Update dfs and lwIP 2.0.2 re-initialization process. 2018-07-13 09:59:03 +08:00
Bernard Xiong 39998e4d89
Merge pull request #1602 from aozima/re_initial_dev
add re-initial check.
2018-07-04 07:15:45 +08:00
aozima 000fe93b9f [lwip] add re-initial check. 2018-07-02 16:58:47 +08:00
liquanqing ac0abf205d delete extra notes 2018-06-29 01:15:24 +08:00
liquanqing 212aac4715 reduction define 2018-06-27 21:56:55 +08:00
liquanqing 125235c61c add freemodbus slave contorl pin config in Kconfig 2018-06-25 14:15:32 +08:00
liquanqing d188fa496c solve the dependency on the stm32 header file for freemodbus 2018-06-25 13:25:54 +08:00
aozima 330e68e5f4 [DHCPD] add new version DHCPD use lwip raw api. 2018-06-20 10:11:53 +08:00
aozima 5fde2f0f08 [DHCPD] fixed compile error. 2018-06-20 10:11:53 +08:00
armink 0e3b1506d4 [components][lwIP] Change the lwIP default selected version to 2.0.2. 2018-05-31 16:58:15 +08:00
MurphyZhao c0587d0407 [components/net] add dns server ip address config, may custom in menuconfig
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-05-28 17:37:30 +08:00
armink 431739dc4b [lwIP] Fix lwip 1.4.1 assert when using DFS_NET. 2018-05-27 21:12:16 +08:00
aozima 7d1324ee68 [lwip] add list_udps() for lwip-1.4.1. 2018-05-25 23:54:16 +08:00
aozima e190b166e2 [lwip] fixed compile error. 2018-05-25 22:30:15 +08:00
aozima 6daf88d7a4 [lwip] add list_udps. 2018-05-25 22:30:14 +08:00
aozima 18941a1e69 [lwip] update list_if: add BROADCAST. 2018-05-25 22:30:13 +08:00
aozima 0819abda7a [lwip] update Kconfig: add erx/etx thread config. 2018-05-25 22:30:13 +08:00
aozima efadb37f4c [DHCPD] fixed compile error if use legacy LWIP. 2018-05-09 21:26:43 +08:00
aozima 47a0e46478 [DHCPD] update DHCPD_SERVER_IP config. 2018-05-09 21:15:14 +08:00
aozima 6a36d0c575 [DHCPD] format code by Astyle. 2018-05-09 17:55:41 +08:00
aozima 3970fa573d [DHCPD] add DHCPD_USING_ROUTER to Kconfig. 2018-05-09 17:55:16 +08:00
armink 56930cd100 [NetUtils] Remove netutils Kconfig and folder. The latest netutils is on packages:netutils. 2018-02-24 13:02:40 +08:00
armink 4793dc0d06 [Net][NetUtils] Fix networking utils Kconfig and SConscript. 2018-01-30 16:52:30 +08:00
flyingcys 00d687bb2c update lwip Kconfig 2018-01-23 17:12:53 +08:00
BernardXiong d219f5bfa9 [lwIP] code cleanup for Kconfig.
1. code cleanup for Kconfig.
2. fix the compiling warning for BYTE_ORDER.
2017-12-31 14:44:58 +08:00
flyingcys a84ea6f06f update Kconfig 2017-12-30 17:31:22 +08:00
bernard 6fe16bba3b [lwIP] Remove the unnecessary log in SConscript. 2017-12-29 22:32:23 +08:00
aozima b0081d356f [LWIP] update dhcpd: add [mac-ip] table support. 2017-12-27 20:34:31 +08:00
aozima 1215737ec9 [LWIP] update dhcpd: set ip when dhcpd start. 2017-12-27 20:09:28 +08:00
aozima d483f25f43 [LWIP] add IPV6 mld_mac_filter() for multicast filter. 2017-12-19 20:08:07 +08:00
aozima 95b0da14cb [LWIP] enable IGMP protocol default. 2017-12-19 19:27:25 +08:00
SummerGift 2d0f18f41f [nfs]: optimize Kconfig file for nfs 2017-12-18 15:48:19 +08:00
SummerGift 3cefa437dd [nfs]: optimize Kconfig file for nfs 2017-12-18 15:44:31 +08:00
aozima 37e5985540 [LWIP] delete errno.h, use RT-Thread implement. 2017-12-14 21:39:32 +08:00
aozima bc2de526db [LWIP] update SConscript: add /src/include/posix to include path when RT_USING_DFS_NET not enable. 2017-12-14 21:38:00 +08:00
Bernard Xiong 2f409c85f1 [Kernel] Use rt_object_get_information to get object chain 2017-12-12 07:36:37 +08:00
Bernard Xiong 7515fb9d83 [lwIP] merge net/Kconfig 2017-12-11 19:16:23 +08:00
Bernard Xiong b6fef984a6 [lwIP] update Kconfig for DHCP/PPP 2017-12-11 19:14:52 +08:00
SummerGift 7fc26a8486 add MEMP_NUM_NETCONN option for lwip 1.4.1 2017-12-11 15:52:11 +08:00
SummerGift 2de2d6e433 [lwip]:add MEMP_NUM_NETCONN option for lwip 2017-12-09 16:04:38 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
aozima affd67a8d5 [LWIP] update LWIP 2.0.2: support IPV6. 2017-11-29 19:27:23 +08:00
aozima 4b4a3ab2b7 [LWIP] make sure lwip initialization order. 2017-11-28 16:00:04 +08:00
bernard 8013d5f768 [lwIP] add lock for init_done callback. 2017-11-15 11:18:56 +08:00
Bernard Xiong 543a83eb01
Update sockets.c 2017-11-13 21:12:48 +08:00
Bernard Xiong 338835f932
Merge pull request #992 from SummerGGift/1013_patch_2
[lwIP] add lwip_tryget_socket API in lwIP 1.4.1.
2017-11-13 21:09:19 +08:00
SummerGift 7a19d911e9 add lwip_tryget_socket 2017-11-13 19:06:20 +08:00
DengQilong e79f9e6b02 fix bsp for lpc54608 2017-11-13 14:18:05 +08:00
bernard 28433d9d54 [lwIP] Fix the compiling warning for lwip-1.4.1 2017-11-03 21:08:31 +08:00
Bernard Xiong bdfb40e761
Merge pull request #945 from enkiller/modify_lwip_rx_is_null
[lwip]判定eth_rx是否为空,为空不执行。
2017-11-03 12:22:57 +08:00
tangyuxin 28855d4fb5 [lwip]判定eth_rx是否为空,为空不执行。 2017-11-03 11:49:18 +08:00
bernard e453f36841 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-11-03 11:45:19 +08:00