IEEE 802.15.4g Implementation

812 views
Skip to first unread message

Ozan Cakmak

unread,
Feb 5, 2015, 9:37:23 PM2/5/15
to ns-3-...@googlegroups.com, Samet Tonyalı
Hi everybody;

I'd like to implement 802.15.4g on my project written by NS-3.

I read some of web links below related to IEEE 802.15.4.



I also found some examples(lr-wpan and sixlowpan folder related 802.15.4 ) in NS-3. However,I need IEEE 802.15.4g examples or implementation.

Unfortunately, I couldn't find any examples or implementation for IEEE 802.15.4g. 

How can I do this? If anyone could give an advice, I'd really appreciate it.

Regards
Ozan 

Tommaso Pecorella

unread,
Feb 6, 2015, 2:27:20 AM2/6/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Hi,

I have a bad and a good news.
The bad news is that 802.15.4g is not yet supported.
The good news is that you can develop it.

For the development 802.15.4g is an amendment to 802.15.4-2011. As a consequence, the first thing would be to update the current model to 15.4-2011 (it's not a dramatic change but it's not simple either).
Then you'd have to define your MAC and add the new PHY modulation and codings. All can be done with enough time and willingness.
Question is: do you want ?

Cheers,

T.

Ozan Cakmak

unread,
Feb 6, 2015, 6:31:12 AM2/6/15
to ns-3-...@googlegroups.com, Samet Tonyalı
Thank you so much.

For your question: Yes I'd like. I'd be grateful to you if you could have and send it.

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/vA-_3yiExy4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Tommaso Pecorella

unread,
Feb 6, 2015, 6:47:23 AM2/6/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Hi,

maybe there's a misunderstanding. I meant "do you want to develop it."

Cheers,

T.

Ozan35

unread,
Feb 6, 2015, 6:50:17 AM2/6/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Sorry! Accept my apologies!

Yes I want to develop it, but I don't know how to start.

Ozan

Tommaso Pecorella

unread,
Feb 6, 2015, 7:33:49 AM2/6/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Hi,

I'd suggest to:
1) Study the standard and the ns-3 implementation (i.e., the 802.15.4-2006)
2) Study the 802.15.4-2011 and 802.15.4g standards and find the differences w.r.t., the 2006 standard
3) Change the code to comply with the one you want.

The ns-3 code is very similar to the standard, and it basically mimics all the 2006 APIs. As a consequence, it's quite easy to understand.
Once you have a good overview of the differences between the various standards, changing the existing code is a matter of design choices and some coding. however, the major effort in finding what have to be changed.

Also, pay attention to the MAC. The 802.15.4 standard doesn't define a lot of details about the MAC... you'll find it.

Cheers,

T.

Ozan35

unread,
Feb 6, 2015, 9:04:03 AM2/6/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Very useful steps! 

Thanks a lot.

Ozan 

Ozan Cakmak

unread,
Feb 11, 2015, 12:02:47 PM2/11/15
to ns-3-...@googlegroups.com, Samet Tonyalı
Hi


My first goal is to configure my code for IEEE 802.15.4 Standard. Next goal is for 802.15.4g, but I have to do first for 802.15.4.

Thanks for the information you given. You suggested me about the 802.15.4-2006. I found these in lr-wpan and sixlowpan model, but I don't understand how to implement 802.15.4.

I have a problem with my previous code which is done with 802.11g.

mesh.SetStandard (WIFI_PHY_STANDARD_80211g); // mesh object is from MeshHelper class.

There is no WIFI_PHY_STANDARD for 805.15.4.

I also couldn't find mesh.SetStackInstaller (MeshHelper class) for 802.15.4 standard on Web.

How can I do configuration from IEEE 802.11g to IEEE802.15.4? I think it must have a simple solution.

Thanks
Ozan



Tommaso Pecorella

unread,
Feb 11, 2015, 6:30:43 PM2/11/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Hi,

I guess you should pay more attention in writing. I know that it's easy to mistype and write "11" instead of "15.4", but people may be confused and think that you think that there is something in common between 802.11g and 802.15.4g.

Cheers,

T.
Message has been deleted

Ozan Cakmak

unread,
Feb 11, 2015, 10:30:47 PM2/11/15
to ns-3-...@googlegroups.com, sametto...@gmail.com
Sorry. My mistake and apologies!

I am writing my problem again.

My friend and I did project with NS-3. It was done/configured with IEEE 80211g. We used this two  code below. 

1.-  mesh.SetStandard (WIFI_PHY_STANDARD_80211g); // mesh object is from MeshHelper class.

2. - mesh.SetStackInstaller (m_stack, "Root", Mac48AddressValue (Mac48Address (m_root.c_str ())));

Now, we will try to configure our code with IEEE 802.15.4.  We looked WIFI_PHY_STANDARD_ 802.15.4 , but we couldn't find this.

How can we implement IEEE 802.15.4 on our previous project? 

How can we configure for IEEE 802.15.4?

Sorry for my mistake again!
Thank you
Ozan

Ozan35

unread,
Feb 12, 2015, 7:16:33 AM2/12/15
to ns-3-...@googlegroups.com
Hi everyone;

I am writing my problem.

My friend and I did project with NS-3. It was done/configured with IEEE 80211g. We used this two code below.

1.- mesh.SetStandard (WIFI_PHY_STANDARD_80211g); // mesh object is from MeshHelper class.

2. - mesh.SetStackInstaller (m_stack, "Root", Mac48AddressValue (Mac48Address (m_root.c_str ())));

Now, we will try to configure our code with IEEE 802.15.4. We looked WIFI_PHY_STANDARD_ 802.15.4(like this) , but we couldn't find this.

How can I implement IEEE 802.15.4 on our previous project? How can I make some code changes in NS-3?

How can I configure for IEEE 802.15.4?

I'd appreciate it too much if someone gives suggestions.

Best regards
Ozan

Tommaso Pecorella

unread,
Feb 12, 2015, 11:46:15 AM2/12/15
to ns-3-...@googlegroups.com
Hi,

I'm sorry if I have to point out in a more explicit and direct way. I tried to gently guide you to he answer, but it seems that my hints were too hidden.

The 802.15.4 and 802.11 standards are completely different and do not share anything. They are so different that it would be easier to interbreed a zebra with a cougar.
Please use some time to understand the differences between the two standards. The fact that they both share the "802" part only means that they're both IEEE standards.
Summarizing: you can NOT start from 802.11g to build or simulate 802.15.4g. Moreover, 802.15.4g is not supported (yet) by ns-3.

Cheers,

T.

Ozan Cakmak

unread,
Feb 12, 2015, 12:02:01 PM2/12/15
to ns-3-...@googlegroups.com
Sorry. I didn't express myself well.

I mentioned about 802.15.4, not 802.15.4g. I postponed 802.15.4g.

Firstly, I just want to use the standard 802.15.4 to replace 802.11g  in my project but i don't know how to do/replace it.

mesh.SetStandard (WIFI_PHY_STANDARD_80211g);  

I looked WIFI_PHY_STANDARD lists. but there is no IEEE 802.15.4 WIFI_PHY_STANDARD

I don't know how use 802.15.4 to replace 802.11g 


Thank you for your valuable help.
Ozan


--

Tommaso Pecorella

unread,
Feb 12, 2015, 12:46:18 PM2/12/15
to ns-3-...@googlegroups.com
Hi,

I'm deeply sorry if I'm speaking such a foreign language that you don't understand the simple concept I'm trying to say.
Let's try in another way.

There is no "IEEE 802.15.4 WIFI_PHY_STANDARD" because 802.15.4 is not a WIFI standard.
The mesh model can not work with 802.15.4 standard due to the above mentioned point. WIFI is not 802.15.4 (and viceversa).

Now, since I really have no more logical or practical arguments to explain the concept, I'll avoid replying to any further request from your side (unless it's on a completely different topic).

T.

Ozan Cakmak

unread,
Feb 12, 2015, 12:57:00 PM2/12/15
to ns-3-...@googlegroups.com

I sincerely apologize to you for expressing myself wrongly.

Here someone is posted this. He tried to use 802.15.4 to replace 802.11.

https://groups.google.com/forum/#!searchin/ns-3-users/802.15.4/ns-3-users/kEP0ekpYIe4/GWl8rHz_H78J


Could you explain if it is possible for you? 

Konstantinos

unread,
Feb 12, 2015, 1:07:44 PM2/12/15
to ns-3-...@googlegroups.com
Hi,

I think that Tommaso's previous reply was as clear as humanly possible. 
IEEE 802.15.4 is not a WiFi standard.

IEEE 802.15.4 IS implemented in NS-3 under the lr-wpan module. Study its documentation and examples available to understand how you can use it.
NOTE: The discussion you posted is one year old and the link to ns-3-lr-wpan has been merged now with the main ns-3 release.

Ozan Cakmak

unread,
Feb 12, 2015, 1:20:46 PM2/12/15
to ns-3-...@googlegroups.com
​I understood his reply now.

I have last question.  My previous project was implemented with IEEE 802.11g.

Is there any way to implement the standard IEEE 802.15.4 to replace IEEE 802.11g? if yes, how can I do this? I just need this answer.

I am sorry again if I express myself wrongly.

Konstantinos

unread,
Feb 12, 2015, 2:09:34 PM2/12/15
to ns-3-...@googlegroups.com
As I and Tomasso have already mentioned, IEEE 802.15.4 _IS_ implemented in NS-3.
If you describe the scenario you want to simulate using 802.15.4 perhaps we could help you more than just saying that WIFI is not the same as 802.15.4.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.

Ozan Cakmak

unread,
Feb 17, 2015, 10:09:15 PM2/17/15
to ns-3-...@googlegroups.com
Hi Konstantinos,

I have another question:  Is it possible to use AODV module for AODV routing on lr-wpan module? I want to run the network like a mesh network. Is there a way to set up a mesh network on lr-wpan without using mesh model in ns3?
 
Regards
Ozan 

Tommaso Pecorella

unread,
Feb 18, 2015, 2:24:35 AM2/18/15
to ns-3-...@googlegroups.com
No, AODV is for IPv4. lr-wpan only supports IPv6.

T.

natesh

unread,
Oct 14, 2016, 9:40:15 AM10/14/16
to ns-3-users

how to analyse the performance IEE 802.15.4 wsn
Message has been deleted

Juan Diego López

unread,
Feb 27, 2018, 7:06:24 PM2/27/18
to ns-3-users
Hello Ozan, I wanna know if you could develop a IEEE 802.15.4g implementation?
Reply all
Reply to author
Forward
0 new messages