Digi XBee 移动 SDK 快速蓝牙开发介绍

Digi 国际 Digi International
October 08, 2019

如今,每个移动应用程序都能使用蓝牙低能耗协议进行通信。从无线耳机到无线烤肉温度计,蓝牙无处不在。蓝牙不仅广泛应用于许多消费类应用中,而且还出现在IoT 产品中,因为它能够将应用与任何地方的移动设备连接起来。

Are you using Bluetooth for communication in your Internet of Things application? If you are, then kudos to you! If you are not, you’re missing out on time, energy, and efficiency savings for IoT.

Not to mention the fact that Bluetooth is one of the fastest growing connectivity methods, and today the use cases span every every industry. Be sure to sign up for our newsletter to learn about our growing collection of Bluetooth products and related content.

Meet the Digi XBee Mobile SDK for Bluetooth

Digi XBee® Mobile SDK (Software Development Kit) is a set of libraries, code examples and documentation designed to simplify the process of creating iOS and Android mobile apps that interact with Digi XBee 3 modules via Bluetooth.

Digi developed the Digi XBee Mobile SDK to help customers design and build Bluetooth applications and reduce the time spent in development. Adding Bluetooth to an IoT application adds tremendous value to commissioning, configuration and troubleshooting a network. But creating a mobile app to integrate your IoT application and mobile device can be tricky, with complex authentication and encryption, design of a Bluetooth-enabled mobile app. The Digi XBee Mobile SDK provides the support to simplify and expedite those processes.

Use Cases for Bluetooth Integration in IoT Applications

Bluetooth in IoT can be leveraged for multiple use cases. Here are just a few examples of how Bluetooth can support employees who are performing monitoring tasks out in the field:

  • Rideshare application: Workers have to go around and collect rental items from around the city. They can use Bluetooth to go to each item in the application and do a check on the batteries supporting bike lights, for example.
  • Building tech: Workers are tasked with ensuring that building lights are functioning well. They can review how all of the lights on the Zigbee network are functioning via Bluetooth.
  • Solar field: In a solar field, there are typically radio modules in each solar panel. A worker can take a reading to assess current values, productivity or need for service.

If you are developing mobile IoT applications with Digi XBee, the SDK can support your development goals. For example, you can use Bluetooth to simplify commissioning or troubleshooting out in the field. Using the Bluetooth functionality built into Digi XBee products, a technician can easily connect to a Digi XBee with a mobile device to test, set, or read parameters during network deployment.

Another helpful use case enabled by Bluetooth in an IoT application is the ability to create a communication channel to create a Human Machine Interface (HMI) on a phone or tablet for monitoring and controlling a device that doesn’t have a display.

As an example, imagine a scenario where you are trying to read sensor values on an IoT device, but the device doesn’t have a screen, so you don’t have a way to read the values. You can easily connect to the IoT device using a Bluetooth-enabled mobile device (such as a tablet or smart phone) and display settings on the mobile device’s screen.

What’s Included in the Digi XBee Mobile SDK?

The Digi XBee Mobile SDK includes the following resources to help speed up the development of mobile applications that interact with Digi XBee devices over the Bluetooth Low Energy interface.

Software Libraries

The software libraries are a set of well-documented APIs that reduce the effort needed to develop a mobile app to communicate with Digi XBee devices. They provide high-level abstraction methods that handle the complexity of the authentication, encryption and communication processes.

Digi provides two easy-to-use libraries that simplify the development of these mobile applications:

  • Digi XBee library for Xamarin, to develop native cross-platform (iOS and Android) mobile applications using C#
  • Digi XBee library for Android, to develop native Android applications using Java.

Bluetooth Application Examples

Each library of the SDK includes a complete set of examples that showcase the Bluetooth interface capabilities of the Digi XBee device and how to integrate them in a mobile application.

More examples have been added to other Digi XBee libraries, such as the Python and Java libraries, to complement the functionality provided by the SDK.

Digi XBee Mobile SDK Documentation

Digi also provides complete documentation that explains the use of the APIs and answers any outstanding questions that are not covered with the examples.

Access to the software libraries, examples, and documentation can be found on Digi’s support site.

>> Looking for design or engineering help with your IoT application development? Contact our Wireless Design Services team.

More Information About Digi XBee Tools
Learn about all the resources available to developers in this fun, fast-paced video


蓝牙标准和技术 蓝牙标准和技术 蓝牙 (Bluetooth®) 是一种无线个人区域网络 (PAN) 协议,设计用于在相对较短的距离内进行通信(在某些情况下最长可达一公里),具体取决于接收器等因素... 了解更多 Digi XBee MicroPython PyCharm IDE 插件演示 Digi XBee MicroPython PyCharm IDE 插件演示 如果您是一名嵌入式开发人员,您就会明白需要一些工具来缩短编码过程中繁琐或容易出错的环节。而我们的... 观看视频 剪断电缆:射频集成的 Digi 指南 剪断电缆:射频集成的 Digi 指南 IoT 产品开发人员和工程师来自不同的背景,并非所有人都接受过射频技术培训。如果您发现... 观看视频 利用Digi XBee 射频生态系统加速无线开发 利用Digi XBee 射频生态系统加速无线开发 如今,嵌入式开发人员在IoT 应用的无线连接嵌入式开发工具方面有多种选择。它... 录制的网络研讨会 PuppTech PuppTech 创建监控和通知系统,保护车内宠物安全 PuppTech 是一家初创公司,致力于帮助狗主人保证宠物在车内的安全。该公司建立了一个便携式的PuppComm... 阅读故事 Digi XBee 工具开发、构建、部署和管理无线应用程序 Digi XBee 工具开发、构建、部署和管理无线应用程序 Digi XBee 快速原型设计、开发和部署工具介绍 阅读博客 IoT 无线通信开发:入门 IoT 无线通信开发:入门 快速发展的IoT (物联网)领域提供了越来越多的支持组件和软件。 阅读博客 介绍Digi XBee 官方图书馆 介绍Digi XBee 官方图书馆 ARM mbed 库支持Digi XBee 802.15.4 和Digi XBee Zigbee 模块,因此开发人员能够创建简单的点对点... 阅读博客 了解Digi XBee 工具如何在IoT 应用程序生命周期内提供所需的一切服务 了解Digi XBee 工具如何在IoT 应用程序生命周期内提供所需的一切服务 完整的工具集包括开发、生产和部署工具,可帮助您更快地将产品推向市场并管理您的... 观看视频