From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donnat Eric To: ecos-discuss Subject: Re: [ECOS] ecos: TCP/UDP/IP with Linux simulator Date: Thu, 01 Feb 2001 09:30:00 -0000 Message-id: <3A799D1D.209FFBD1@ri.silicomp.fr> References: <3A78C0C7.5040403@bigpond.com> <3A78C982.1965F29F@redhat.com> <3A78D315.2000902@bigpond.com> X-SW-Source: 2001-02/msg00005.html Brendan J Simon wrote: > Jonathan Larmour wrote: > > > Brendan J Simon wrote: > > > >> I am designing a mobile robot with a wireless interface. It will > >> communicate via TCP/UDP/IP to a server on a Linux host. I want to > >> simulate all the robot software (including ecos with the tcp/udp/ip > >> stack) with ecos linux simulator. > >> Is this possible ? > >> Will the tcp/udp/ip interface simuate properly ? > >> Do I have to write some kind of dummy/simulation driver for the wireless > >> interface ? > > > > The TCP stack cannot be simulated on the linux synthetic target yet. As I > > think you are hinting at, it is possible to write a "driver" that could use > > linux system calls to communicate with an external process, so that eCos > > thinks it is talking to an ethernet card when it isn't really. But no-one > > has done that yet. > > > > With regards to the TCP/IP thing, I'm sure I can conjour up something. > Why can't the TCP/IP stack be simulated ?? The only thing I think you > would need would be simulated physical drivers (eg. ethernet). > > Thanks, > Brendan Simon. the TCP/IP thing is in IMO, surely possible. Perhaps one way is to look at the Linux virtual ethernet device TAP (part of the VTUN project). So, if anybody think it's wrong, I would wish him to explain us why not ... Thanks, -- Eric DONNAT Silicomp Research Institute 2 avenue de Vignate, 38610 Gieres, France. http://www.ri.silicomp.com