This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf51 ble driver with custom service

Hi, I'm using nrf51 BLE driver with usb dongle to create test application on PC which simulates the peripheral.

My problem is I cannot add 128-bit UUID for custom service. I always get NRF_ERROR_TIMEOUT(13) error when trying to add custom 128-bit UUID (sd_ble_uuid_vs_add). Am I missing something?

  • It seems nRF51 Bluetooth Smart GATT/GAP Driver for Windows doesn't support sd_ble_uuid_vs_add call.

    In nrf51_ble_driver_doc.txt there is:

    ...
    #####################
    Supported SoftDevice API calls
    #####################
    ---------------------
    ble.h
    ---------------------
    Implemented functions:
        sd_ble_uuid_encode
    
    Unimplemented functions:
        sd_ble_tx_buffer_count_get
        sd_ble_uuid_decode
        **sd_ble_uuid_vs_add**
        sd_ble_version_get
    
    Implemented events:
        ble_evt_tx_complete
    ...
    
  • Oh, I overlooked this part of the documentation. Thanks. OK. Now I'll try to get the connectivity app running so I can add this functionality.

  • Version 0.1.0 of Bluetooth Smart Driver supports only a subset of the S110 SoftDevice APIs. However the next version will support the complete S110 v7 GATT/GAP APIs.

Related