Commit Graph

441 Commits

Author SHA1 Message Date
luhuadong f56af401cc [at_socket] update AT_SW_VERSION and adjust at_socket_ops 2020-07-23 01:13:48 +08:00
luhuadong 067106f164 [at_socket] support alloc socket dynamically with at device 2020-07-21 00:29:12 +08:00
liuduanfei 13e768203d
delete duplicate header files 2020-06-28 23:20:31 +08:00
liuxianliang 0d8f90788f [remove] the doc folder of lwIP 2.1.2
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:58 +08:00
liuxianliang be64fcba86 [update] remove lwIP 2.1.0.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:11 +08:00
liuxianliang 5af6aa47c1 [update] remove doc doxygen files and add doxygen zip file.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-22 09:28:48 +08:00
liuxianliang 38db074fca [update] Added custom functions for RT-Thread.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:09:33 +08:00
liuxianliang de1fd2bfc4 [add] lwIP 2.1.2 transplantation on RT-Thread.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:01:09 +08:00
liuxianliang a9796b90ad [add] the code of original lwIP 2.1.2.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 13:44:12 +08:00
liuxianliang f715f29588 [fix] lwip clock confict with minilib clock
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-18 16:42:02 +08:00
xieyangrun 1418cb1875 [net/lwip]: enable LWIP_SO_LINGER option feature of LWIP. 2020-06-18 11:06:06 +08:00
David Lin 822df76f8e
Update ethernetif.c 2020-06-10 23:32:06 +08:00
David Lin aa0b68a575
Update ethernetif.c 2020-06-10 23:30:44 +08:00
David Lin 8beb439926
Update ethernetif.c 2020-06-10 23:27:25 +08:00
David Lin 4f53c68b3b
Update ethernetif.c 2020-06-10 11:09:11 +08:00
David Lin a5fddaecc3
Update ethernetif.c 2020-06-10 11:08:01 +08:00
David Lin 5f6c3d7345
Update ethernetif.c
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only  equal to  'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
Bernard Xiong a6a8b90935
Merge pull request #3618 from longtengmcu/master
fix three bugs about ethernet
2020-06-01 15:32:53 +08:00
longtengmcu d75f03e4b0 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
2020-05-21 22:05:38 +08:00
luhuadong ce35dfbc40 [AT] Adjust where the AT socket callback function 2020-05-20 01:11:46 +08:00
longtengmcu 63950c9259 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
2020-05-17 15:51:35 +08:00
luhuadong 88a02d7bd8 fixed some typos 2020-05-09 10:33:36 +08:00
Keyun-Johan 5ea637903d
Update sal_socket.c
OK
2020-04-13 17:42:37 +08:00
Keyun-Johan 63e855d78a socket_new()成功后,后续函数不成功返回-1,没有删除socket 2020-04-12 19:22:19 +08:00
luanxueguang a1dc525859 [update] 修复拼写错误 2020-04-02 13:50:09 +08:00
Bernard Xiong 87cf14d95f
Merge pull request #3389 from DavidLin1577/patch-3
Fixed typo: 'lenght'  and 'sfotware' in Kconfig
2020-02-22 20:03:03 +08:00
David Lin e16591ced1
Fixed typo: 'lenght' and 'sfotware' in Kconfig
lenght -> length
sfotware -> software
2020-02-19 22:35:43 +08:00
Bernard Xiong c3410c7884
Merge pull request #3380 from DavidLin1577/patch-8
[net] Fixed macro error in lc-switch.h
2020-02-17 12:17:23 +08:00
David Lin ca1e9137d6
[net] Fixed macro error in lc-switch.h
Fixed macro error: __LC_SWTICH_H__ -> __LC_SWITCH_H__
2020-02-16 20:54:45 +08:00
David Lin 812d3d2833
Fixed typo: 'lenght'
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:07:34 +08:00
luhuadong 3d5357bc75 [AT] Fix typos in Kconfig 2020-02-10 03:35:04 +08:00
liuxinaliang 83b290c289 [net][lwip] fix lwIP 2.1.0 personalized sign bug 2019-12-29 15:35:22 +08:00
liuxinaliang a0e62f665f [net][lwip] fix assert in the sys_arch_mbox_fetch function when close socket 2019-12-29 15:32:27 +08:00
liuxianliang f9ef8c7ed9 [net][lwip] modified hostname, support lwIP 1.4.1 ,lwIP 2.0.2 and lwIP 2.1.2
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-21 17:43:32 +08:00
liuxianliang a9cad2b95b [net][lwip] rename hostname, change "RT-Thread_xx" into "RTTHREAD_xx"
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-19 10:36:40 +08:00
liuxianliang 3557d8f8a1 [net][lwip] add personalized RT-Thread sign into lwip protocol stack as hostname.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-18 14:20:55 +08:00
HubretXie 3c2bfa2349
【修复bug】修复sal判断internet连接的隐藏bug
1、当前判断网卡是否连接Internet是通过连接rtt-thread的服务器来判断的,
2、这个月开始好像服务器挂了,不响应请求
3、这里超时用的2000秒,导致sys workqueue被卡死在这里了
2019-11-26 09:38:16 +08:00
malongwei c531fdc7ae 去除sal shut_down后释放socket导致close失败的问题 2019-11-16 12:33:09 +08:00
tanglj86 5e16a09cfb fix rt_thread_mdelay parameter error bug; 2019-10-19 15:00:15 +08:00
chenyong 438d17e27b [net][netdev] fix IMEI spell mistake in ifconfig command
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-12 14:34:54 +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
tangyuxin 4219eb7fc3 [components][net][sal]修复多线程访问创建相同fd的问题 2019-09-03 16:16:10 +08:00
Bernard Xiong 6f8ea1dac9
Merge pull request #3003 from Lawlieta/develop_at
[network][at] Fix the end sign "\r\n" conversion error in AT server,and at_server_send、at_server_recv function
2019-08-26 15:59:57 +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 f39b44ce80 [network][netdev] Improve the ping command error log prompt
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-24 16:37:26 +08:00
chenyong 0d8a216260 [network][netdev] Improve the default netdev operation and format code
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:30 +08:00
chenyong d588940dac [network][lwip] Fix DNS server address set error when multiple network device.
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:29 +08:00
laoyening cdb70c696e 1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
2019-08-15 10:37:58 +08:00
tangyuxin 16304f14a8 [components][net] 1.网卡可卸载 2.dhcpd 服务可停止 2019-08-11 11:53:28 +08:00