12
Open Source Implementation of ZigBee Arina Rudakova (Saint-Petersburg Elelectrotechnical University «LETI», Open Source Linux Lab) 4th FRUCT seminar Tampere 29 November 2008

Open Source implementation of ZigBee

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Open Source implementation of ZigBee

Open SourceImplementation of ZigBee

Arina Rudakova(Saint-Petersburg Elelectrotechnical University «LETI»,

Open Source Linux Lab)

4th FRUCT seminar

Tampere29 November 2008

Page 2: Open Source implementation of ZigBee

Agenda

Introduction in Home Automation ZigBee overview Problem definition Implementation design Tools Current situation and future plans

2

Page 3: Open Source implementation of ZigBee

Applications

Where

Home Entertainment and Control Home Awareness Mobile Services Commercial Building

How

Smart lighting Temperature/Humidity control Water sensors, smoke/fire detectors Mobile (payment, monitoring and control, healthcare) Energy monitoring and control Access control

3

Page 4: Open Source implementation of ZigBee

History and standards

1998 ZigBee-style networks began to be conceived

May 2003 The IEEE 802.15.4 standard was completed

14 December 2004 ZigBee specifications were ratified

13 June 2005 The ZigBee 2004 Specification

September 2006 The ZigBee 2006 Specification

End of 2007, ZigBee PRO was finalized

4

Page 5: Open Source implementation of ZigBee

ZigBee nodes and topologies

Nodes type

ZigBee coordinator(ZC) ZigBee Router (ZR) ZigBee End Device (ZED)

Topologies

Star network Mesh network Mesh-Tree network

5

Page 6: Open Source implementation of ZigBee

ZigBee stack architecture6

Page 7: Open Source implementation of ZigBee

Kernel ZigBee stack layout

zb_ldisc.ko

Kernel Modules Layers

PHY

MAC

NWK

RF

ieee80215.koieee80215_lib.ko

zb.ko

af_zigbee.konet/zb

net/ieee80215

drivers/net/ieee80215

7

Page 8: Open Source implementation of ZigBee

Work plan

Add wireshark dissector; Make protocol layers independent; Define and implement socket interfaces on

IEEE802.15.4 and ZigBee NWK layers; Implement ZigBee APL user-space library.

8

Page 9: Open Source implementation of ZigBee

Implementation progress9

Page 10: Open Source implementation of ZigBee

Wireshark dissector

report transient packets from PHY layer; capture reported packets; add PHY layer dissector to wireshark.

10

Page 11: Open Source implementation of ZigBee

Socket interfaces on IEEE802.15.4 and ZigBee layers

introduce socket type for IEEE802.15.4 layer; define interface primitives; map interface primitives to socket ioctl codes.

11

Page 12: Open Source implementation of ZigBee

Thank you!

Your questions, please.

12