
Dongl QuickStart Guide
Install SimpleBLE in your language, run a first scan with your Dongl, and tell us how it went.
Your language
- 1
Install SimplePyBLE
Python 3.10 or newer.
Terminal pip install simplepyble - 2
Run a scan
Save this as
scan.py, plug in the Dongl, and run it. The first line names your Dongl, and the rest are the devices around it.No Dongl found? See Troubleshooting.
scan.py import simplepyble adapters = simplepyble.Backend.get_dongl().adapters() if not adapters: raise SystemExit("No Dongl found.") adapter = adapters[0] print(f"Using {adapter.identifier()} [{adapter.address()}]") adapter.scan_for(5000) for peripheral in adapter.scan_get_results(): print(f"{peripheral.address()} {peripheral.rssi()} dBm {peripheral.identifier()}")Terminal python scan.pyOutput Using SimpleBLE Dongl N-Series [C9:1F:62:A4:3B:D0] C4:2B:91:0E:5A:17 -58 dBm Thermometer F0:9E:3C:44:81:0B -71 dBm - 3
Keep going
A Dongl works like any other SimpleBLE adapter, so every SimpleBLE example and recipe applies.
Troubleshooting
Common problems and how to fix them.
No Dongl found
Check that you installed SimpleBLE 1.4.0 or newer. Then check that the system sees the Dongl:
- Linux:
lsusblists3918:0001. - macOS:
ls /dev/cu.usbmodem*shows a device. - Windows: a new COM port appears in Device Manager.
Linux: Failed to open serial port … Permission denied
Join the dialout group, then sign out and back in:
sudo usermod -aG dialout "$USER"Some distributions use a different group. Or install this rule under /etc/udev/rules.d/ and reconnect the Dongl:
SUBSYSTEM=="tty", ATTRS{idVendor}=="3918", ATTRS{idProduct}=="0001", MODE="0660", GROUP="dialout", TAG+="uaccess"The Dongl is in use
Only one program can use a Dongl at a time. Close serial monitors, IDE consoles, and other SimpleBLE programs that have it open, then run the scan again. On Windows, this shows up as a COM port that is in use.
macOS asks for Bluetooth access
Allow it. SimpleBLE also starts the Mac's built-in Bluetooth when it lists adapters. If you declined, turn on your terminal under System Settings → Privacy & Security → Bluetooth.

Send feedback
What worked, what didn't, and what you built with it.
Or email contact@simpleble.org.
Evaluation sample for non-commercial testing. License terms
