5 Replies Latest reply on Mar 30, 2016 7:04 AM by gkopendev

    High CPU usage on gatttool disconnect



      I am cross-posting this from stackoverflow as I think there are a few people using gatttool in this forum.

      I am using bluez 5.3+  backported to linux 2.6 due to project restrictions on a custom device. I have noticed gatttool causes a very high cpu usage on disconnection. This is very easy to replicate. Use gatttool in interactive mode to connect to any BLE device and then disconnect. CPU usage is fine till you give the disconnect command. Observe CPU usage, gatttool will cross 70-80%. I can also replicate this on Ubuntu LTS. Has anyone had a go at fixing this?