The goal of the Digi IoT Library for .NET MAUI is to communicate with Digi IoT devices via Bluetooth Low Energy. For that reason, you must start working with a device object that represents a physical Digi device with support for Bluetooth Low Energy.
Most of the devices from the Digi ConnectCore and Digi XBee 3 families have Bluetooth Low Energy capabilities, and the Digi IoT Library for .NET MAUI provides the necessary classes to represent them.
If you don’t know the type of Digi device you want to communicate with or you want your application to be as generic as possible, you can use the generic Digi Bluetooth device class provided by the library:
-
Generic Digi Bluetooth device (DigiBLEDevice)
Digi ConnectCore devices
Digi ConnectCore is the brand name of a family of highly integrated, secure, and connected system-on-modules that provide an intelligent communication engine for secure connected devices. These devices include Bluetooth Low Energy as one of their communication interfaces, which make them ideal target devices to perform configurations or simple requests wirelessly.
The Digi IoT Library for .NET MAUI includes a class to represent a ConnectCore device:
-
Generic ConnectCore Bluetooth device (ConnectCoreBLEDevice)
Digi XBee devices
Digi XBee is the brand name of a family of radio frequency (RF) modules that are used to transmit and receive data wirelessly. Depending on the combination of hardware and firmware, an XBee device runs a specific wireless communication protocol such as Zigbee, 802.15.4, DigiMesh, or Cellular.
Not all protocols have support for Bluetooth Low Energy. For that reason, the Digi IoT Library for .NET MAUI includes a set of classes that represent only the XBee devices running the communication protocols with support to communicate over Bluetooth Low Energy:
-
Generic XBee Bluetooth device (XBeeBLEDevice)
-
XBee Zigbee Bluetooth device (XBeeZigbeeBLEDevice)
-
XBee 802.15.4 Bluetooth device (XBeeRaw802BLEDevice)
-
XBee DigiMesh Bluetooth device (XBeeDigiMeshBLEDevice)
-
XBee Cellular Bluetooth device (XBeeCellularBLEDevice)
Whether you communicate with a generic Digi device, a ConnectCore one, or an XBee module, you will need to follow these task to establish a Bluetooth Low Energy communication and exchange data with them: