How To: Set Bluez into BLE or LE only mode (IBeacon)

By default a bluetooth device driven by bluez will appear as a “BLE and ER/EDR” or “Both” device. If you want it to be an LE only device this is what you need to do:

btmgmt le on
btmgmt bredr off

Info: the btmgmt command is not in the set of tools that are installed by default. Also your kernel version must be at least least version 3.13

To install btmgmt (bluez) go the the folder with the source code and run:

./configure --prefix=/usr    \
        --sysconfdir=/etc    \
        --localstatedir=/var \
        --enable-tools       \
        --disable-test       \

you may need to add:
--with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd




sudo /usr/bin/install -c tools/btmgmt /usr/bin/btmgmt

Posted on June 5, 2014, in Uncategorized and tagged , , , , . Bookmark the permalink. 2 Comments.

  1. hello,
    I have a problem when I run
    $ btmgmt le on
    this error appears :
    Unable to open mgmt_socket
    could you please help me ?
    thanks alot

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: