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

pc-ble-driver compatibility

Hi, I'm currently testing the pc-ble-driver. It seems its only supporting exactly one FW version and I wonder why.

As far as I understand it currently supports v2 (S130) and v3 (S132) serialisation.

So I compiled and flashed the nRF5_SDK_13.1.0_7ca7556\examples\connectivity\ble_connectivity project wich should be S132 - but nRFConnect complains about wrong version.

I looked into the code of nRFConnect but it's hard to figure out since the NodeJS code links to the C pc-ble-driver and i can't see what's going on.

So how can it be changed? Shouldn't it be compatible since its the same API level?

regards

Parents Reply Children
  • Ok, somehow I overlooked the S132 v4 part in the compatibility matrix.

    Ok so what I did now is:

    • download SDK 12.1
    • apply patch [had to add space (" ") in each empty folder to apply without errors]
    • setup toolchain (nRF5_SDK_12.1.0_0d23e2a\components\toolchain\gcc\Makefile.windows)
    • nRF5_SDK_12.1.0_0d23e2a\examples\ble_central_and_peripheral\ble_connectivity\pca10040\ser_s132_hci\armgcc\ => make

    -> ERROR: Makefile:225: Cannot find include folder: ../../../config

    So I removed "$(PROJ_DIR)/config " from makefile [there is actualy no directory "config" in the SDK]

    => builds without erros

    1. Flashed *.hex on nrf52 DK
    2. run nRFconnect => asks for new firmware
    3. run pc-ble-driver\examples\heart_rate_collector => sd_rpc_open(m_adapter, status_handler, ble_evt_dispatch, log_handler) returns 0x0d => Timeout [had that before if baud rate is wrong but I double checked - baurate is set to 115200 and in FW it is set by patch]

    So what's wrong?

  • ok after mergehex pc-le-driver heartrate example is working

    but how to stop nrfConnect from complaining?

Related