Yonghua Pan
Smart locks and smart sensors have become trendy. Developers can spend a huge amount of time creating and connecting these popular Internet of Things (IoT) products to the cloud via gateways using wireless technologies such as Bluetooth® low energy.
Choosing an easy-to-use cloud service that offers powerful functions, steadiness and multiple cloud-security features can also be a challenge, so TI worked with Alibaba to provide support for the Ali Cloud Link IoT platform on TI’s SimpleLink™ Bluetooth low energy CC2640R2F wireless microcontroller (MCU).
TI provides a sample application for the SimpleLink CC2640R2F software development kit (SDK) to support Ali Cloud Link. Through this sample application, you can receive the specific Alibaba profile, which contains a range of security features, over-the-air (OTA) support and good performance for compatibility with iOS and Android platforms. For example, you can use the secure hash algorithm (SHA) 256 security feature and the CC2640R2F wireless MCU’s true random number generator (TRNG) to generate keys for Advanced Encryption Standard (AES) encryption, which is included in the CC2640R2F device’s hardware encryption engine. This ensures that every communication session gets a different key to improve the security performance for data transmission. With a few simple application programming interfaces (APIs), you can build up a secure Bluetooth low energy product.
The Alibaba OTA protocol is fully supported in this sample application. Compatibility with different Android mobile phones has been optimized, especially for China-brand Android phones. Figure 1 shows the architecture of a sample application with the SimpleLink CC2640R2F SDK.
The 2.4GHz CC2640R2F wireless MCU supports Bluetooth 4.2 and Bluetooth 5 ultra-low-power applications for IoT applications. The device has extremely low active radio frequency (RF), MCU power and low-power-consumption modes, thus enabling longer battery life. It includes a 32-bit Arm® Cortex®-M3 core as well as many peripheral functions in which there is a unique ultra-low-power sensor controller. The sensor controller is suited for connecting external sensors, and automatically collecting analog and digital data when the rest of the system is in sleep mode.
You do not have to worry about issues like protocol interaction and driver development. The SimpleLink CC2640R2F SDK includes:
The combination of the TI CC2640R2F and Ali Cloud Link IoT platform offers an end-to-end solution, with:
The solution is suitable for many IoT applications and is already being used in multiple popular IoT applications such as smart locks and wearable devices.
The Ali Cloud Link IoT platform is an overall IoT solution for home, health care and consumer electronics. Ali Cloud Link offers multiple protections, guarantees cloud security for devices and supports the persistent connection of hundreds of millions of devices and the concurrency of millions of messages. The Ali Cloud Link IoT platform features functions like device registration management, account authorization, user management and data statistics, enabling devices to access the IoT and obtain device and user characteristics. Through abundant solutions from third-party partners, the Ali Cloud Link IoT platform can provide differentiating functions and value-added services and help you easily realize customized functions.
With respect to app openness and an ecosystem, the Ali Cloud Link IoT platform’s features and advantages include:
In addition, the Ali Cloud Link IoT platform can provide an end-to-end Bluetooth solution, as shown in Figure 2 and Figure 3.
This solution helps you leverage cloud and device security features to implement security measures for Bluetooth low energy applications. To get started developing with the CC2640R2F wireless MCU and Ali Cloud Link visit github.com/ti-simplelink/ble_examples.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated