One of the most common use cases for XBee devices with Bluetooth support is connecting them to smartphones or tablets for provisioning, managing, and monitoring hardware wirelessly.
While developing MicroPython apps for XBee devices in a hostless architecture or using Digi’s XBee libraries for microcontroller applications in a hosted setup is usually straightforward, creating mobile applications that communicate with XBee devices over Bluetooth Low Energy (BLE) can be more complex and challenging.
To simplify this process, Digi offers the Digi IoT Mobile SDK, which includes libraries, sample applications, and detailed documentation to help developers build mobile apps for iOS and Android that interface with XBee devices over BLE. The main component of the Digi IoT Mobile SDK is the Digi IoT Library for .NET MAUI.
Digi IoT Library for .NET MAUI
The Digi IoT Library for .NET MAUI is a powerful C# API designed to streamline the development of cross-platform mobile applications that communicate with XBee devices via BLE.
Digi has selected the .NET MAUI cross-platform framework to ensure a smooth mobile appication development experience for iOS and Android. With the .NET MAUI cross-platform framework you can create a single application and share most of the code between platforms, reducing development time and costs.
The following table displays a summary of the library:
Library | Language | URL | Documentation |
---|---|---|---|
Digi IoT Library for .NET MAUI |
C# |
You can use the Digi IoT Library for .NET MAUI library in your .NET MAUI mobile application to:
-
Discover nearby Bluetooth devices.
-
Manage Bluetooth permissions.
-
Get notified about Bluetooth events.
-
Easily connect and authenticate with XBee devices via Bluetooth Low Energy.
-
Exchange data via Bluetooth Low Energy.
For more information on this library and how to use it, refer to the Digi IoT Library for .NET MAUI User Guide. |