IoT BLE with Blynk and CC2650 BoosterPack
I am a big fan of Blynk. The apps for iOS and Android are polished and work fine. Each new release refines the interface.
Up to now, the LaunchPad and Energia eco-system provided no easy BLE option. It has changed.
The CC2650 BoosterPack is a great add-on for IoT projects. The CC2650 integrates a Cortex-M3 MCU with the BLE radio.
Communication between the CC2650 and the MCU is carried out through UART with high-level commands, with the BLE stack managed by the CC2650.
For Energia users, the BLE library for Energia works with both the CC2650 LaunchPad and the CC2650 BoosterPack. Just follow the installation procedure.
On the smartphone side, check first Bluetooth is turned on, then launch the Blynk app.
Connecting a BLE device requires the BLE widget. Although still in beta, it works fine and offers a good stability. Launch the BLE widget and select the BLE device. After a while, the device is connected.
The other steps like drawing the interface are unchanged. Please refer to IoT OTG with Blynk iOS and Android App.
Use Energia and the BLE Library
On the Energia side, the BLE library provides the interface and the serial over Bluetooth port ble for the MSP432. The configuration for Blynk relies on the BlynkSimpleSerialBLE library.
The serial over Bluetooth port ble is passed to Blynk.begin(ble, auth);.
The authentification string auth is provided by the Blynk app.
Posted: May 28, 2018