New in June
HTTP Server for AnyCloud
Our HTTP server library, which was originally released for use with Mbed OS, has been extended to support the AnyCloud solution. It is a rich implementation with this impressive feature list.
- Provides secure (with TLS security) and non-secure connections
- Includes a comprehensive set of RESTful HTTP methods such as GET and POST
- Supports various resource content types such as HTML, Plain, JSON, etc.
- Handles large content payload (greater than MTU size) using a content length HTTP header
- Supports chunked encoding for GET and POST methods
The AnyCloud Secure Sockets library has been extended to support IPv6. This enlarges the device address space and shall enable future application layer protocol support, such as HomeKit, Weave and mDNS (Multicast DNS).
New in ModusToolbox 2.1
The 2.1 release of ModusToolbox includes support for new third-party IDEs, improved access to the GitHub libraries, support for off-line development, and new Board Support Packages.
Microsoft Visual Studio Code
VS Code is an exciting (and free) new code editing environment from Microsoft that is rapidly becoming popular among embedded developers. Cypress assisted in the development of a Cortex-M debugging plug-in that transforms the tool into a powerful and intuitive IDE. The product is completely free and supports all host OS; you just install VS Code, add the Cortex-M plug-in, and export your projects with the simple ModusToolbox “make vscode” command.
Arm Microcontroller Development Kit (MDK)
You can now export designs from the command-line into Arm’s µVision IDE in seconds. Just like VS Code, the “make uvision5” command generates a CMSIS Pack file that you can use to create new projects in your favorite IDE. There’s no need to redesign your development flow or invest in costly replacements to your trusty ULINK debugger hardware. Just install the Cypress PSoC 6 Device Family Pack (DFP) using the CMSIS Pack installer and you’re ready to go.
AnyCloud Wireless Connection Manager (WCM)
The WCM makes Wi-Fi connections easier and more reliable. Firstly, it implements WPS to simplify the secure connection of a device to access points (AP). This enables applications to store the credentials in non-volatile memory so that future connections are just automatic whenever the AP is available. Secondly, it provides a monitoring service to detect problems and keep connections alive, improving the reliability of your products and leaving you free to work on the important stuff - your application.
AnyCloud Secure Socket API
Networking software is tricky. Secure networking software is really tricky! So we have created a secure socket API that makes it all much easier. The AnyCloud core library already includes Mbed TLS to enable the creation of secure connections but, with the addition of our secure sockets library that abstracts away a lot of the TLS complexity, you can now build secure applications without having to earn a degree in cryptography first!
Over-The-Air (OTA) Bootloading over MQTT
The AnyCloud OTA toolkit is a highly extensible solution that can be modified to work with any third-party or custom IoT device management software. A well-crafted code example demonstrates a simple OTA download over MQTT from a Mosquitto broker. It also shows off safe application upgrades with the industry standard MCUboot secure bootloader Together, they show how to rapidly create efficient and reliable OTA schemes that perfectly match the needs of your cloud solution.
Low Power Assistant (LPA)
Cypress LPA is a library and associated configurator that allow you to configure a PSoC 6 Host and WLAN (Wi-Fi / BT Radio) device for optimized low-power operation. The lpa library provides an API for the application to set up the connectivity device behavior and the Device Configurator generates the code to make using that API as easy as possible. With LPA you can achieve the most aggressive power budgets by placing the host device into sleep or deepsleep modes while networks are quiet or handling traffic that can be handled on the connectivity device.
- Automatic host wakeup on a Wi-Fi or Bluetooth event
- Reduced broadcast traffic with ARP offload
- Selected Wi-Fi packet filtering
Bluetooth Low Energy
In addition to the great Wi-Fi support in AnyCloud, you can now use the Bluetooth LE functionality in the 43xxx combo device to implement a network introducer. Our carefully designed and well documented code example shows you how to safely and quickly connect a wireless device to a Wi-Fi network using BLE to select the network and enter the password.
Proxy Handling Improvements
Firewall issues have been identified as problematical for several users of ModusToolbox 2.0. To minimize the impact, the number of places where proxy settings are required has been minimized and a means of rapidly enabling/disabling proxy settings has been implemented.
Project Creator Update
The Project Creator tool has been spruced up to make it easier and quicker to get started on a new project. ModusToolbox supports a lot of kits and the tool now groups them by device type so you don't accidentally create a Bluetooth project when you wanted to use CapSense on a PSoC! You can also create multiple projects without having to re-run the tool, which is both convenient and ensures you create them all for the right kit.