[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Amazing !
From: |
Ivan Warren |
Subject: |
[lwip-users] Amazing ! |
Date: |
Thu, 15 Nov 2018 22:57:01 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
Pretty amazing !
After a couple of weeks of fiddling (on my spare time) to write a port,
I have something functional !
The network interface driver was a bit complicated to write because it's
completely asynchronous so I had to write myself a multileaving (that's
a non preemptive multithreaded system) on a cross compiled system.
The fact it is a BIG Endian system made it a little bit of a chalenge !
I have to say the documentation for LWIP is somewhat confusing in some
aspects and requires a bit of guessing around...
I still have issues to work out with my port (For some reason, it takes
a bit of time for the DHCP client to set up the interface. but once it
is up, response time is VERY correct (~1 ms ping time)
I haven't tried IPV6 yet ;) And because my "kernel/OS" is so basic, I
can't at this time send any "commands" (bring an interface up/down,
query anything)
But .... It works ! (192.168.100.204 is the address assigned to my test
system by my DHCP server)
My test system has a.. "lwiperf_start_tcp_server_default(NULL,NULL);"
$ iperf -c 192.168.100.204
------------------------------------------------------------
Client connecting to 192.168.100.204, TCP port 5001
TCP window size: 45.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.100.1 port 36938 connected with 192.168.100.204 port
5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 70.9 MBytes 59.4 Mbits/sec
--Ivan
smime.p7s
Description: Signature cryptographique S/MIME
- [lwip-users] Amazing !,
Ivan Warren <=