Commit Graph

272 Commits

Author SHA1 Message Date
David Lin 037ef1f51f
Update net_test.c
clear the server_addr.sin_zero to '0'.
2021-01-05 18:32:25 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
yangjie11 ba83ddc3c4 [SConscript] change libcpu to LIBARCH,and correcte letter case 2020-11-30 15:52:43 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
Bernard Xiong e6743e8c47
Merge pull request #3959 from DavidLin1577/patch-6
Update net_test.c
2020-10-18 14:19:57 +08:00
Bernard Xiong fe66001bd9
Merge pull request #3969 from DavidLin1577/patch-12
Update listdir.c
2020-10-18 14:10:09 +08:00
David Lin adc5dab5b2
Update listdir.c
1.close dir before return;
2.fixed indentation.
2020-10-17 11:53:11 +08:00
David Lin b0591443e3
Update writespeed.c
Fixed indentation
2020-10-17 11:26:27 +08:00
David Lin 6e6dfb0003
Update net_test.c
Fixed  pointer check, indentation
2020-10-17 10:52:29 +08:00
David Lin 85e32ae58e
Update udpclient.c
tcpclient->udpclient
2020-10-14 11:59:20 +08:00
David Lin f8a20ee433
Update net_test.c
申请内存失败时,直接return,此前代码goto _exit进行rt_free空指针,会造成内存泄漏
2020-10-14 09:56:53 +08:00
David Lin 105d8945f5
Update tcpclient.c
接收->发送
2020-07-17 16:06:33 +08:00
Bernard Xiong eae89d14a0
Merge pull request #3683 from DavidLin1577/patch-2
Update udpserver.c
2020-06-13 20:06:40 +08:00
Bernard Xiong 243324ffa6
Merge pull request #3682 from DavidLin1577/patch-1
Update udpclient.c
2020-06-13 19:17:11 +08:00
David Lin e4f463ed13
Update tcpserver.c
This is 'tcp server', not is 'tcp client'
tcpclient -> tcpserver
2020-06-13 11:01:24 +08:00
David Lin c74e40dbe5
Update udpserver.c
This is 'udp server', not is 'tcp client'
tcpclient -> udpserver
2020-06-13 10:57:38 +08:00
David Lin 79e4fed9ff
Update udpclient.c
This is 'udp client', not is 'tcp client', so 
tcpclient -> udpclient
2020-06-13 10:52:54 +08:00
David Lin 993835b5ed
Update tcpsendpacket.c 2020-04-17 18:44:15 +08:00
David Lin 8e57dcb723
Update tcpsendpacket.c 2020-04-17 18:39:04 +08:00
majianjia 2014663660 Export file examples to MSH
also:
- change static buffer to dynamiclly allocated buffer.
- replace Chinese comment to English comment in some files.
- add apache-2 license
2020-04-12 23:56:43 +01:00
EvalZero b242b1e6f6 [examples][pm]add wakeup application for pm. 2019-05-09 20:55:35 +08:00
Bernard Xiong 2bf9ba0675
Merge pull request #2661 from BernardXiong/pre-release_v4.0.1
Pre-release for v4.0.1
2019-05-09 12:57:47 +08:00
EvalZero d51e0783ba [components][pm]fix some issues with low power components 2019-05-07 21:03:48 +08:00
EvalZero 623ddc62b2 [components][pm]adapt to the new power management interface 2019-05-06 19:57:22 +08:00
Bernard Xiong 6e89f70e92 [examples] remove nanopb example codes 2019-04-28 09:35:54 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
HubretXie 57da7246d8
初始化宏使用错误 2018-12-19 20:12:15 +08:00
zylx 4fd6f2ef53 [examples][test]Perfect test function 2018-12-12 17:13:30 +08:00
MurphyZhao e9c795e8bc [examples][network] 更新 TCP/UDP 例程 uage
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-06 09:46:20 +08:00
MurphyZhao b2d4dd0ba7 [examples][network] 更新 UDP client & server
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-05 16:38:01 +08:00
MurphyZhao 6c62f5d9fe [examples][network] 更新 tcp client & server 例程
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-05 15:17:51 +08:00
armink 12a803bcc9 [component] Add ulog logger basic component. 2018-10-30 09:11:42 +08:00
armink 2d59fe0310 [DeviceDriver] Add power management device driver. 2018-10-29 09:54:52 +08:00
armink dff8a2c513 [DeviceDriver] Add rbb (ring block buffer) data structure. 2018-09-12 08:59:58 +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 2c7fcf7d83 [examples] fixed bug when device not found 2018-07-18 19:21:46 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
liang yongxiang 707a0915e4 [examples] fixed gcc warning: value computed is not used 2018-03-13 17:38:53 +08:00
aozima e20fb2f5b2 [examples] update:
1. cleanup for posix dfs_net.
2. fixed recv buf overwrite.
3. format code.
2018-02-06 18:59:24 +08:00
aozima ff811a93ff [examples] remove unused old code. 2018-02-06 18:19:17 +08:00
liu2guang 1a7e251423 [Examples] add RTC drive test finsh command. | 添加RTC驱动测试finsh命令. 2018-01-17 23:42:10 +08:00
Bernard Xiong 8123ab4cd7 [Examples] Remove unnecessary files 2018-01-15 18:59:57 +08:00
JasonJiaJie de0a201e44 [Termios]1. Add termios test. 2.Add termios.h
1. Add termios test. 2.Add termios.h
2017-12-07 18:32:06 +08:00
tanek liang 33b97d9c5e [examples] fix bsp_directory parameter missing 2017-11-15 15:22:57 +08:00
tanek liang a752418065 [gui] fix rtgui_dc_end_drawing() too few arguments in function call 2017-11-12 22:21:59 +08:00
SummerGift 110ccb0602 add examples/network/chargen.c 2017-10-27 16:10:42 +08:00
SummerGift 8e0d9b4de5 update examples/network/tcpserver.c to rtt 3.0 test. 2017-10-27 16:10:42 +08:00
SummerGift 89cc00a91c update examples/network/udpclient.c examples/network/udpserver.c 2017-10-27 16:10:41 +08:00
SummerGift 1b37cd7dd0 update examples/network/tcpclient.c 2017-10-27 16:10:41 +08:00