- Collection of Information for those with Electronics as a Hobby
Up one level (Programming)

Bluetooth Low Energy (BLE) in Linux

If you get trouble connecting to a BLE device in Linux from the command line with "gatttool", you might need to a add another argument:

-t random

for it to work.

To scan for BLE devices:

sudo hcitool lescan

To connect to BLE device:

sudo gatttool -t random -b <MAC_of_BLE_device> -I

Add a comment:

Fill in number

Privacy | Contact