This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

C or C++ BLE client for mobile devices

We are looking in to developing a generic class to connect and handle our BLE devices for use on mobile devices such as Android and iOS.

Now since we want to have as less platform-specific code as possible we we're hoping someone could point us in the right direction for a generic BLE client implementation written in C or C++ for use with the Android NDK and iOS.

  • As far as I know, there's no C/C++ library for BLE that works on both iOS and Android.

    However, since the React Native Boom, a couple of alternative have come up. I can recommend that you check this library by Polidea, and this React Native port of the Cordova BLE.

    We have try both in my current company and they have been working pretty well so far, in both Android and iOS.

    The Polidea one is base on a couple of Reactive wrappers libraries they developed for iOS and Android, so in their core, they are quite native libraries.

    I do not know how the Cordova project or the RN wrapper are implemented, but we're using it wright now, and works just fine.

    Hope this helps.

Related