Latest ble-driver-win version is 0.5.0 and supports SDK up to version 8.1.0.
s130 v2.0 needs SDK v11.0.0 (API changed).
So should I understand that ble-driver-win cannot be used here? Is a next release planned to support s130 v2.0?
Latest ble-driver-win version is 0.5.0 and supports SDK up to version 8.1.0.
s130 v2.0 needs SDK v11.0.0 (API changed).
So should I understand that ble-driver-win cannot be used here? Is a next release planned to support s130 v2.0?
There is no supported version of pc-ble-driver for S130 v2.0. But as we require support for S130 v2.0 ourselves for other projects, the work with the conversion is done, and available to you as part of another repository.
For ease of development, pc-ble-driver has been moved into our javascript add-on repository, pc-ble-driver-js (github.com/.../pc-ble-driver-js). If you look into the driver folder there, the pc-ble-driver is available.
That version has NO documentation, NO examples, it builds into a static library (can be tweaked in the cmake setup), and there are no Python bindings.
pc-ble-driver will be moved to its original repository, documented, and get examples after the release of nRF Connect 1.0. The exact language bindings are not sure at the moment, except from Javascript which are already developed.
Yes, there are quite a few changes in the API. Among the important changes is adding support for connecting to multiple adapters at the same time. We have also cleaned up and changed how you set up the uart connection to the adapter enabling us to change transport layers.
For an example on how to use this, you can check out the implementation of out Javascript bindings (in the same repos). To open a uart connection to a device, follow the implementation found here: github.com/.../driver.cpp Line 646 to 649 does the actual setup. In that folder, you can find implementations of most of the S13x v2.0. As it is bindings for Javascript, most of the code is about handling marshaling of variables from C to JS.
We have not planed any changes to the API, so if you update, you will most likely be compatible with the next release.
Yes, there are quite a few changes in the API. Among the important changes is adding support for connecting to multiple adapters at the same time. We have also cleaned up and changed how you set up the uart connection to the adapter enabling us to change transport layers.
For an example on how to use this, you can check out the implementation of out Javascript bindings (in the same repos). To open a uart connection to a device, follow the implementation found here: github.com/.../driver.cpp Line 646 to 649 does the actual setup. In that folder, you can find implementations of most of the S13x v2.0. As it is bindings for Javascript, most of the code is about handling marshaling of variables from C to JS.
We have not planed any changes to the API, so if you update, you will most likely be compatible with the next release.