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

PC side for ble connectivity

Hi Nordic,

I plan to use the newest SDK (because the ATT MTU > 23 is need) for NRF52832 to develop a PC tool to connect with Nordic BLE peripheral devices, and then send and receive some privated protocol data by a priviated gatt service. Just like nRF connect. I know each SDK contains an demo project "SDK_ROOT\project examples\connectivity\ble_connectivity" and maybe it is useful for me.  In this example, I found there is branch named ser_s132_uart which could be satisfied to my requirement. But I don't know, what should I do on PC side, there seems to be no APIs and documents can be used.  Any suggestions for me?

Thanks and Best Regards. 

Parents
  • Hi,

    nRF Connect uses the pc-ble-driver (via the pc-ble-driver-js wrapper). There is also a python wrapper available (pc-ble-driver-py). The pc-ble-driver requires connectivity firmware on the nRF side which is based on the example connectivity project from the SDK, but with some modifications. You can use the binary .hex file distributed with the pc-ble-driver or build it yourself following the instructions under Compiling the connectivity .hex files.

  • Hi, according the guidline, I encounterd a problem to when running cmake to generate VS project.

    Logs:

    E:\personal\pc-ble-driver\pc-ble-driver-master>cmake -G "Visual Studio 15 2017"
    -- Selecting Windows SDK version 10.0.17763.0 to target Windows 6.1.7601.
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    CMake Error at CMakeLists.txt:2 (project):
    No CMAKE_C_COMPILER could be found.

    CMake Error at CMakeLists.txt:2 (project):
    No CMAKE_CXX_COMPILER could be found.

    -- Configuring incomplete, errors occurred!
    See also "E:/personal/pc-ble-driver/pc-ble-driver-master/CMakeFiles/CMakeOutput.log".
    See also "E:/personal/pc-ble-driver/pc-ble-driver-master/CMakeFiles/CMakeError.log".

    Can anyone help me please?

Reply
  • Hi, according the guidline, I encounterd a problem to when running cmake to generate VS project.

    Logs:

    E:\personal\pc-ble-driver\pc-ble-driver-master>cmake -G "Visual Studio 15 2017"
    -- Selecting Windows SDK version 10.0.17763.0 to target Windows 6.1.7601.
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    CMake Error at CMakeLists.txt:2 (project):
    No CMAKE_C_COMPILER could be found.

    CMake Error at CMakeLists.txt:2 (project):
    No CMAKE_CXX_COMPILER could be found.

    -- Configuring incomplete, errors occurred!
    See also "E:/personal/pc-ble-driver/pc-ble-driver-master/CMakeFiles/CMakeOutput.log".
    See also "E:/personal/pc-ble-driver/pc-ble-driver-master/CMakeFiles/CMakeError.log".

    Can anyone help me please?

Children
Related