Meco Man
08af865c50
[at][bug] 修复内存泄漏的bug
2021-03-17 13:56:42 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Meco Man
8e16fe6d85
[uip] remove uip
2021-03-12 10:36:50 +08:00
Meco Man
ab04030f8f
revert
2021-03-08 21:53:02 +08:00
Meco Man
f6cb281440
[components] remove uip
2021-03-08 18:31:46 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Bernard Xiong
fac97f1716
Merge pull request #4305 from OpenNuvoton/revert-3293-fix_at
...
Revert "fix the bug that rx_notice out of sync when data received aft…
2021-03-03 08:53:01 +08:00
Wayne Lin
eaacc0ae3e
Optimize getc flow.
2021-03-02 10:42:40 +08:00
Bernard Xiong
2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
...
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +08:00
xiangxistu
e02f3764bd
[delete] useless logic
2021-02-25 14:44:02 +08:00
xiangxistu
7a2ae46ecf
[fix] the wrong 'ifconfig' information for multi-network interface
2021-02-25 14:06:03 +08:00
Meco Man
b2d3317c6a
remove minilibc
2021-02-23 03:21:16 +08:00
liruncong
0208fc5546
[components]SECTION=>RT_SECTION(与catch2中SECTION冲突)
2021-02-09 23:25:46 +08:00
Wayne
a50d81827a
Revert "fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero"
2021-02-04 22:53:58 +08:00
zhouji92
74691ea783
[fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。
2021-01-20 10:07:55 +08:00
xiangxistu
14ac354dca
[update] when close auto check internet status, shield internet status information.
...
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 14:39:08 +08:00
xiangxistu
5db412b138
[add] a new function to manage internet check.
...
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 11:53:30 +08:00
Bernard Xiong
72bc0d8fad
Merge pull request #3293 from rgw5267/fix_at
...
fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero
2020-12-31 08:34:57 +08:00
Meco Man
63cd26b0d1
update
2020-12-30 16:32:20 +08:00
Meco Man
c2e15e003c
add function rt_hw_1ms_tick_get()
2020-12-29 00:08:24 +08:00
yangjie
eeaf1fcc50
resolve Conflicts
...
bsp/nrf52832/board/Sconscript
bsp/nrf52832/startups/Sconscript
bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00
liuduanfei
963f35e96d
Update netdev.c
2020-12-18 20:53:33 +08:00
thread-liu
82eac71064
[update] Incorrect macro definition name and update jobs name.
2020-12-10 09:51:32 +08:00
Bernard Xiong
86756c0d4c
Merge pull request #4065 from longtengmcu/master
...
fix at socket and sal_socket bug
2020-12-09 17:26:47 +08:00
caixf
0f991c2e3e
[sal] fix
2020-12-08 15:48:58 +08:00
Bernard Xiong
082dda7a1d
Merge pull request #4051 from DavidLin1577/patch-15
...
[net/lwip2.1.2]Update ethernetif.c
2020-12-06 22:21:02 +08:00
yangjie11
ba83ddc3c4
[SConscript] change libcpu to LIBARCH,and correcte letter case
2020-11-30 15:52:43 +08:00
longtengmcu
962acc3313
1、修改宏定义的拼写错误,修改打印IMEI号时的打印错误
2020-11-22 20:05:53 +08:00
longtengmcu
aac5e9da4c
1、web socket请求数据从服务器回来时,服务器会关闭连接,此时AT socket在读取返回的数据时不应该判断socket为连接的状态
...
2、sal socket在支持多网卡时,sal_getaddrinfo从A网卡获取的地址信息,在sal_freeaddrinfo释放时必须由A网卡进行释放
2020-11-22 12:36:07 +08:00
David Lin
88858f216c
Update ethernetif.c
2020-11-21 12:44:14 +08:00
David Lin
4f99d988d9
Update ethernetif.c
2020-11-21 12:35:19 +08:00
yangjie11
91261e25b9
[SConscript]rename group name
2020-11-20 13:38:11 +08:00
qiyongzhong0
db0880bd26
fix at_client, avoid creating the same client repeatedly and prevent working exceptions and memory leaks.
2020-11-02 17:43:23 +08:00
gouqs0615
020a82a65a
fix at_server_getchar spelling error
2020-11-02 16:44:13 +08:00
mysterywolf
22f8b142b6
[revert] [lwip] IAR环境 结构体恢复到之前状态
2020-10-24 18:39:31 +08:00
mysterywolf
c7aa6f0619
[fix bug] #3902
2020-10-02 12:00:52 +08:00
Bernard Xiong
de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
...
Ls2k add gmac
2020-09-11 13:33:16 +08:00
mysterywolf
a890c67fb4
增加lwip/cc.h LWIP_TIMEVAL_PRIVATE是能与否的平台判断条件
2020-09-08 13:39:40 +08:00
bigmagic
e0aa079e52
LwIP on 64 bit processor
2020-09-04 10:23:31 +08:00
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
任光伟
27b7e0d929
解决在判断接收字节为0与RESET信号量之间接收到数据时,导致此次数据无法被处理的bug。
...
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-26 00:53:19 +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
Bernard Xiong
fafdbeaf78
Merge pull request #2898 from ouyangshengduo/master
...
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
2019-07-29 13:31:43 +08:00
tangyuxin
afd0140e67
[components][net][netdev] 修复一处BUG
2019-07-27 09:13:19 +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
232019e8d1
[net][sal] Fix not clean event issue after poll get the error event in lwIP.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-25 11:20:40 +08:00
Bernard Xiong
3eb3a736de
Merge pull request #2831 from Lawlieta/develop
...
[net][lwip][dhcpd] Fix dhcp server compile error in lwIP 2.1.0
2019-07-05 17:09:57 +08:00
chenyong
52d1c50efe
[net][lwip] Fix set_if() compile error when enable dhcpd fucntion and close finsh.
...
[net][dhcpd]Fix dhcpd fucntion compile error in lwIP 2.1.0.
2019-07-04 16:17:52 +08:00
guozhanxin
04296e97b6
[netdev] Add a non-null judgment to the netstat command.|为 netstat 命令添加非空判断。
2019-07-03 22:30:33 +08:00
chenyong
dcd8b8029b
[net][netdev] Delete network commands interrupt disable processing
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-03 10:49:19 +08:00
chenyong
48857d1e67
[net][netdev] Add FINSH_USING_MSH control for netdev network commands
2019-07-02 20:11:41 +08:00
guozhanxin
f128f155a4
[components] move freemodbus to package.|将freemodbus移到软件包。
2019-06-28 10:09:09 +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
nicedayzhu
fe3ab4605d
[Bugfix]Update netdev info after registered
...
1.修复ifconfig命令无法正确显示IP,网关,掩码的问题
2.lwip_2.1.0,增加netdev->mtu = lwip_netif->mtu;
2019-05-29 15:34:02 +08:00
nicedayzhu
c8e1fbf673
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 15:22:11 +08:00
nicedayzhu
c10f087d9e
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 14:15:10 +08:00
nicedayzhu
6454fa81d8
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:42:06 +08:00
nicedayzhu
f5cb3ac760
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:37:16 +08:00
nicedayzhu
c25f7cbfc7
bugfix
...
[net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 11:12:05 +08:00
Bernard Xiong
7494b40d6a
Merge pull request #2728 from Lawlieta/develop
...
[net][at] Fix socket create failed issue when default netdev mismatch.
2019-05-28 20:11:46 +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
4608e1164c
[net][sal] Improve the sal_bind() function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 12:04:25 +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
Bernard Xiong
b249ad77bb
Merge pull request #2689 from balanceTWK/pr_master
...
[components][freemodbus] update function : xMBPortSerialInit(); xMBMasterPortSerialInit
2019-05-16 09:16:31 +08:00
tangweikang
4f44fa8f60
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 17:16:20 +08:00
chenyong
9abdebbec9
[net][sal] Fix fcntl() function not support F_GETFL/F_SETFL operations for socketfd.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-15 14:45:31 +08:00
tangweikang
3dd64da78b
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 12:03:03 +08:00
chenyong
efdb51504c
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-12 20:00:05 +08:00
chenyong
4de0533a51
[net][sal][netdev] Delete the link_up status judgment in the send/recv interface
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-10 15:57:58 +08:00
Bernard Xiong
955d78cd14
Merge pull request #2658 from Lawlieta/develop_sal
...
[net][sal] Improve ioctl interface to support socketfd operations
2019-05-08 15:26:28 +08:00
Bernard Xiong
dfaced4cb6
Merge pull request #2655 from Lawlieta/develop
...
[net][sal] Add options and types for UDP multicast traffic handling
2019-05-08 14:29:15 +08:00
chenyong
25ebcc9c33
[net][sal] Improve ioctl interface to support for socketfd operations
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-08 10:48:17 +08:00
chenyong
cbe67ae354
[net][sal] Add options and types for UDP multicast traffic handling
...
[net][sal] Add options for level IPPROTO_IP
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-07 17:24:11 +08:00
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
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