Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Click or drag files to this area to upload. You can upload up to 2 files.

Lesson 3 – Networking & sockets

Overview

Since the nRF70 Series is a companion IC, running in conjunction with a host MCU, it is important to learn which parts of the Wi-Fi stack are running on the nRF70 companion IC and which parts are running on the host MCU.

In the first part of this lesson, we will learn more about the protocol stack running on the host MCU, including the Wi-Fi Host stack, exploring the main aspects of the various networking levels. We will also shed some light on the TLS/DTLS protocols and briefly introduce how their certificates work. Afterward, we will learn about the importance of sockets and how they are used by application layer protocols for data exchange.

In the exercise section of this lesson, we will practice using the socket API to connect to a server, and using iPerf to measure the throughput of the established Wi-Fi connection.

Objectives

  • Briefly examine the basics of network programming such as IP addresses, sockets, and transport layer protocols.
  • Learn how to use Zephyr’s socket API.
  • Practice through a hands-on exercise how to ping an echo server.
  • Practice through a hands-on exercise how to create a socket and use it to connect to a server and measure the throughput of data downloaded from that server.
Register an account
Already have an account? Log in
(All fields are required unless specified optional)

  • 8 or more characters
  • Upper and lower case letters
  • At least one number or special character

Forgot your password?
Enter the email associated with your account, and we will send you a link to reset your password.