1 Star 0 Fork 1

01LIFE / Android-nRF-Connect

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

nRF Connect

(previosly named nRF Master Control Panel)

Application

The nRF Connect is an application designed for Bluetooth Low Energy developers. It allows for scanning for BLE devices and communicating with them.

The nRF Connect for Android applicaiton requires Android version 4.3 or later and is available on Google Play:

https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp

or here, in case Google Play is not available. We recommend to install the application using Google Play as it will get automatic updates.

Note: The source code of nRF Connect is not available.

Features

  1. Scanning for Bluetooth LE devices in range
  2. Displaying the RSSI graph with an option to export to CSV or EXCEL
  3. Displaying detailed packet history with RSSI, packet changes and advertising intervals
  4. Displaying advertisements of mutliple devices on a timeline
  5. Connecting to multiple devices at the same time
  6. Showing device services and characteristics
  7. Reading and writing characteristics
  8. Configuring GATT Server
  9. Peripheral mode (BLE advertising) (newest Android 5+ devices only)
  10. Logging events and packets to nRF Logger app (available on Google Play)
  11. Device Firmware Update (DFU) (read below)
  12. Automated tests (read below)
  13. Recording and playing macros to automate operations
  14. Parsing most of Bluetooth SIG adopted characteristics + some proprietary ones
  15. Support for Eddystone (parsing, decrypting EID, Eddystone Config Service)

DFU - Device Firmware Update

The Device Firmware Update BLE protocol may be used to update the Soft Device, Bootloader or application Over-the-Air on nRF5 device. The full DFU documentation may be found on http://developer.nordicsemi.com/.

Since SDK 6.1 the DFU does not require physical intereaction with the device (e.g. pressing a button). A 'buttonless' DFU is available. The application, that supports the buttonless DFU should have the DFU Service present in its services list. See the SDK for samples.

The DFU Bootloader from SDK 7.0+ requires the extended init packet. Please, check the Creating a zip with image and init packet or How to create the init packet. The Distribution packet (ZIP) is supported in nRF Connect since version 3.0 (named nRF Master Control Panel at that time). For older versions, the old ZIP file with the fixed naming convention or the separate HEX/BIN and DAT files should ne used.

Automated testing

The nRF Connect allows for executing XML scripts with test suites. Two sample XMLs for testing: the HRM-DFU sample and HRM-Scanning sample are copied to /Nordic Semiconductor folder on the phone's/tablet's local storage when the application is first launched or updated (make sure the Storage permission is granted for Android 6+). They contains the full documentation of the currently available features. Copy those files and the test.bat script from your phone (or from here) to your PC.

To start the test run the test.bat script:

test.bat [-d device_id] [-E KEY EXTRA]* test.xml

You may specify key-value pairs in execution or inside the test using

<set name="KEY" value="VALUE" />

and then use them as ${KEY} (see the sample_test_hrm.xml).

Read mode about the test suites in the [documentation](documentation/Automated tests/README.md).

Macros

Starting from version 4.4.0 it is now possible to automate operations using macros. Macros can be recorded, or imported from a XML file.

Read more about macros in the macros documentation.

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zolife/Android-nRF-Connect.git
git@gitee.com:zolife/Android-nRF-Connect.git
zolife
Android-nRF-Connect
Android-nRF-Connect
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891