- C++ 66.8%
- QML 32.5%
- QMake 0.4%
- Shell 0.2%
- C 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| app | ||
| doc | ||
| icons/university | ||
| rpm | ||
| screenshots | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS.md | ||
| README.md | ||
| README.ru.md | ||
| ru.aurora.bleinspector.subdirs.pro | ||
BLE Inspector
BLE Inspector is a Bluetooth Low Energy debugging tool for Aurora OS. It is functionally close to nRF Connect for Android and is intended for engineers who work with BLE peripherals: scanning, inspecting GATT, reading and writing values, monitoring HCI traffic and performing NFC out-of-band pairing.
Features
- Scanning of nearby BLE devices with RSSI display.
- Connect, disconnect, pair, unpair, trust.
- GATT services and characteristics browser.
- Read and write characteristic values in HEX, ASCII and decimal.
- Subscription to notifications and indications.
- HCI logger: capture and parse HCI packets (CMD, EVT, ACL).
- Connection parameters: interval, latency, MTU.
- NFC OOB pairing.
Architecture
The application is split into a QML front end and a C++ back end. The back end talks to system services over D-Bus.
| Layer | Component | Responsibility |
|---|---|---|
| QML | MainPage, DevicePage, ServicePage, CharacteristicPage, HCILogPage, NFCPage | User interface |
| C++ | BluetoothManager | D-Bus client for org.bluez |
| C++ | HCILogger | Reads btmon / hcidump output |
| C++ | NFCManager | D-Bus client for neard / nfcd |
| System | BlueZ | Adapter1, Device1, GattService1, GattCharacteristic1 |
External APIs
| Subsystem | API | Notes |
|---|---|---|
| Bluetooth | BlueZ D-Bus | org.bluez.Adapter1, Device1, GattService1, GattCharacteristic1 |
| HCI log | btmon, hcidump |
System utilities for HCI packet capture |
| NFC | neard / nfcd D-Bus |
org.neard.Adapter, org.neard.Tag |
Repository layout
ru.aurora.bleinspector.subdirs.pro # root project, SUBDIRS -> app
rpm/
ru.aurora.bleinspector.spec
app/
ru.aurora.bleinspector.pro
ru.aurora.bleinspector.desktop
src/ # C++ sources and headers
qml/ # QML pages, components, cover
translations/ # .ts files
icons/ # PNG icons for AURORAAPP_ICONS
doc/ # developer documentation
screenshots/ # application screenshots
Build
Requirements: Aurora SDK with MB2 build target.
Build from the Aurora SDK IDE, or from the command line:
qmake ru.aurora.bleinspector.subdirs.pro
make
make install
RPM packaging is described in rpm/ru.aurora.bleinspector.spec.
Runtime dependencies
- BlueZ with D-Bus interface available to the application.
btmonorhcidumpfor HCI logging.neardornfcdfor NFC OOB pairing.
Documentation
Additional notes on D-Bus interactions, HCI parsing and the NFC pairing flow are placed in doc/.
Screenshots
Screenshots of the running application are placed in screenshots/.
Authors
See AUTHORS.md.
License
BSD-3-Clause.