SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
1Samsung Open Source Group
Stefan Schmidt
Samsung Open Source Group
stefan@osg.samsung.com
6LoWPAN: An Open IoT
Networking Protocol
Samsung Open Source Conference 2015
Seoul, Korea
2Samsung Open Source Group
Scope
6LoWPAN: An Open IoT Networking Protocol
● Open: Specified by the IETF
– Specifications available without any membership or license fees
– Designed and developed in public
● IoT: Making “Things” Internet-aware
– Usage of IPv6 to make use of internet protocols
– Leverage on the success of open protocols in contrast to proprietary solutions
● Networking: Stopping at layer 3
– Application layer protocols are flexible and can vary
– Often used together with CoAP, MQTT, etc
3Samsung Open Source Group
●
Motivation
●
6LoWPAN
●
6LoWPAN Header Compression
●
Linux-wpan Status
●
Future Work
Agenda
4Samsung Open Source Group
Motivation
5Samsung Open Source Group
Use Cases
● Battery powered sensors (temp, smoke, etc)
● Main powered appliances (washing machine)
● WiFi accesspoints as Border Router / Gateways
● Home use
● Industrial use Internet
IEEE 802.15.4
6Samsung Open Source Group
Motivation 6LoWPAN
● Sensors are likely to have restricted wireless connectivity
● Using IPv6 instead of something proprietary allows the usage of
existing and proven protocols driving the internet
● A full unmodified TCP/IP stack might clash with hardware
limitations (which are useful for power savings)
● Sensor only need to transfer little
data, compared to the usage
scenarios of a Smartphone, PC ..
Internet
IEEE 802.15.4
7Samsung Open Source Group
Motivation Linux-wpan
● Battery powered sensors might not run Linux but choose a smaller OS
● Linux is the OS of choice for embedded products
● Main powered appliances might run Linux already and would benefit
from native 6LoWPAN support
● IEEE 802.15.4 chips could easily be integrated in WiFi accesspoints or
routers which already run Linux
● Thus a real benefit to have a
802.15.4 subsystem ready in
the Linux kernel
Internet
IEEE 802.15.4
8Samsung Open Source Group
Movement Towards IP
● A lot protocols are moving towards IP
● Often started out with their own networking stack
● Swichting to make use of the success of IP as protocol
● The name Internet of Things already implies that it should be modeled
after the success of the Internet
– Direct addressing of nodes
– Re-usage of proven protocols
● But TCP/IP is not one size fits all
– Adaptations needed for MTU size
– Reduce of header overhead
– UDP (DTLS) instead of TCP to avoid latencies
9Samsung Open Source Group
6LoWPAN
10Samsung Open Source Group
ZigBee Relations
● IEEE 802.15.4 is often mixed up with ZigBee
● It uses the PHY and MAC layers defined by
IEEE 802.15.4
● Everything above Layer 2 was proprietary
● ZigBee IP seems to have switched to 6LoWPAN and
keeping the rest on top of it
● ZigBee licensing seems incompatible with the GPL,
no ZigBee support for the Linux Kernel
11Samsung Open Source Group
IEEE 802.15.4 / LoWPAN
● IEEE 802.15.4 specifications, starting in 2003
● Low-Rate and low power Wireless Personal Area
Networks
● Specifies the physical and the MAC layer
● Simple addressing but no routing
● Star and Peer-to-Peer topologies supported
● Mesh topologies need some layers on top of these
● Applications are small battery powered devices like
sensors and actors in automation
12Samsung Open Source Group
6LoWPAN
● A series of IETF specifications, starting in 2007
● IPv6 over LoWPAN (IEEE 802.15.4)
● Direct IP addressing of nodes
● Adaptation layer between Data-Link and Network layer
(RFC4944)
● Autoconfiguration with neighbor discovery (RFC4944)
● Header and payload compressions (RFC4944, RFC6282,
RFC7400)
● Updates and extensions in other RFC's (see references at the end)
13Samsung Open Source Group
6LoWPAN Adaptation Layer
● The 6LoWPAN adaptation layer sits between
Data-link and original Network layer
● It effectively becomes part of the Network layer,
but only on the specified Data-Link layers
L3 Network Layer
L4 Transport Layer
L1 Physical Layer
L5 Application Layer
L2 Data Link Layer
IP
TCP | UDP | ICMP
Ethernet PHY
Application
Ethernet MAC
IPv6
UDP | ICMPv6
6LoWPAN
IEEE 802.15.4 PHY
Application
IEEE 802.15.4 MAC
14Samsung Open Source Group
6LoWPAN Fragmentation
● IPv6 allows for a maximum packet size of 1280 bytes
● This is impossible to handle in the 127 byte MTU of IEEE 802.15.4 (other
PHY's will vary here)
● Therefore 6LoWPAN defines a fragmentation scheme to allow such
packets
● The 11 bit fragmentation header allows for 2048 byte packet size with
fragmentation
● But fragmentation can still lead to bad performance in loosy networks
● Best to avoid big packet sizes
● 11 000xxx as FRAG1 dispatch value, 11 100xxx for FRAGN
15Samsung Open Source Group
The Header Size Problem
● Worst-case scenario calculations
● Maximum frame size in IEEE 802.15.4: 127 byte
● Reduced by the max. frame header (25 byte): 102 byte
● Reduced by highest link-layer security (21 byte): 81 byte
● Reduced by standard IPv6 header (40 byte): 41 byte
● Reduced by standard UDP header (8 byte): 33 byte
● This leaves only 33 byte for actual payload
● The rest of the space is used by headers
Frame Header (25) LLSEC (21) IPv6 Header (40) UDP Payload (33)
16Samsung Open Source Group
IPv6 Header Compression (IPHC)
● Defining of some default values in IPv6 header
– Version == 6, traffic class & flow-label == 0, hop-limit only well-known values (1, 64 or 255)
– Remove the payload length (available in 6LoWPAN fragment header or data-link header)
– Addresses (link-local, global, multicast)
● Re-usage of the L2 address for IPv6
– Eliding the IPv6 prefix (global known by network, link-local defined by compression)
– Using the EUI-64 L2 address
– Using the short address in following format PAN_ID:16 bit zero:SHORT_ADDRESS
Version
Source Address
(128 bit)
Destination Address
(128 bit)
Traffic Class (8 bit) Flow Label (20 bit)
Payload Length (16 bit) Next Header (8 bit) Hop Limit (8 bit)
IPv6 Header (40 bytes)
17Samsung Open Source Group
Header Comparison
Version
Source Address
(128 bit)
Destination Address
(128 bit)
Traffic Class (8 bit) Flow Label (20 bit)
Payload Length (16 bit) Next Header (8 bit) Hop Limit (8 bit)
IPv6 Header (40 bytes)
Source Address (16 bit)
Dispatch (8 bit)
6LoWPAN Header IPHC multi-hop (7 bytes)
Hop Limit (8 bit)LoWPAN_IPHC (8 bit)
Destination Address (16 bit)
Dispatch (8 bit)
6LoWPAN Header IPHC link-local (2 bytes)
LoWPAN_IPHC (8 bit)
18Samsung Open Source Group
The Header Size Solution
● Calculations with plain 6LoWPAN usage
● IPv6 with link-local and UDP on top
● IPHC with NHC for UDP
● The fixed 48 byte IPv6 + UDP header could
in the best cases be reduced to 6 bytes
Frame Header (25) LLSEC (21) 6 Payload (75)
Dispatch (1) LOWPAN_IPHC (1)LOWPAN_NHC (1) UDP Ports (1) UDP Checksum (2)
19Samsung Open Source Group
Stateless Address Autoconfiguration
● Autoconfiguration based on layer 2 address
– EUI-64 hardware address use as is
– Pseudo 48bit address based on short address:
16_bit_PAN:16_zero_bits:16_bit_short_address
● Link-local addresses use the FE80::/64 prefix
● Neighbor Discovery for 6LoWPAN is specified
in RFC6775
20Samsung Open Source Group
6LoWPAN Header Compression
21Samsung Open Source Group
6LoWPAN Compressions
● Started with HC1 and HC2 compressions
● Updated / deprecated by IPHC and NHC
● Extended by GHC
● More NHC schemes to come, e.g. EAP
● Possible to invent your own scheme if you
have repeating usage patterns in your use
case
22Samsung Open Source Group
LOWPAN_HCx
● LOWPAN_HC1 and LOWPAN_HC2 came with the original
adaptation layer specification (RFC4944)
● Best savings in link-local communication, e.g. neighbor
discovery
● The more common case with routable addresses needed
the prefix to be carried in line which makes the
compression less efficient
● UDP compression support
23Samsung Open Source Group
Next Header Compression
● RFC6282
● LOWPAN_IPHC
– Better compression for global and multicast addresses not only link-local
– Compress header fields with common values: version, traffic class, flow label, hop-limit
● NHC IPv6 Extension Header compression
– Hop-by-Hop
– Routing Header
– Fragment Header
– Destination Options Header
– Mobility Header
● NHC UDP Header compression
– Compressing ports range to 4 bits
– Allows to elide the UDP checksum for cases where upper layers handle message integrity
24Samsung Open Source Group
Generic Header Compression
● RFC7400
● A new scheme had to be defined for each new header which
should be compressed
● Plugging into NHC
● Adding a vastly more general, but slightly less efficient scheme
● LZ-77 style compression with bytecode for
– Appending zeroes
– Backreferencing to a static dictionary
– Copy data as is
● Indicating GHC capability over ND option 6CIO for bootstrapping
25Samsung Open Source Group
Bluetooth LE Relationship
● IETF specification for IPv6 over Bluetooth LE
● Still in draft phase (draft-ietf-6lo-btle)
● No fragmentation but usage of
compression methods
● Common code is thus shared between the
wpan and Bluetooth subsystems in the
Linux kernel
26Samsung Open Source Group
More 6LoWPAN Adaptations
● Specifications being prepared for other L2 technologies
● NFC
● DECT Ultra Low Energy
● PowerLine (PLC)
● 802.11ah lower energy consumption, many stations,
long distance, sub 1GHz
● 6loBAC: Token passing network for the RS-485 physical
layer
27Samsung Open Source Group
Linux-wpan Status
28Samsung Open Source Group
Project
● IEEE 802.15.4 and 6LoWPAN support in the Linux kernel
● Started in 2008 as linux-zigbee project on Sourceforge
● The first steps of mainlining around 2012
● New project name to avoid confusion: Linux-wpan
● New maintainer Alexander Aring, Pengutronix
● Mailinglist moved to vger like most other Kernel lists
● Patches are now handled on the list and picked up through the
Bluetooth-next tree
● http://wpan.cakelab.org, releases, docs
29Samsung Open Source Group
Architecture
● ieee802154 handles the MAC layer and
drivers (wpan0 interface)
● 6LoWPAN sits on top of the wpan devices
and acts as adaptation layer to be used
by the normal IPv6 kernel stack
(lowpan0 interface)
● 6LoWPAN transparently handles the
fragmentation and reassembly between
the different MTU's (127 vs 1280)
as well as compressions
Source: Alexander Aring
30Samsung Open Source Group
Current Mainline Status
● ieee802154 layer with drivers for various chips
(at86rfxxx, mrf24j40, cc2520, atusb)
● Link Layer Security
● 6LoWPAN implementation
● LOWPAN_IPHC
● NHC for UDP
● GHC being worked on
● Connection between Linux devices works
● Connection to Contiki devices works
● Connection to RIOT devices works
Source: openlabs.ca
Source: qi-hardware.com
31Samsung Open Source Group
Next Header Compression
● 6LoWPAN Next Header Compression (NHC)
● Kernel framework allows for different modules to
handle one compression and decrompression format
each
● Mix and match different modules/formats
● Only NHC UDP is fully implemented right now
● Runtime configuration interface missing
● GHC capability indication via ND (6CIO) not yet supported
32Samsung Open Source Group
Future Work
33Samsung Open Source Group
Linux-wpan
●
Implement missing parts of the spec
– Beacon and MAC command frame support
– Coordinator support in MAC layer and wpan-tools
– Scan for available PANs
●
Improve existing drivers and add support for new hardware
●
Implement more NHC modules for other compression
schemes
●
Neighbor Discovery Optimization for 6LoWPAN
(RFC6775)
34Samsung Open Source Group
Interoperability
●
Linux-wpan most of the time tested against Linux-wpan only
●
Basic tests with Contiki
– IEEE 802.15.4 connections
– 6LoWPAN with LOWPAN_IPHC and NHC UDP
●
RIOT OS developers also tested against Linux-wpan
– Lead to fixes on both sides
●
Attending a formal Plugtest is still on the agenda
– There is an ETSI plugtest during IETF94 in Yokohama, Japan next week
– Hopefully some attendee with a Linux-wpan stack
– Maybe another Plugtest in Europe next year which we might attend
35Samsung Open Source Group
Miscellaneous
●
Routing Protocol for Low-Power and
Lossy Networks (RFC6550)
– unstrung, linux-rpl as current implementations
●
Thread uses parts of 6LoWPAN for their
protocol
– Potential for cooperation and interop testing
36Samsung Open Source Group
References
● RFC4919: 6LoWPAN Problem Statement
● RFC4944: Transmission of IPv6 Packets over
IEEE 802.15.4 Networks
● RFC6282: Compression Format for IPv6 Datagrams
● RFC6550: RPL: IPv6 Routing Protocol for Low-Power and
Lossy Networks
● RFC6775: Neighbor Discovery Optimization for 6LoWPAN
● RFC7400: 6LoWPAN-GHC: Generic Header Compression
for 6LoWPAN
37Samsung Open Source Group
Thank you.
38Samsung Open Source Group
We are hiring.
jobs@osg.samsung.com

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

IPv4
IPv4IPv4
IPv4
 
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
 
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
 
6lowpan introduction
6lowpan introduction6lowpan introduction
6lowpan introduction
 
Gprs architecture ppt
Gprs architecture pptGprs architecture ppt
Gprs architecture ppt
 
Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks
 
Iot
IotIot
Iot
 
Localization in WSN
Localization in WSNLocalization in WSN
Localization in WSN
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
wireless sensor network
wireless sensor networkwireless sensor network
wireless sensor network
 
6lowpan
6lowpan 6lowpan
6lowpan
 
CoAP - Web Protocol for IoT
CoAP - Web Protocol for IoTCoAP - Web Protocol for IoT
CoAP - Web Protocol for IoT
 
Wimax / ieee 802.16
Wimax / ieee 802.16Wimax / ieee 802.16
Wimax / ieee 802.16
 
IoT Control Units and Communication Models
IoT Control Units and Communication ModelsIoT Control Units and Communication Models
IoT Control Units and Communication Models
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
GSM channels
GSM channelsGSM channels
GSM channels
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
Leach protocol
Leach protocolLeach protocol
Leach protocol
 
Mobile Transport layer
Mobile Transport layerMobile Transport layer
Mobile Transport layer
 

Destacado

Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxSamsung Open Source Group
 
Communication Issues in Ultra-Low-Power Wireless Sensor Networks
Communication Issues in Ultra-Low-Power Wireless Sensor NetworksCommunication Issues in Ultra-Low-Power Wireless Sensor Networks
Communication Issues in Ultra-Low-Power Wireless Sensor NetworksAlessandro Bogliolo
 
Ppt on low power wireless sensor network 5th sem
Ppt on low power wireless sensor network 5th semPpt on low power wireless sensor network 5th sem
Ppt on low power wireless sensor network 5th semshikhathegreat
 
Power Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkPower Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkBhavik Panchal
 
Low power MAC for wireless sensor network
Low power MAC for wireless sensor networkLow power MAC for wireless sensor network
Low power MAC for wireless sensor networkAttia Chaudhry
 
Low Power Wireless Sensor Network Technologies and Standards for the Internet...
Low Power Wireless Sensor Network Technologies and Standards for the Internet...Low Power Wireless Sensor Network Technologies and Standards for the Internet...
Low Power Wireless Sensor Network Technologies and Standards for the Internet...Duncan Purves
 
wireless sensor network my seminar ppt
wireless sensor network my seminar pptwireless sensor network my seminar ppt
wireless sensor network my seminar pptEisha Madhwal
 

Destacado (9)

Run Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT NetworkRun Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT Network
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
 
Presentation 6lowpan
Presentation 6lowpanPresentation 6lowpan
Presentation 6lowpan
 
Communication Issues in Ultra-Low-Power Wireless Sensor Networks
Communication Issues in Ultra-Low-Power Wireless Sensor NetworksCommunication Issues in Ultra-Low-Power Wireless Sensor Networks
Communication Issues in Ultra-Low-Power Wireless Sensor Networks
 
Ppt on low power wireless sensor network 5th sem
Ppt on low power wireless sensor network 5th semPpt on low power wireless sensor network 5th sem
Ppt on low power wireless sensor network 5th sem
 
Power Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkPower Management in Wireless Sensor Network
Power Management in Wireless Sensor Network
 
Low power MAC for wireless sensor network
Low power MAC for wireless sensor networkLow power MAC for wireless sensor network
Low power MAC for wireless sensor network
 
Low Power Wireless Sensor Network Technologies and Standards for the Internet...
Low Power Wireless Sensor Network Technologies and Standards for the Internet...Low Power Wireless Sensor Network Technologies and Standards for the Internet...
Low Power Wireless Sensor Network Technologies and Standards for the Internet...
 
wireless sensor network my seminar ppt
wireless sensor network my seminar pptwireless sensor network my seminar ppt
wireless sensor network my seminar ppt
 

Similar a 6LoWPAN: An open IoT Networking Protocol

Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceSamsung Open Source Group
 
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPAN
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPANLinux Kernel Status Report for IEEE 802.15.4 & 6LoWPAN
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPANSamsung Open Source Group
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linaro
 
An FPGA for high end Open Networking
An FPGA for high end Open NetworkingAn FPGA for high end Open Networking
An FPGA for high end Open Networkingrinnocente
 
Introduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential CollaborationIntroduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential CollaborationSamsung Open Source Group
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01mrmr2010i
 
Improving Network Efficiency with Simplemux
Improving Network Efficiency with SimplemuxImproving Network Efficiency with Simplemux
Improving Network Efficiency with SimplemuxJose Saldana
 
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime
 
Io t hurdles_i_pv6_slides_doin
Io t hurdles_i_pv6_slides_doinIo t hurdles_i_pv6_slides_doin
Io t hurdles_i_pv6_slides_doinJonny Doin
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdfJunZhao68
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002suvobgd
 
DCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfDCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfBilal Munir Mughal
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...OpenStack Korea Community
 
Cilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDPCilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDPThomas Graf
 
Demystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostDemystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostCumulus Networks
 

Similar a 6LoWPAN: An open IoT Networking Protocol (20)

Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPAN
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPANLinux Kernel Status Report for IEEE 802.15.4 & 6LoWPAN
Linux Kernel Status Report for IEEE 802.15.4 & 6LoWPAN
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols
SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT ProtocolsSFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols
SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols
 
L6 6 lowpan
L6 6 lowpanL6 6 lowpan
L6 6 lowpan
 
An FPGA for high end Open Networking
An FPGA for high end Open NetworkingAn FPGA for high end Open Networking
An FPGA for high end Open Networking
 
Introduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential CollaborationIntroduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential Collaboration
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01
 
RouterOS v6
RouterOS v6RouterOS v6
RouterOS v6
 
Improving Network Efficiency with Simplemux
Improving Network Efficiency with SimplemuxImproving Network Efficiency with Simplemux
Improving Network Efficiency with Simplemux
 
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
 
Io t hurdles_i_pv6_slides_doin
Io t hurdles_i_pv6_slides_doinIo t hurdles_i_pv6_slides_doin
Io t hurdles_i_pv6_slides_doin
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002
 
Multipath TCP Upstreaming
Multipath TCP UpstreamingMultipath TCP Upstreaming
Multipath TCP Upstreaming
 
DCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdfDCN 5th ed. slides ch22 Next Generation IP.pdf
DCN 5th ed. slides ch22 Next Generation IP.pdf
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
 
Cilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDPCilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDP
 
Demystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostDemystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the Host
 
6 lowpan
6 lowpan6 lowpan
6 lowpan
 

Más de Samsung Open Source Group

The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)Samsung Open Source Group
 
Rapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBSamsung Open Source Group
 
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesTizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesSamsung Open Source Group
 
IoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondIoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondSamsung Open Source Group
 
IoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialIoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialSamsung Open Source Group
 
Open Source Metrics to Inform Corporate Strategy
Open Source Metrics to Inform Corporate StrategyOpen Source Metrics to Inform Corporate Strategy
Open Source Metrics to Inform Corporate StrategySamsung Open Source Group
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilitySamsung Open Source Group
 
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...Samsung Open Source Group
 
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivityIoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivitySamsung Open Source Group
 
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxSamsung Open Source Group
 
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of ThingsJerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of ThingsSamsung Open Source Group
 

Más de Samsung Open Source Group (20)

The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)
 
Easy IoT with JavaScript
Easy IoT with JavaScriptEasy IoT with JavaScript
Easy IoT with JavaScript
 
Spawny: A New Approach to Logins
Spawny: A New Approach to LoginsSpawny: A New Approach to Logins
Spawny: A New Approach to Logins
 
Rapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USB
 
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesTizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
 
IoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and BeyondIoTivity: Smart Home to Automotive and Beyond
IoTivity: Smart Home to Automotive and Beyond
 
IoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialIoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorial
 
GENIVI + OCF Cooperation
GENIVI + OCF CooperationGENIVI + OCF Cooperation
GENIVI + OCF Cooperation
 
Framework for IoT Interoperability
Framework for IoT InteroperabilityFramework for IoT Interoperability
Framework for IoT Interoperability
 
Open Source Metrics to Inform Corporate Strategy
Open Source Metrics to Inform Corporate StrategyOpen Source Metrics to Inform Corporate Strategy
Open Source Metrics to Inform Corporate Strategy
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
 
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
 
IoTivity: From Devices to the Cloud
IoTivity: From Devices to the CloudIoTivity: From Devices to the Cloud
IoTivity: From Devices to the Cloud
 
SOSCON 2016 JerryScript
SOSCON 2016 JerryScriptSOSCON 2016 JerryScript
SOSCON 2016 JerryScript
 
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivityIoT: From Arduino Microcontrollers to Tizen Products using IoTivity
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
 
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
 
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of ThingsJerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
 
Clang: More than just a C/C++ Compiler
Clang: More than just a C/C++ CompilerClang: More than just a C/C++ Compiler
Clang: More than just a C/C++ Compiler
 
JerryScript on RIOT
JerryScript on RIOTJerryScript on RIOT
JerryScript on RIOT
 
Development Boards for Tizen IoT
Development Boards for Tizen IoTDevelopment Boards for Tizen IoT
Development Boards for Tizen IoT
 

Último

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 

6LoWPAN: An open IoT Networking Protocol

  • 1. 1Samsung Open Source Group Stefan Schmidt Samsung Open Source Group stefan@osg.samsung.com 6LoWPAN: An Open IoT Networking Protocol Samsung Open Source Conference 2015 Seoul, Korea
  • 2. 2Samsung Open Source Group Scope 6LoWPAN: An Open IoT Networking Protocol ● Open: Specified by the IETF – Specifications available without any membership or license fees – Designed and developed in public ● IoT: Making “Things” Internet-aware – Usage of IPv6 to make use of internet protocols – Leverage on the success of open protocols in contrast to proprietary solutions ● Networking: Stopping at layer 3 – Application layer protocols are flexible and can vary – Often used together with CoAP, MQTT, etc
  • 3. 3Samsung Open Source Group ● Motivation ● 6LoWPAN ● 6LoWPAN Header Compression ● Linux-wpan Status ● Future Work Agenda
  • 4. 4Samsung Open Source Group Motivation
  • 5. 5Samsung Open Source Group Use Cases ● Battery powered sensors (temp, smoke, etc) ● Main powered appliances (washing machine) ● WiFi accesspoints as Border Router / Gateways ● Home use ● Industrial use Internet IEEE 802.15.4
  • 6. 6Samsung Open Source Group Motivation 6LoWPAN ● Sensors are likely to have restricted wireless connectivity ● Using IPv6 instead of something proprietary allows the usage of existing and proven protocols driving the internet ● A full unmodified TCP/IP stack might clash with hardware limitations (which are useful for power savings) ● Sensor only need to transfer little data, compared to the usage scenarios of a Smartphone, PC .. Internet IEEE 802.15.4
  • 7. 7Samsung Open Source Group Motivation Linux-wpan ● Battery powered sensors might not run Linux but choose a smaller OS ● Linux is the OS of choice for embedded products ● Main powered appliances might run Linux already and would benefit from native 6LoWPAN support ● IEEE 802.15.4 chips could easily be integrated in WiFi accesspoints or routers which already run Linux ● Thus a real benefit to have a 802.15.4 subsystem ready in the Linux kernel Internet IEEE 802.15.4
  • 8. 8Samsung Open Source Group Movement Towards IP ● A lot protocols are moving towards IP ● Often started out with their own networking stack ● Swichting to make use of the success of IP as protocol ● The name Internet of Things already implies that it should be modeled after the success of the Internet – Direct addressing of nodes – Re-usage of proven protocols ● But TCP/IP is not one size fits all – Adaptations needed for MTU size – Reduce of header overhead – UDP (DTLS) instead of TCP to avoid latencies
  • 9. 9Samsung Open Source Group 6LoWPAN
  • 10. 10Samsung Open Source Group ZigBee Relations ● IEEE 802.15.4 is often mixed up with ZigBee ● It uses the PHY and MAC layers defined by IEEE 802.15.4 ● Everything above Layer 2 was proprietary ● ZigBee IP seems to have switched to 6LoWPAN and keeping the rest on top of it ● ZigBee licensing seems incompatible with the GPL, no ZigBee support for the Linux Kernel
  • 11. 11Samsung Open Source Group IEEE 802.15.4 / LoWPAN ● IEEE 802.15.4 specifications, starting in 2003 ● Low-Rate and low power Wireless Personal Area Networks ● Specifies the physical and the MAC layer ● Simple addressing but no routing ● Star and Peer-to-Peer topologies supported ● Mesh topologies need some layers on top of these ● Applications are small battery powered devices like sensors and actors in automation
  • 12. 12Samsung Open Source Group 6LoWPAN ● A series of IETF specifications, starting in 2007 ● IPv6 over LoWPAN (IEEE 802.15.4) ● Direct IP addressing of nodes ● Adaptation layer between Data-Link and Network layer (RFC4944) ● Autoconfiguration with neighbor discovery (RFC4944) ● Header and payload compressions (RFC4944, RFC6282, RFC7400) ● Updates and extensions in other RFC's (see references at the end)
  • 13. 13Samsung Open Source Group 6LoWPAN Adaptation Layer ● The 6LoWPAN adaptation layer sits between Data-link and original Network layer ● It effectively becomes part of the Network layer, but only on the specified Data-Link layers L3 Network Layer L4 Transport Layer L1 Physical Layer L5 Application Layer L2 Data Link Layer IP TCP | UDP | ICMP Ethernet PHY Application Ethernet MAC IPv6 UDP | ICMPv6 6LoWPAN IEEE 802.15.4 PHY Application IEEE 802.15.4 MAC
  • 14. 14Samsung Open Source Group 6LoWPAN Fragmentation ● IPv6 allows for a maximum packet size of 1280 bytes ● This is impossible to handle in the 127 byte MTU of IEEE 802.15.4 (other PHY's will vary here) ● Therefore 6LoWPAN defines a fragmentation scheme to allow such packets ● The 11 bit fragmentation header allows for 2048 byte packet size with fragmentation ● But fragmentation can still lead to bad performance in loosy networks ● Best to avoid big packet sizes ● 11 000xxx as FRAG1 dispatch value, 11 100xxx for FRAGN
  • 15. 15Samsung Open Source Group The Header Size Problem ● Worst-case scenario calculations ● Maximum frame size in IEEE 802.15.4: 127 byte ● Reduced by the max. frame header (25 byte): 102 byte ● Reduced by highest link-layer security (21 byte): 81 byte ● Reduced by standard IPv6 header (40 byte): 41 byte ● Reduced by standard UDP header (8 byte): 33 byte ● This leaves only 33 byte for actual payload ● The rest of the space is used by headers Frame Header (25) LLSEC (21) IPv6 Header (40) UDP Payload (33)
  • 16. 16Samsung Open Source Group IPv6 Header Compression (IPHC) ● Defining of some default values in IPv6 header – Version == 6, traffic class & flow-label == 0, hop-limit only well-known values (1, 64 or 255) – Remove the payload length (available in 6LoWPAN fragment header or data-link header) – Addresses (link-local, global, multicast) ● Re-usage of the L2 address for IPv6 – Eliding the IPv6 prefix (global known by network, link-local defined by compression) – Using the EUI-64 L2 address – Using the short address in following format PAN_ID:16 bit zero:SHORT_ADDRESS Version Source Address (128 bit) Destination Address (128 bit) Traffic Class (8 bit) Flow Label (20 bit) Payload Length (16 bit) Next Header (8 bit) Hop Limit (8 bit) IPv6 Header (40 bytes)
  • 17. 17Samsung Open Source Group Header Comparison Version Source Address (128 bit) Destination Address (128 bit) Traffic Class (8 bit) Flow Label (20 bit) Payload Length (16 bit) Next Header (8 bit) Hop Limit (8 bit) IPv6 Header (40 bytes) Source Address (16 bit) Dispatch (8 bit) 6LoWPAN Header IPHC multi-hop (7 bytes) Hop Limit (8 bit)LoWPAN_IPHC (8 bit) Destination Address (16 bit) Dispatch (8 bit) 6LoWPAN Header IPHC link-local (2 bytes) LoWPAN_IPHC (8 bit)
  • 18. 18Samsung Open Source Group The Header Size Solution ● Calculations with plain 6LoWPAN usage ● IPv6 with link-local and UDP on top ● IPHC with NHC for UDP ● The fixed 48 byte IPv6 + UDP header could in the best cases be reduced to 6 bytes Frame Header (25) LLSEC (21) 6 Payload (75) Dispatch (1) LOWPAN_IPHC (1)LOWPAN_NHC (1) UDP Ports (1) UDP Checksum (2)
  • 19. 19Samsung Open Source Group Stateless Address Autoconfiguration ● Autoconfiguration based on layer 2 address – EUI-64 hardware address use as is – Pseudo 48bit address based on short address: 16_bit_PAN:16_zero_bits:16_bit_short_address ● Link-local addresses use the FE80::/64 prefix ● Neighbor Discovery for 6LoWPAN is specified in RFC6775
  • 20. 20Samsung Open Source Group 6LoWPAN Header Compression
  • 21. 21Samsung Open Source Group 6LoWPAN Compressions ● Started with HC1 and HC2 compressions ● Updated / deprecated by IPHC and NHC ● Extended by GHC ● More NHC schemes to come, e.g. EAP ● Possible to invent your own scheme if you have repeating usage patterns in your use case
  • 22. 22Samsung Open Source Group LOWPAN_HCx ● LOWPAN_HC1 and LOWPAN_HC2 came with the original adaptation layer specification (RFC4944) ● Best savings in link-local communication, e.g. neighbor discovery ● The more common case with routable addresses needed the prefix to be carried in line which makes the compression less efficient ● UDP compression support
  • 23. 23Samsung Open Source Group Next Header Compression ● RFC6282 ● LOWPAN_IPHC – Better compression for global and multicast addresses not only link-local – Compress header fields with common values: version, traffic class, flow label, hop-limit ● NHC IPv6 Extension Header compression – Hop-by-Hop – Routing Header – Fragment Header – Destination Options Header – Mobility Header ● NHC UDP Header compression – Compressing ports range to 4 bits – Allows to elide the UDP checksum for cases where upper layers handle message integrity
  • 24. 24Samsung Open Source Group Generic Header Compression ● RFC7400 ● A new scheme had to be defined for each new header which should be compressed ● Plugging into NHC ● Adding a vastly more general, but slightly less efficient scheme ● LZ-77 style compression with bytecode for – Appending zeroes – Backreferencing to a static dictionary – Copy data as is ● Indicating GHC capability over ND option 6CIO for bootstrapping
  • 25. 25Samsung Open Source Group Bluetooth LE Relationship ● IETF specification for IPv6 over Bluetooth LE ● Still in draft phase (draft-ietf-6lo-btle) ● No fragmentation but usage of compression methods ● Common code is thus shared between the wpan and Bluetooth subsystems in the Linux kernel
  • 26. 26Samsung Open Source Group More 6LoWPAN Adaptations ● Specifications being prepared for other L2 technologies ● NFC ● DECT Ultra Low Energy ● PowerLine (PLC) ● 802.11ah lower energy consumption, many stations, long distance, sub 1GHz ● 6loBAC: Token passing network for the RS-485 physical layer
  • 27. 27Samsung Open Source Group Linux-wpan Status
  • 28. 28Samsung Open Source Group Project ● IEEE 802.15.4 and 6LoWPAN support in the Linux kernel ● Started in 2008 as linux-zigbee project on Sourceforge ● The first steps of mainlining around 2012 ● New project name to avoid confusion: Linux-wpan ● New maintainer Alexander Aring, Pengutronix ● Mailinglist moved to vger like most other Kernel lists ● Patches are now handled on the list and picked up through the Bluetooth-next tree ● http://wpan.cakelab.org, releases, docs
  • 29. 29Samsung Open Source Group Architecture ● ieee802154 handles the MAC layer and drivers (wpan0 interface) ● 6LoWPAN sits on top of the wpan devices and acts as adaptation layer to be used by the normal IPv6 kernel stack (lowpan0 interface) ● 6LoWPAN transparently handles the fragmentation and reassembly between the different MTU's (127 vs 1280) as well as compressions Source: Alexander Aring
  • 30. 30Samsung Open Source Group Current Mainline Status ● ieee802154 layer with drivers for various chips (at86rfxxx, mrf24j40, cc2520, atusb) ● Link Layer Security ● 6LoWPAN implementation ● LOWPAN_IPHC ● NHC for UDP ● GHC being worked on ● Connection between Linux devices works ● Connection to Contiki devices works ● Connection to RIOT devices works Source: openlabs.ca Source: qi-hardware.com
  • 31. 31Samsung Open Source Group Next Header Compression ● 6LoWPAN Next Header Compression (NHC) ● Kernel framework allows for different modules to handle one compression and decrompression format each ● Mix and match different modules/formats ● Only NHC UDP is fully implemented right now ● Runtime configuration interface missing ● GHC capability indication via ND (6CIO) not yet supported
  • 32. 32Samsung Open Source Group Future Work
  • 33. 33Samsung Open Source Group Linux-wpan ● Implement missing parts of the spec – Beacon and MAC command frame support – Coordinator support in MAC layer and wpan-tools – Scan for available PANs ● Improve existing drivers and add support for new hardware ● Implement more NHC modules for other compression schemes ● Neighbor Discovery Optimization for 6LoWPAN (RFC6775)
  • 34. 34Samsung Open Source Group Interoperability ● Linux-wpan most of the time tested against Linux-wpan only ● Basic tests with Contiki – IEEE 802.15.4 connections – 6LoWPAN with LOWPAN_IPHC and NHC UDP ● RIOT OS developers also tested against Linux-wpan – Lead to fixes on both sides ● Attending a formal Plugtest is still on the agenda – There is an ETSI plugtest during IETF94 in Yokohama, Japan next week – Hopefully some attendee with a Linux-wpan stack – Maybe another Plugtest in Europe next year which we might attend
  • 35. 35Samsung Open Source Group Miscellaneous ● Routing Protocol for Low-Power and Lossy Networks (RFC6550) – unstrung, linux-rpl as current implementations ● Thread uses parts of 6LoWPAN for their protocol – Potential for cooperation and interop testing
  • 36. 36Samsung Open Source Group References ● RFC4919: 6LoWPAN Problem Statement ● RFC4944: Transmission of IPv6 Packets over IEEE 802.15.4 Networks ● RFC6282: Compression Format for IPv6 Datagrams ● RFC6550: RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks ● RFC6775: Neighbor Discovery Optimization for 6LoWPAN ● RFC7400: 6LoWPAN-GHC: Generic Header Compression for 6LoWPAN
  • 37. 37Samsung Open Source Group Thank you.
  • 38. 38Samsung Open Source Group We are hiring. jobs@osg.samsung.com