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

Using the SDK with pc-ble-driver

Our product is a peripheral on the nRF51822. We develop on Mac and use gcc, make, etc with Visual Studio Code rather than Eclipse. Recently, we started getting close to production readiness and our contract manufacturer uses Windows. So I started writing a central app for the testing we'll be doing at the end of the production line using the pc-ble-driver project. The central will connect, do discovery, write to one custom characteristic and enable notifications on another, then pretty much just log the notifications and disconnect. It'll have no need for bonding.

I'd quite like to use the ble_db_discovery library in the SDK. Obviously the SDK is not written to be built on Windows with CMake and I've already hit some issues in the build where just using -D__CC_ARM and hoping for the best isn't going to cut it, such as __INLINE. Has anyone else tried to do this? Am I barking up the wrong tree?

Related