Unlike XBee devices, ConnectCore devices don’t implement Bluetooth Low Energy (BLE) functionality as their standard method of communication.
In this case, a mobile application communicates with the ConnectCore device, which is running a Python application developed with the Digi ConnectCore BLE Python library.
This use case requires programmability on both the mobile phone and the ConnectCore device side. The Python application that runs inside the XBee device should be developed either directly inside the device or in the Python IDE you prefer and transferred later to the ConnectCore device.
See the scenarios below for ways you may want to communicate with a MicroPython application via BLE:
-
Perform a device provisioning operation (initial configuration) of ConnectCore devices during the deployment process.
-
Read diagnostic information from ConnectCore devices already deployed in field.
-
Read transformed values from peripherals connected to the ConnectCore device or command actions to it.
-
Provide a graphic UI for the product or system using the mobile phone screen as the interface.
-
Transfer files to the device.
Example
The Digi IoT Mobile SDK includes an example that demonstrates how a mobile application can communicate via BLE with a ConnectCore device. The example simulates the configuration of the different network interfaces exposed by the ConnectCore device by sending and reading values via BLE.
| Smartphone side | ConnectCore side |
|---|---|
Configure Interfaces Sample - Digi ConnectCore BLE Python Library |