Bug 2841

Summary: Zigbee in ns3
Product: ns-3 Reporter: sobia arshad <sobia.arshad>
Component: examplesAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: critical CC: tommaso.pecorella
Priority: P3 Keywords: bug
Version: unspecified   
Hardware: All   
OS: Linux   

Description sobia arshad 2018-01-03 03:33:27 UTC
Hi all

I'm new to ns3. I'm facing two problems. Kindly help me resolve these
First: I want to implement a hybrid scenario having both ZigBee and wifi nodes. Kindly help me to build this
Second:: How can I port Zigbee code(if available in ns3) in ndnSIM?

regards
Comment 1 Tommaso Pecorella 2018-01-03 08:45:58 UTC
Hi,

please don't open bugs for questions that are belonging to ns-3 users group.
I'm going to answer your questions, but I'm also going to close this "bug" as invalid, as it's not a bug.

ZigBee: it is a set of protocols defined by the ZigBee alliance, ranging from the MAC layer to the application layer.
When using IPv6, ZigBee is very close to a "plain" 802.15.4 + 6LoWPAN network, with some extra additions (if I remember well).
At the moment, ns-3 have an 802.15.4 implementation with a simple MAC protocol (not energy-aware). The 6LoWPAN stack is implemented, but 6LoWPAN-ND is still not implemented.
The ZigBee application layer is not implemented. Moreover, there is a debatable issue about the ZigBee stack implementation license. We are not sure (and we discussed this in the past, mind) if an implementation compliant with the ns-3 copyrights would violate the ZigBee copyright. As a result, no implementation has been ever released.

Porting to ndnSIM: if ndnSIM has been recently synced with ns-3, then it should have all the features in ns-3, including 802.15.4, 6LoWPAN, and 802.11 with the Spectrum channel support (see below). If it doesn't have them, then you should ask the ndnSIM developers. We can not offer support for ndnSIM because it is a different project.

802.15.4 and Wi-Fi integration: you'll need to use wifi with the spectrum channel (see the examples). If you use the same channel, then you'll also see the interference between 802.15.4 and Wi-Fi. Mind that the interference between the two system is, by design, extremely low.

T.