Commit Graph

537 Commits

Author SHA1 Message Date
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
bernard 6d9fcd04d2 [Kernel] Change the order of initialization.
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
ArdaFu 9ba62ab5e6 [components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP. 2017-11-02 15:34:37 +08:00
Bernard Xiong 6cdaa43747 [lwIP] use timeval in libc when minilibc is used 2017-11-01 13:37:40 +08:00
Bernard Xiong 42e374e4f4 [lwIP] use libc struct timeval when enable minilibc 2017-11-01 09:14:49 +08:00
bernard 756bfcc5e2 Update Kconfig.
1. Add IPADDR/GWADDR etc;
2. Add Kconfig for libcpu.
2017-10-31 09:54:23 +08:00
ArdaFu 384b6c738a [net][lwip] Add missing reference file for LWIP 1.4.1 2017-10-27 09:44:38 +08:00
bernard 1f76e1b8ec [lwIP] Use RT_LWIP_IPADDR/GWADDR/MSKADDR
Use RT_LWIP_IPADDR/GWADDR/MSKADDR to replace old options:
RT_LWIP_GWADDR0/1/2/3 etc.
2017-10-25 17:37:59 +08:00
SummerGift 2e124994c6 update lwipdhcpd scons groupname 2017-10-24 11:58:55 +08:00
bernard b3fff25b05 [NET] Disable DHCPD in default. 2017-10-17 22:45:12 +08:00
ArdaFu 8394554fca [components][net] In SConscript file, replace RT_USING_LWIP140 with RT_USING_LWIP141 2017-10-16 15:01:44 +08:00
bernard a8e0711a6b [lwIP] Remove RT_LWIP_USING_RT_MEM
1. Remove RT_LWIP_USING_RT_MEM option;
2. Add waitqueue patch for lwIP 2.0.2;
2017-10-15 23:00:21 +08:00
bernard e7f888e24b [lwIP] remove lwip-2.0.0 2017-10-10 16:50:40 +08:00
armink 00c154ccdb [lwIP] Fix the lwIP 2.0.2 IAR compile error when the `RT_LWIP_USING_RT_MEM` macro is not defined. 2017-10-09 22:10:51 +08:00
SummerGift 757613866e [修改]:漏掉了endif导致endmenu失效。 2017-10-09 14:22:07 +08:00
Bernard Xiong 49aa0c468a Update KConfig 2017-10-06 11:01:04 +08:00
armink fdd0ffb182 [KConfig] Add RT_USING_NETUTILS configuration for network. 2017-10-05 15:24:45 +08:00
armink 053d18e704 [KConfig] Add RT_LWIP_RAW and RT_LWIP_USING_RT_MEM configuration for LWIP. 2017-10-05 15:07:17 +08:00
xieyangrun 6b06cb83e3 rename WEAK to RT_WEAK 2017-09-18 11:32:13 +08:00
tanek liang 97c8b00206 [LWIP] enable auto init in lwip-2.0.2 2017-09-06 10:06:15 +08:00
armink 548f0e9e8f [LWIP] Remove `src/netif/slipif.c` on `lwip-2.0.2/SConscript`. 2017-08-20 10:08:26 +08:00
armink 22c7660dfb [LWIP] Remove `RT_USING_NETUTILS` in LwIP 2.0.2 SConscript. 2017-08-19 22:46:19 +08:00
armink 83616c9f2b [LWIP] Add tftp max file name len config to LwIP 2.0.2 `lwipopts.h` . 2017-08-19 20:22:08 +08:00
armink 38ca426626 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-19 20:20:05 +08:00
armink a97d70066b [LWIP] Add LwIP apps SConscript. 2017-08-18 12:10:28 +08:00
armink 871297747a [LWIP] Move net apps to `LwIP/src/apps`. 2017-08-18 11:53:11 +08:00
armink 5910ae4170 [NET] Add telnet app to netutils. 2017-08-18 11:32:25 +08:00
Bernard Xiong 9388f7882f Merge pull request #808 from armink/fix_lwipopts
[LWIP] Update LwIP 2.0.2 opts header file for rtt.
2017-08-18 07:56:02 +08:00
armink e6f6d9ea81 [LWIP] Update LwIP 2.0.2 opts header file for rtt. 2017-08-18 07:51:22 +08:00
armink 501f9814f1 [LWIP] Add lwip 2.0.2 TFTP server to SConscript. 2017-08-17 15:59:58 +08:00
armink b1362405e2 [LWIP] Add TFTP server to LWIP 2.0.2 . 2017-08-17 15:56:33 +08:00
armink c01352da91 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-17 13:31:10 +08:00
armink 640fd7d872 [Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript. 2017-08-10 16:54:42 +08:00
armink ca6b74200c [Net] Add telnet test app to LwIP 2.0.2 . 2017-08-10 16:54:00 +08:00
armink 1d4db58916 [Net] Add ping test app to LwIP 2.0.2. 2017-08-10 16:41:20 +08:00
armink 0742338fa7 [LWIP] Fix lwip 2.0.2 link status problem when the eth isn't linkup at the first time. 2017-08-01 11:35:42 +08:00
bernard ae6ca7bb02 KConfig cleanup. 2017-06-06 18:18:44 +08:00
Bernard Xiong e760d655b1 Merge pull request #735 from JianRuiqian/master
[lwIP] Update ethernetif.c
2017-05-15 23:24:45 +08:00
ruiqian da9688df86 Update dhcp_server.c 2017-05-15 22:27:51 +08:00
ruiqian 8c52d5fdf2 Update ethernetif.c 2017-05-15 13:18:41 +08:00
xools 8be3552036 refine BYTE_ORDER macro 2017-04-22 22:42:36 -07:00
xools 3cad43fc05 add lwip-2.0.2 compile compatibility 2017-04-22 22:39:09 -07:00
armink c8ae11c428 [Modbus] Add KConfig for Modbus. 2017-04-14 13:39:28 +08:00
armink be18a1d0e7 [Modbus] Update the code to the latest version. 2017-04-12 19:27:42 +08:00
HuangXiHans 9487f68f2b Add lwip-2.0.2 TCP/IP Stack 2017-03-27 11:00:48 +08:00
bernard 355b926e89 [lwIP] fix lwip 2.0.0 compiling issue. 2017-01-31 13:18:03 +08:00
bernard 924fc4fa88 [net] Add KConfig for net. 2017-01-31 11:55:49 +08:00
bernard cb61d1ffbc [lwIP] update net/SConscript for lwip 2.0.0 2017-01-31 11:22:52 +08:00
bernard 685c189d0b [lwIP] remove lwip-head and add lwip-2.0.0 2017-01-31 11:08:58 +08:00
Urey 8979d70a69 Update ethernetif.c
if device->eth_rx is NULL ,rx thread will hard fault...
2016-09-23 17:00:31 +08:00
Bernard Xiong c5bf3fa2d1 [lwIP] remove compiling warning. 2016-05-29 11:36:20 +08:00
Bernard Xiong 9f08d09ae1 [lwIP] merge TCP_OVERSIZE code. 2016-05-20 14:19:50 +08:00
Bernard Xiong 050da8a60d [lwIP] Chang the default options in lwIP.
committed by FH.
2016-05-20 12:27:29 +08:00
Bernard Xiong 36edc2c441 [lwIP] Add EAPOL type packet. 2016-05-20 12:23:19 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
Bernard Xiong b46ebbf56d [build] remove hard coded path issue in SConscript 2016-05-10 09:34:05 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00
He Chunhui 7290ff5d76 fix typo 2016-03-16 08:03:33 +00:00
He Chunhui 0fc0ed1bb1 fix copy-paste bug
This bug causes buffer overrun.
2016-03-16 08:00:33 +00:00
He Chunhui 5439580833 fix incompatible unit in LWIP_NAT_TMR_INTERVAL_SEC
LWIP_NAT_TMR_INTERVAL_SEC defined in ipv4_nat.h is in miliseconds,
but ip_nat_check_timeout() thinks it's in seconds.

With this bug, all nat entries will expire immediately when
ip_nat_check_timeout() is called.

Note sys_timeout() is in miliseconds.
2016-03-16 07:43:38 +00:00
aozima 8131ea9c30 fixed Lwip bug: Assert on TCP netconn_write with sndtimeout set
ref: http://savannah.nongnu.org/bugs/?38219
2016-03-02 20:41:14 +08:00
Bernard Xiong 6809547491 [lwIP] Add ETHIF_LINK_AUTOUP/PHYUP flag to ethernet interface 2015-10-15 23:10:59 +08:00
Bernard Xiong 6ee8244a19 [lwIP] export more symbols 2015-09-02 11:23:23 +08:00
Bernard Xiong 2ad2acf577 [net] Fix the options setting issue in lwIP 1.4.1. 2015-08-03 16:17:06 +08:00
weety 707a657744 [FTP server]
1.Fixed PASV mode issue;
2.Implement RNFR and RNTO command;
3.Change some command code according RFC959;
4.Add command for msh shell;
5.Implement "noop" command.
2015-05-14 22:41:31 +08:00
Bernard Xiong 9fa2a04a64 Merge pull request #471 from hduffddybz/master
The problem of finding ethernet interface
2015-05-09 10:05:35 +08:00
yuanbin e9c489d02b modify indentation 2015-05-08 19:02:19 +08:00
yuanbin 877a679b26 netif find error 2015-05-07 18:57:43 +08:00
Bernard Xiong 59da84d85a [lwIP] Remove some default setting; User can re-define these settings or use the default setting in lwip opts.h file 2015-05-07 01:16:49 +00:00
Bernard Xiong dcc6e39816 [lwIP] Use lock scheduler instead of disable interrupt for lwIP porting. 2015-05-04 20:37:41 +08:00
Bernard Xiong 854d8866d3 [DFS] fix the compiling issue under Keil MDK. 2015-05-02 22:53:08 +08:00
Bernard Xiong 8dfc80b4a2 [DFS] Add lwIP file system interface for DFS 2015-05-01 08:19:52 +00:00
armink 278ae90e84 [modbus]removed version number on directory. 2015-02-06 10:19:32 +08:00
armink b3290f6eed [modbus]changed tabs to spaces. 2015-02-05 21:22:18 +08:00
armink dec67c3a29 [modbus]fix port file's head file. 2015-02-05 20:54:32 +08:00
armink 7355879119 [modbus]update SConscript 2015-02-05 19:44:26 +08:00
armink 2a14e4071c [modbus]port modbus master and slave by rtt device framework. 2015-02-05 19:44:25 +08:00
armink d8bbb5f126 [modbus]update modbus master and slave source code to lastest. 2015-02-05 19:44:24 +08:00
bernard 622e6d8238 [lwIP] Add Router and DNS server information in DHCP server. 2015-01-31 20:51:21 +08:00
bernard 3e31d349ea [lwIP] fix the pbuf q=NULL issue in ip_nat_input. 2015-01-31 20:44:53 +08:00
bernard 72298bac32 Merge remote-tracking branch 'bernard/master' 2015-01-31 14:48:31 +08:00
bernard 1f2a6e3a89 [lwIP] fix compiling warning in NAT. 2015-01-31 14:48:19 +08:00
Bernard Xiong a1252f67f5 [lwIP] Add DHCP server implementation 2015-01-31 10:48:28 +08:00
Bernard Xiong 7e11b8eb62 [lwIP] Add NAT readme 2015-01-29 13:47:57 +00:00
Bernard Xiong 627d025cda [lwIP] Modify the ip.c to support NAT 2015-01-29 09:48:48 +00:00
Bernard Xiong 068e2f95a1 [lwIP] remove IP_INPUT_HOOK 2015-01-29 15:01:26 +08:00
Bernard Xiong 3da0f4ec09 [lwIP] Add NAT for lwIP 2015-01-26 06:36:00 +00:00
Bernard Xiong 15231efaff [lwIP] Add IPv4 input hook 2015-01-26 06:35:08 +00:00
hduffddybz 5694c77bcf add judge of RT_USING_LWIP_HEAD 2014-08-30 11:10:50 +08:00
hduffddybz 838cdbe660 change code style 2014-08-30 11:04:13 +08:00
hduffddybz 5a7d40f80e add conditional compilation of ipv6 source file 2014-08-30 11:02:14 +08:00
hduffddybz c9aba13f40 update lwip git head 2014-08-30 10:59:33 +08:00
hduffddybz 53ff02b563 add ipv6 support 2014-08-26 22:32:40 -08:00
root 0ddc739a18 add some comments of lwip porting 2014-07-10 23:18:03 -08:00
bernard b0c94dc4d9 [lwIP] Fix the usage issue of NETIF_LINK_CALLBACK. 2014-06-27 14:49:51 +08:00
bernard 7dbb4dc939 [lwIP] Add LWIP_NO_RX_THREAD/LWIP_NO_TX_THREAD options for lwIP. 2014-06-26 15:55:45 +08:00
Bernard Xiong d10444337b [lwIP] code cleanup 2014-06-24 15:14:39 +08:00
Bernard Xiong bf733ae2aa [LwIP] Fix the MEMP_NUM_TCP_SEG issue. 2014-06-24 14:49:33 +08:00
aozima 7a0e9c3fc7 format code Astyle. 2014-06-14 21:55:51 +08:00
aozima 9ab59cf1e0 used parameter: size. 2014-06-14 21:54:59 +08:00
aozima f296c582a5 fixed bug: close socket when ping() exit. 2014-06-14 21:49:46 +08:00
bernard 31446eab4c [Kernel] application module can support arguments 2014-01-11 16:33:31 +08:00
bernard 3142811644 [lwIP] Add more RT-Thread options into lwIP 2014-01-04 07:55:25 +08:00
Grissiom 61ffa2c438 freemodbus: fix eol
On Windows platform, please set `autocrlf = true` and on Linux, please
set `autocrlf = input`.
2013-11-06 21:47:49 +08:00
armink 615579ccf1 add SConscript for freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 14:16:24 +08:00
armink b280a940c4 add modbus master to freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 09:34:24 +08:00
Bernard Xiong 1dd7e05336 fix lwip 1.4.1 compiling error when enable component init 2013-06-30 22:50:33 +08:00
Bernard Xiong 1172b47d1e add sys_now() function porting 2013-06-30 22:37:05 +08:00
Bernard Xiong 86c9ea1117 Use lwIP 1.4.1 as the default TCP/IP protocol stack 2013-06-30 21:46:14 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Bernard Xiong 86fc696957 add the first porting for lwip 1.4.1 2013-03-25 04:40:09 -04:00
aozima 43228aeb9c fixed list_tcps bug: ipaddr_ntoa isn't reentrant. 2013-02-28 18:22:52 +08:00
Bernard Xiong 1eb6e23c43 add lwip 1.4.1 source code 2013-01-09 00:13:42 -08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
wuyangyong dd5742c9bc fix spelling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2581 bbd45198-f89e-11dd-88c7-29a3b14d5316
2013-01-01 12:25:32 +00:00
dzzxzz@gmail.com 555ccc5fa9 fixed a compiling error in lm3s9b9x bsp while using gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2517 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 06:39:21 +00:00
wuyangyong 7363cd15b9 clean IP when use DHCP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-09 07:25:28 +00:00
bernard.xiong@gmail.com 6d78189f1b Add RT_LWIP_ALIGN_SIZE setting for lwIP; Export BSD socket symbol to Application Module.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2470 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 04:14:00 +00:00
dzzxzz@gmail.com 451cb0281c fixed a compiling warning
warning:  #177-D: variable "i" was declared but never referenced

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2469 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 03:46:46 +00:00
dzzxzz@gmail.com f39686ebf8 fixed the compiling error while defined RT_USING_PPP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2467 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 02:55:31 +00:00
bernard.xiong@gmail.com 93b0d3e4ee The network interface can be initialized after lwIP initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:07:10 +00:00
bernard.xiong@gmail.com 5d710e8862 Add MSC compiler in lwIP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:20:41 +00:00
qiuyiuestc@gmail.com 7307055b1c delete freemodbus
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-24 14:38:56 +00:00
bernard.xiong@gmail.com ee4da4b03e Add DHCP flag when LWIP_DHCP was defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2230 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-24 00:23:50 +00:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
bernard.xiong@gmail.com 5969fffcd7 Added RT_LWIP_PBUF_POOL_BUFSIZE to handle PBUF_POOL_BUFSIZE definition in user configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2072 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:04:12 +00:00
bernard.xiong@gmail.com ee439e74c3 fixed the compiling error when using IGMP protocol.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2056 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:01:49 +00:00
dzzxzz@gmail.com 3ae6d255e0 compiling LWIP 1.4.0 with IAR need these two header files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2049 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:09:34 +00:00
bernard.xiong@gmail.com 12b5decaa9 keep more compatible with RT-Thread driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2039 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:11:02 +00:00
luohui2320@gmail.com 95bcaa08d5 fix lwip compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2024 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 10:48:48 +00:00
bernard.xiong@gmail.com 95c9e7de02 rename lwip-1.4.0 to lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2012 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:11:58 +00:00
bernard.xiong@gmail.com 06eb08e497 remove lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2011 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:10:43 +00:00
bernard.xiong@gmail.com b288007786 rename lwip to lwip-1.3.2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2010 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:07:55 +00:00
bernard.xiong@gmail.com e1e1f13d61 uses lwip 1.4.0 in default.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2009 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:02:06 +00:00
fengzi.rtt 087da42d96 fix a bug about IGMP in ethernetif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1984 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:08:27 +00:00
bernard.xiong@gmail.com d4ebec7cce fix compiling issue when enable newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:07 +00:00
wuyangyong adb734ec50 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1834 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 13:22:26 +00:00
wuyangyong dc540968c4 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1833 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 11:36:36 +00:00
mbbill@gmail.com fea7d02bfd update lwip1.4 for old drivers compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1714 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 14:14:31 +00:00
bernard.xiong@gmail.com 2fe93c9224 fixed lwip accept issue, if this connection has been deleted; added list_tcps function in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-04 08:29:14 +00:00
bernard.xiong@gmail.com 472cc9334a add errno implementation in RT-Thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +00:00
mbbill@gmail.com da55b1857f add static to function declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1677 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 13:49:46 +00:00
bernard.xiong@gmail.com 3dcb78d3e0 optimize netio code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1674 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-20 14:34:05 +00:00
bernard.xiong@gmail.com 2bc131f3a9 add eth_device_linkchange function on ethnet interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-14 12:56:30 +00:00
bernard.xiong 5a825fd81a use tcpip_init_done_callback to initialize lwip stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1668 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-11 10:05:37 +00:00
bernard.xiong@gmail.com b49db5f72a made more function as static.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1660 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-03 15:30:40 +00:00
mbbill@gmail.com b2726da244 re-implemented ethernetif and power-on flow of lwip1.4, note: ethnet driver and init invokings also need to be modified.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1652 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-28 14:52:44 +00:00
bernard.xiong be5f855a44 use GetCurrentDir() function to get CPATH.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1631 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 08:52:50 +00:00
mbbill@gmail.com 86d6c01c9e bug fix in arch implmentation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1628 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 12:02:34 +00:00
mbbill@gmail.com 7121ca6467 fixd a critical issue in lwip. see issue#11
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 02:04:14 +00:00
bernard.xiong@gmail.com 217c6d88f5 open LWIP_NETIF_LINK_CALLBACK definitions
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1573 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 12:53:21 +00:00
bernard.xiong dcf5c15194 fix building script issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1541 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-27 02:01:58 +00:00
mbbill@gmail.com 0e03e7eb2e change some macros accordinate to rtdebug.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1512 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 02:26:46 +00:00
bernard.xiong@gmail.com 99dc4465a6 add skeleton template of network interface driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1502 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14 14:28:28 +00:00
mbbill@gmail.com 8e8fa0035d add reentrance check for lwip arch/ethernetif; convert an example to utf-8 format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 12:02:14 +00:00
mbbill@gmail.com 70bafa328a move net/apps to lwip folder
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:57:32 +00:00
mbbill@gmail.com f00548260a eth_device_init is not re-entrance, add a warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1479 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:50:59 +00:00
bernard.xiong@gmail.com 0513333a10 Add RT_LWIP_VER130, RT_LWIP_VER140 options.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 14:07:59 +00:00
mbbill@gmail.com ae674ab359 Now, lwip is using blocking mailbox.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1473 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:41:36 +00:00
mbbill@gmail.com a967ec707f minor fix in ethernetif
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1469 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:38:56 +00:00
mbbill@gmail.com 6a34056233 Fixd a bug in ethernetif
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1468 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:37:10 +00:00
mbbill@gmail.com 73e78bdc00 Modified net apps for lwip1.4.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1440 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-30 02:16:24 +00:00
mbbill@gmail.com 111d02568c Add sys_mutex implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1439 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-29 11:40:17 +00:00
mbbill@gmail.com e9e1c20aeb lwip1.4.0 is able to run now!
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1437 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-27 06:05:56 +00:00
mbbill@gmail.com 1d56e975cb lwip merged to 1.4.0, compile passed but can not run. ethernetif has been modified a lot.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1436 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-26 16:54:35 +00:00
mbbill@gmail.com f862baaaac FIX: ESHUTDOWN is not defined when newlib is enabled.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1435 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-26 12:06:14 +00:00
bernard.xiong 43448c696d fix mib2 compiling warning; add more options in lwip building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1188 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 07:55:07 +00:00
bernard.xiong 7880b57f3c remove LWIP_THREAD_MAGIC assert in LwIP porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1153 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 05:37:03 +00:00
itspy.wei f438f02b0f add uip
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1125 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-26 16:27:45 +00:00
bernard.xiong@gmail.com 71f3490515 add missed SConscript file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 01:23:09 +00:00
bernard.xiong@gmail.com 10732a76e9 cleanup scons building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
qiuyiuestc 9f10586059 fix tftp create file fail bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@819 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-01 23:23:11 +00:00
qiuyiuestc 56916d1a73 file should be closed after sending finished in ftp server
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@813 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-24 12:21:07 +00:00
bernard.xiong@gmail.com b5763568c9 the unit of read/write offset and buffer size is changed to the block size in block device driver read/write interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@793 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-14 23:31:16 +00:00
qiuyiuestc dcff85f183 modbus master
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@785 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-01 15:29:12 +00:00
bernard.xiong a3e2556360 change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@782 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:09:13 +00:00
bernard.xiong bf08f4d745 decrease memory usage
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@768 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-11 10:19:48 +00:00
mbbill 289aa30c76 FIX: Setting the 'flags' to 0 will overwrite NETIF_FLAG_BROADCAST, see ethernetif.c line 140. Also, the IGMP check is redundant( see netif.c line 153).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@731 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-23 19:25:06 +00:00
bernard.xiong 61e66e376b add un-defined errno in newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@673 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-27 04:09:54 +00:00
bernard.xiong a141589522 add group setting on freemodbus, rtgui; fix finsh shell cmd data conversion issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@645 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-19 04:43:15 +00:00
bernard.xiong 85946a3c0d add scons --target=mdk option for STM3210 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@643 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 23:48:59 +00:00
bernard.xiong 5562ddf77a add group script support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:27:13 +00:00
bernard.xiong 1df014578a move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@637 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:04:01 +00:00