NRF51 + MBED + BLE

Sysprogs forums Forums VisualGDB NRF51 + MBED + BLE

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7671
    svecoldr
    Participant

    Hi,

    I follow this tutorial

    http://visualgdb.com/tutorials/arm/mbed/nrf51/

    How can I include bluetooth into it? Adding

    #include <BLEDevice.h>

    or

    #include <BLE.h>

    doesnt seem to work.

    #7672
    support
    Keymaster

    Hi,

    Most likely you need to specify some subdirectory. Please open VisualGDB Project Properties on the IntelliSense Setting page, check the list of include directories and search them and their subdirectories for the BLEDevice.h file. Then use the #include <subdirectory/BLEDevice.h> format to include it.

    #7675
    svecoldr
    Participant

    Thanks for your answer. I think the problem is that there is no file called BLEDevice.h. Should VisualGDB install also BLEDevice.h or shall I download the BLEDevice.h on my own? I have searched “c:\Users\oldri\AppData\Local\VisualGDB\” but nothing found.

    #7676
    support
    Keymaster

    Hi,

    When you are creating an mbed project, VisualGDB uses the files from the official mbed distro on github. Perhaps the file is named differently there? Can you find a BLE example specifically for mbed?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.