Dongl N-Series · Windows, macOS, Linux

Dongl QuickStart Guide

Install SimpleBLE in your language, run a first scan with your Dongl, and tell us how it went.

Your language

  1. 1

    Install SimplePyBLE

    Python 3.10 or newer.

    Terminal
    pip install simplepyble
  2. 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.py
    Output
    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

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: lsusb lists 3918: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:

Terminal
sudo usermod -aG dialout "$USER"

Some distributions use a different group. Or install this rule under /etc/udev/rules.d/ and reconnect the Dongl:

udev rule
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.

By sending this form, you agree to our Terms & Conditions, Privacy and Data Protection Policy.

Or email contact@simpleble.org.

Evaluation sample for non-commercial testing. License terms