Replace LR-WPAN with custom implementation

49 views
Skip to first unread message

Tanmay Kathpalia

unread,
Jan 19, 2016, 1:23:34 AM1/19/16
to ns-3-users
Dear All


I want to replace LR-WPAN(802.15.4e and 802.15.4g) model implementation with our implementation of 802.15.4e and 802.15.4g for analysing and stimulating
different environments supported by NS3 on our implementation.Our 802.15.4e and 802.15.4g implementation is thread based and communication happens between different layers(802.15.4e and 802.15.4g) using IPC mechanism. 

I have gone through NS3 code and application logs of various examples and came to know that everything works in a single 
process (And as mentioned in some previous posts and perfectly fine that it should be running as a single process as it is a discrete event simulator).

Would like your opinion what problems I might face if I move further in this or what would be your approach to get this done. 

Also I made a multi threaded application using SystemThread class and was able to communicate between 2 different nodes using IPC mechanism. So this made
me feel that maybe what I am thinking to do will work.

Environment: Ubuntu 12.04 and NS3 3.24.1.

Thanks in advance

 

Regards

Tanmay Kathpalia

Tommaso Pecorella

unread,
Jan 19, 2016, 9:46:36 AM1/19/16
to ns-3-users
Hi,

it could work, it could not. It shouldn't really be dependent on the threading (ns-3 is multithread too). The problem is in what are you simulating, at what level and with what APIs.
You could use IPCs to communicate between your simulator and ns-3, but it really depends on how your emulator works and what "objects" it is working with (i.e., packets, datagram, byes, signals ?).


T.

林廷翰

unread,
Feb 17, 2022, 2:17:43 AM2/17/22
to ns-3-users
Hi, 

Because I have same project as your, I need to replace LR-WPAN to 802.15.4e &g, 
So, I would know if you finished the module?  Can you give me some help?

Kevin

Tanmay Kathpalia 在 2016年1月19日 星期二下午2:23:34 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages