Commit Graph

360 Commits

Author SHA1 Message Date
Bernard Xiong 4a2242b94d
Merge pull request #2650 from Lawlieta/develop
[net][netdev] Add default netdev automatic change features configuration
2019-05-06 09:26:29 +08:00
chenyong 7424e44e20 [net][netdev] Add default netdev automatic change features configuration
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 20:35:01 +08:00
Bernard Xiong dd1a906b6d
Merge pull request #2638 from ericQiang/rtt_dev
[bug fix]不使能LWIP的TCP功能时,编译出错。
2019-05-05 18:18:08 +08:00
chenyong 9752dd7889 [net][sal] Delete the judgment of the default network interface device when socket is created
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 14:50:29 +08:00
ericQiang ee6671f22b [bug fix]不使能LWIP的TCP功能时,编译出错。 2019-04-30 00:22:17 +08:00
HubretXie fd05ad76d6
Update sal_socket.c
格式化代码
2019-04-28 15:26:52 +08:00
HubretXie 2d82b62111
Update netdev.c
根据family查找netdev时,优先查找family匹配并且已经联网的网卡
再查找family匹配但是未联网的网卡
2019-04-28 15:24:23 +08:00
HubretXie f7e5f4cd50
Update sal_socket.c
创建sock时,默认网卡联网时才优先使用
2019-04-28 15:21:19 +08:00
chenyong c9bea68240 [net][lwip] Fix open the netdev and the lwip component, ping command export error issue
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-28 00:53:58 +08:00
chenyong 2721e7189a [net][netdev] Fix netdev link_down status, socket create failed issue
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-27 17:24:58 +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 6f732ebb7f [net][sal] fix sockfd initialize error problem
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-24 00:11:04 +08:00
chenyong 126fa9b561 [net][netdev] Improve netdev DNS setting function 2019-04-23 15:08:10 +08:00
Bernard Xiong ca7ebe6175
Merge pull request #2600 from EvalZero/master
[components][workqueue]improve delayed work for reinit.
2019-04-22 19:28:25 +08:00
EvalZero 3ada52e353 [components][net]synchronize delayed work changes. 2019-04-22 11:50:39 +08:00
chenyong f169ceb184 [net][lwip] fix lwip netdev DNS address setup error
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-22 11:28:45 +08:00
chenyong 9df6313537 [net][sal] fix delay_work timer not detach problem
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 18:42:10 +08:00
chenyong 946484760e [net][at][lwip] Modify AT component and lwIP components for netdev 2019-04-16 20:21:33 +08:00
chenyong 3d6e0ea374 [net][netdev]add network interface device components, SAL component adaptation netdev change 2019-04-16 18:24:55 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
MurphyZhao 9be085aa04 [components/net/lwip-1.4.1] 修复不开启 RT_USING_LIBC 时 errno 错误码重复定义的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 15:14:20 +08:00
MurphyZhao 81e028105d [components/net/lwip-1.4.1] 移除对 errno.h 的引入
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:28:59 +08:00
HubretXie 5066ba6a0e
Update at_socket.c
修复sock未初始化使用的问题
2019-04-02 16:10:54 +08:00
Bernard Xiong 656d20362b
Merge pull request #2449 from qgyhd1234/checksum
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 20:23:36 +08:00
zylx bb97c76b59 [components][lwip]LWIP 1.4.1 支持硬件校验和 2019-03-14 17:33:29 +08:00
zylx 9818ee2d29 [components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和 2019-03-14 16:39:50 +08:00
liruncong e5522d6292 [components/net]增加const限定 2019-03-10 10:55:11 +08:00
Bernard Xiong ce2cbb42ec
Merge pull request #2388 from armink/fix_rtdbg
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-07 17:03:23 +08:00
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