assuming that you downloaded and successfully compiled mixim 1.2,
try the following in a terminal:
cd mixim/examples
cd ieee802154Narrow
./runTest1.sh
Then, open the Test1.anf analysis file from within the omnet IDE
to examine the results. See the files:
mixim/examples/ieee802154Narrow/ieee802154Narrow.ned
mixim/examples/ieee802154Narrow/PhyMacHost.ned
mixim/contrib/modules/nic/Nic802154_TI_CC2420.ned
Assuming you want dual-mode hosts, you will need:
- to create your own examples directory (e.g. examples/mixedNetwork)
- copy from ieee802154Narrow the omnetpp.ini file, and the two above
mentioned ned files, rename them and change their package declaration
(edit the ned files, it is relatively simple)
- add a second Nic interface to your new Host ned file, by importing
contrib/modules/nic/Nic80211Battery.ned
- create a new network module, deriving from BaseNetwLayer, that has
additional lower gate to communicate with the additional NIC module.
To do this, you will need to create three files: a ned file, a .cc file
and a .h file. In the .cc file you will implement your algorithm that
decide on which NIC interface to use.
You will find explanations in the omnet user guide, the mixim
documentation and the mixim source code on how to do that.
If you want to study the interference between 15.4 and .11 networks,
then you will probably need to work a bit at the physical layer. mixim
provides so-called Mapping objects to model radio signals. It enables to
take into account such interference, but you may need to extend slightly
the existing Decider models.
Regards,
Jérôme
And to build:
make base modules examples
Alternatively, you can import the project into the omnet IDE and use
the Ctrl-B keyboard shortcut to build the project.
Please note that 802.15.4a concerns the UWB-IR alternative PHY layer
(500 MHz ultra wideband signals) and not the narrow band 2.4 GHz PHY
defined in 802.15.4, which is used as PHY layer for ZigBee solutions.
regards
Jérôme
Greetings,
Karl
On 14.07.2010 21:40, David_MIXIM wrote:
> Update to my last post, it seems the MassMobility module doesn't work
> with the ieee802154Narrow example? I'm fairly new to Omnet, Mixim,
> etc... but changing the mobility to ConstSpeedMobility, or
> LinearMobility seemed to do the trick...
>
> On Jul 13, 5:09 pm, David_MIXIM<dlaye...@gmail.com> wrote:
>
>> Hello everyone,
>>
>> I am also working with Mixim. Could anyone tell me how to run a new
>> project that is essentially a copy from the ieee802154Narrow example
>> in Mixim? The original example works fine, however when I copy over
>> the files from the example to create my own project and modify them to
>> avoid duplicate names, incorrect paths, etc the simulation crashes and
>> gives me the following error.
>>
>> .gdbinit: No such file or directory.
>>
>> Cannot access memory at address 0x63a1e3c
>>
>> I have tried everything I could think of over the past three weeks and
>> got different errors but no success. I have also followed J�r�me's
>>>>> J�r�me
>>>>>
>>
>>>>> Le vendredi 09 juillet 2010 � 16:55 +0200, Robert.C.Green a �crit :
Hi dear friends. I am Ayhan KİRAZ and I am a doctora student in Sakarya University in Turkey. I study about wsn transport layer protocol in omnet mixim or mf2. I need a wsn transport layer protocol written on omnet mixim or mf2. a sample. it is very necessary for me and my thesis. Can you help me anyone? I wait for your aswer. perhaps may be any people that worked about this project.
Thank you for your interest
Ayhan KİRAZ
Sakarya University
mail: ayhan...@gmail.com ayhan...@hotmail.com