Hello, I would like to use the pc_ble_driver_py with sd api v6. I can see in the CMakeLists.txt where I can change set(SD_API_VERS "2;5") to set(SD_API_VERS "2;6"), and it appears to do the right thing until it fails down below on line 35 with "
Undefined symbols for architecture x86_64:
_sd_ble_gap_adv_addr_get", referenced from: _wrap_sd_ble_gap_adv_addr_get(_object*, _object*) in nrf_ble_driver_sd_api_v6PYTHON_wrap.c.o
"
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pc-ble-driver-py-master-2/$ tox
py37 installed: cmake==3.16.3,entrypoints==0.3,flake8==3.7.9,future==0.18.2,mccabe==0.6.1,ninja==1.9.0.post1,packaging==20.1,pc-ble-driver-py==0.14.0,pycodestyle==2.5.0,pyflakes==2.1.1,pyparsing==2.4.6,scikit-build==0.10.0,six==1.14.0,wrapt==1.11.2
py37 run-test-pre: PYTHONHASHSEED='2144723334'
py37 run-test: commands[0] | /Users/mcanulty/Downloads/pc-ble-driver-py-master-2/.tox/py37/bin/python setup.py bdist_wheel --build-type Release
[0/1] Re-running CMake...
-c:42: DeprecationWarning: SO is deprecated, use EXT_SUFFIX
CMake Warning (dev) at .tox/py37/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.16/Modules/UseSWIG.cmake:460 (message):
Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
flag. Run "cmake --help-policy CMP0086" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
.tox/py37/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.16/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE)
CMakeLists.txt:81 (swig_add_library)
This warning is for project developers. Use -Wno-dev to suppress it.
-- LINK_LIBRARIES are not nrf::nrf_ble_driver_sd_api_v2_static;/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib
CMake Warning (dev) at .tox/py37/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.16/Modules/UseSWIG.cmake:460 (message):
Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
flag. Run "cmake --help-policy CMP0086" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Is there some other editing I'll need to do to bring the python library up to date with v6? Any suggestions would be appreciated.