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.
This application and it's features are supported on following Cypress platforms:
This section provides the list of dependency libraries required for this application to work.
- ARM mbed-os version 5.15 and above
- Cypress Cirrent Library
- Cypress HTTP Server Library
- Cypress Connectivity Utilities Library
- HTTP Client Library
- Prepare the cloned working directory for mbed using
mbed config root .
- Pull the necessary dependencies using
mbed deploy
- Register your device with Cirrent Console to generate Account Id, Device Id and Device Secret. Refer article Registering Devices with Cirrent for details.
- 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 READMEpdm_generate.sh ACCOUNT_ID DEVICE_ID SECRET
- 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, setca_init_config.softap_config.softap_enabled = true
in main.cpp
- Reset the board and check serial console logs. Board shall boot and start Cirrent Agent.
- ZipKey Application version
- More information about the Cirrent Agent can be found in the Knowledge Center