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

Running observer/broadcaster example on BLE nano

Hello,

I bought a BLE nano and MK20 set with nRF51822 from RedBearLab. Love Nordic complete bluetooth solutions.

In general I am pretty new to Bluetooth development, still learning bluetooth protocol and tech stack. Trying to use the board as a nRF51822 development kit substitution. Correct me please, if I misuse terminology or confuse one concept with another.

Currently, my goal is running BLE nano as an observer listening to other Bluetooth devices broadcasting, e.g. beacons. Once certain broadcasted sequence presents, switching BLE nano's role as a broadcaster/beacon to broadcast sequence.

below nRF example seems doing what I want.

github.com/.../nRF51-multi-role-conn-observer-advertiser

To setup a minimal way to test this example, my plan is using mbed to download the example to the board then using software on other platform (like iPhone or Android) with the ability to send out HCI commands? Do I miss something?

Thank you for your input.

Parents
  • The compiler settings should fit with the settings in the specific softdevice release and version you are working with, and the variant of the nRF51822 you are using. I see no reason why you need to change the settings when working with another board, as long as the softdevice and IC variant is the same.

    In the relase notes for each nRF5 SDK you can find which softdevice it is made for, the easiest is to use an nRF5 SDK that use the specific softdevice release you want to build your application on. Otherwize you will need to update the softdevice header files, and possible handle api changes. In such case the migration document in the softdevice release might be useful.

  • Hi Kenneth, by adding #define NRF_CLOCK_LFCLKSRC to customized bsp header, I got example compiled. Haven't gotten chance to test it. Thanks!

Reply Children
No Data
Related