Bluez 5.46 And BLE quick test

Once you have upgraded to Bluez 5.46 from the previous post;

You can perform a quick BLE test with this file
http://www.blog.willandnora.com/downloads/gatt-service

To start your BLE adventure;
sudo hciconfig hci0 leadv 0 #this sets LE advertising on and as ‘connectable’
./gatt-service #starts the service

The source for gatt-service;
inside the bluez/tools folder is all the source you need to get started with your own Linux BLE Applet.

How can I view the BLE service?
there are lots of BLE exploring apps, I use the “LightBlue” App on my iPhone.

Facebook Comments

Bill Thompson

I am a mobile smartphone and embedded Linux engineer. I love to tinker with electronics and fly drones in spare time when not geeking out in a developers world!

2 thoughts on “Bluez 5.46 And BLE quick test

  • September 16, 2017 at 11:03 pm
    Permalink

    I see your page needs some fresh posts. Writing manually
    takes a lot of time, but there is tool for this time consuming task,
    search for; Wrastain’s tools for content

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *