• Keine Ergebnisse gefunden

Advanced Internet and IoT Technologies

N/A
N/A
Protected

Academic year: 2022

Aktie "Advanced Internet and IoT Technologies"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Advanced Internet and IoT Technologies Assignment 02

HAW Hamburg SS 2021

Prof. Dr. Thomas Schmidt, Cenk G¨undo˘gan, M.Sc. Deadline: April 28, 2021

1. IPv6 for the IoT with 6LoWPAN

IoT link layer technologies usually have a low maximum transmission unit (MTU). At the same time, each byte over-the-air prolongs radio transmissions and increases energy ex- penditures. 6LoWPAN is a convergence protocol that adapts IPv6 to resource-constrained IoT environments.

The IPv6 address of an IoT device and necessary routing entries will be provided during the lab class.

(a) Find out the MTU for the IEEE 802.15.4 link (lowpan0).

(b) 6LoWPAN employs two methods to allow larger packets on a small-MTU link. What are these methods?

(c) Ping an IoT device and gradually increase the payload. What do you observe in tshark onlowpan0 and wpan0? Do the success rates for ping change?

(d) What is the largest packet size that 6LoWPAN can fragment? Check RFC 4944 for more information on the 6LoWPAN internals.

2. 6LoWPAN header compression

Header compression techniques optimize for minimal packet sizes in the constrained IoT.

6LoWPAN provides a 1) stateless compression with rules defined in the corresponding RFCs, and 2) a stateful compression, which relies on globally deployed context.

Tools: netcat (nc)

(a) Runtshark oneth0and send a UDP message with payloadhello toff02::1%eth0 using source and destination ports 8888. Record the packet size.

(b) Run tshark onwpan0 and send the same UDP message to ff02::1%lowpan0. Did the size change? Look at the captured 6LoWPAN header for compression details.

(c) Now change both UDP ports to 61616 and resend the packet onlowpan0. Why did the packet size change again?

3. RESTful applications for the IoT

The Constrained Application Protocol (CoAP) is considered to be the HTTP for the IoT and aims at providing the REST architecture for the most constrained devices and networks.

The IPv6 address of an IoT device and necessary routing entries will be provided during the lab class.

Tools: aiocoap(from python3-pip)

(a) Use aiocoap-client to discover available CoAP resources of the IoT device.

(b) After discovering the resources, perform a GET request to request the board name and the status counter.

(c) Modify the status counter using a PUTrequest with any random integer number and use a GETrequest to read the newly assigned value.

1

Referenzen

ÄHNLICHE DOKUMENTE

„At the March, 1992 meeting of the Internet Engineering Task Force (IETF) in San Diego, live audio from several sessions of the meeting was "audiocast" using multicast

I Bosch Sensortec set up to introduce MEMS to consumer electronics market I Fully owned subsidiary of Robert Bosch GmbH...

Content object security enables end-to-end security and reduces session management complexity.. Smart & Resilient

Software Defined Networking arose from a research initiative to open up the network forwarding layer by a programming interface Its central view on the control plane reduces

Broadband Internet access today is limited in many countries, rural areas, and by social, economical, and age factors: Lack of options, knowledge, or interest leads to a

Attempts to generate a new framework or new umbrella term (e.g., NPR, 2015; EdWeek, 2015) while well-intentioned, are not designed to address what we see as the

Finally, we clustered the relevant papers in sub-categories of energy generation (including power plants, ancillary services, and centralized renewable energy), T&D

Mechanism of New Technologies: Integrated Formulation from the Company Level to the Macroeconomic Level" C Tani; 19881 a new approach to formulate the penetration