Skip to content

This code example demonstrates onboarding a device to a Wi-Fi network using ZipKey (or) SoftAP onboarding feature that is provided by the cirrent library.

Notifications You must be signed in to change notification settings

Infineon/mbed-os-example-zipkey

Repository files navigation

Introduction

This repository contains the Cirrent library code example for PSOC6 MCU family of devices bundled with connectivity.

This application demonstrates onboarding device to the required Wi-Fi network using Cirrent's ZipKey and SoftAP onboarding feature.

Supported Platforms

This application and it's features are supported on following Cypress platforms:

Dependencies

This section provides the list of dependency libraries required for this application to work.

Instructions to build this code example

  1. Prepare the cloned working directory for mbed using
    • mbed config root .
  2. Pull the necessary dependencies using
    • mbed deploy
  3. Register your device with Cirrent Console to generate Account Id, Device Id and Device Secret. Refer article Registering Devices with Cirrent for details.
  4. Generate config header file with the following command inside cirrent/pdm_tool. This script can only be run on Windows. For more information about this tool refer to README
    • pdm_generate.sh ACCOUNT_ID DEVICE_ID SECRET
  5. Build and download the application on Cypress target platform
    • mbed compile -t GCC_ARM -m CY8CPROTO_062_4343W -f Note : The default application uses ZipKey onboarding feature. To enable SoftAP onboarding feature, set ca_init_config.softap_config.softap_enabled = true in main.cpp
  6. Reset the board and check serial console logs. Board shall boot and start Cirrent Agent.

Additional Information

About

This code example demonstrates onboarding a device to a Wi-Fi network using ZipKey (or) SoftAP onboarding feature that is provided by the cirrent library.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages