2 Replies Latest reply on Aug 19, 2015 4:56 PM by Rosemarie

    Library or API for programming BLE devices?

    oneb1got

      Hi everyone, I am currently trying to create a simple c program that can control a BLE device by sending it commands. I want to connect to this device using the edison. I have set up bluetooth and can do the desired actions using gattool but now i want to replicate this with a custom c program. I've searched high and low for a way to connect to the device but the traditional method of connecting to bluetooth devices in c does not work since it is not classic bluetooth 4.0 but bluetooth low energy.

       

      I couldnt find anything in the BlueZ library and am having a hard time figuring out the source code of gatttool. For now. my c program is calling gatttool many times and this is too slow for me. Can someone point me in the right direction?