smart locks and smart sensors have become more and more 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(le).
choosing an easy-to-use cloud service that offers powerful functions, steadiness and multiple cloud-security features can also be a challenge, so rfstar and ti worked with alibaba to provide support for the ali cloud link iot platform on rfstar bluetooth low energy wireless module.
rfstar provides a sample application for the module 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 module’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 theti cc2640r2f sdk.
figure 1: sdk software architecture for the cc2640r2f wireless module
the 2.4ghz cc2640r2f wireless module 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 cc2640r2f sdk includes:
· application code that is 100% portable across the simplelink mcu platform from bluetooth low energy to sub-1 ghz and more.
· rfstar drivers that provide a standard and unified api interface for all peripheral interfaces of the ti simplelink mcu platform, enabling you to write code independent of the targeted device.
· the integrated ti real-time operating system (ti-rtos).
· other rtoss like free rtos’s adapter interface, which is api-compatible to the portable operating system interface for unix (posix).
· a hardware encryption engine that you can leverage to implement security measures.
the combination of the rfstar cc2640r2f module and ali cloud link iot platform offers an end-to-end solution, with:
· powerful performance and multiple cloud security features such as device certification, providing device uniqueness.
· transmission encryption that prevents data tampering.
· cloud shield and permission authentication to guarantee cloud security.
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:
· app openness: enable users to use their own apps and accounts and support quick logins via other accounts.
· ecosystem: there are mature and commercially available solutions such as modules, apps, algorithms, content services, voice recognition, audio and video content, etc.
in addition, the ali cloud link iot platform can provide an end-to-end bluetooth solution, as shown in figures 2 and 3.
figure 2: the ali cloud link iot platform’s end-to-end bluetooth solution (source: alibaba)
figure 3: the main functions of bluetooth devices
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 module and ali cloud link, email michael.lee@szrfstar.com or visit