Mailing list archive (omnetpp-l at omnetpp.org)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omnetpp-l] Writing my system in MobileHost (INETMANET)



it will be transperant for me, so i have to get an interface to work with, I m right?

In other words, when i want to send message from a mobile host to another mobile host which function i have to use?

in my knowledge, i cant use send(message, gate) because i have to use methods implemented in MobileHost Module

Sorry if i m bothering u, i really try to understand how it works. but until now i dont know how to integrate my own code (UDP code ) with a MobileHost.





On Tue, May 26, 2009 at 1:03 PM, Alfonso Ariza <aarizaq_m at xxx> wrote:

You must develop a source that simulates your objectives (UDP source or TCP source).

 

In other words you must develop your application protocol. The other layers are transparent for you (Transport, network, link layer).


From: Omnet User
Sent: Monday, May 25, 2009 10:42 PM
Subject: Re: [Omnetpp-l] Writing my system in MobileHost (INETMANET)


I want to work in the applciation layer.



On Mon, May 25, 2009 at 10:38 PM, Alfonso Ariza Quintana <aarizaq_m at xxx> wrote:


first at all, try to reuse code. If you want to simulate an application, you should develop your traffic source (application) and use the transport layer (UDP or TCP). In what level do you want to work (network, transport, application)?



Date: Mon, 25 May 2009 22:12:43 +0200
Subject: Re: [Omnetpp-l] Writing my system in MobileHost (INETMANET)
From: omnetuser at xxx

To: omnetpp-l at xxx

Thank you for your reply,

I develeped a middleware to work on mobile devices  forming MANET, the goal of this system is to exchange file in a dynamic environement.

I want to use OMNET 4 with INETMANET to simulate my system and to see if my system (middleware) helps in increasing the possibility to receive files (query response) despite devices mobility.

So i make a wireless network using MobileHost, Configurator and ChannelControl.
Now i want to add my system.

what i have to do? do i have to modify the module 'MobileHost' and inside a new submodel named for example 'MySystem'?
or i have to add it as a submodule in the network ?

i dont know how to write my own module and use the funcition provided by MobileHost (use its interface). I have to write function in my system which call functions and methods implemented in UDPApp or TCPApp?

is there any usefull examples that shows:
       how to add my own code?
       and where to add? in which submodule?
       how to use the interface of the previous modules?

I know how to create a new project and add in its references the INETMANET but the questions: how to add my code and where are my problem

I will be more than thankfull if u could help me

Thanks again and waiting for ur help





On Mon, May 25, 2009 at 6:01 PM, Alfonso Ariza <aarizaq_m at xxx> wrote:
 

I can't understand your objectives


From: Omnet User
Sent: Sunday, May 24, 2009 11:02 PM
Subject: [Omnetpp-l] Writing my system in MobileHost (INETMANET)

Hello everybody,

I m a PhD student, i developed a system to work on MANET and i would like to use OMNET++ to simulate my system.

I m using OMNET++ 4.0 and INETMANET.

I m complety new for this. I want to use the MobileHost and then add my system. i think, I have to add it in the application layer but i dont know how.
Do i have to add a new simple module to the MobileHost and write my code in it? or i have to modify an existing simple module lile the UDPBasicApp?

Can u help me please?

I appreriate any help

Thank you in advance.


_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l

_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l




Más rápido, fácil, seguro y con lo que más te gusta de Windows Live, así es el nuevo Internet Explorer 8 ¡Descárgatelo!


_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l

Home | Main Index | Thread Index