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

Send a packet with RedBearLab Blend Micro and nRF8001 using BLE advertising

Dear comrades, I am trying to advertise a simple packet with the nRF8001 embedded in the RedBearLab Blend Micro board using it as a beacon.

I am using the ble_broadcast example and generating the services.h file with nRFgo Studio. The packet that I am trying to send is:

As you can see, there is only the Flags and the Manufacturer Specific Data fields with its values. The problem is, when I compile ble_broadcast example with my generated services.h and upload it to the board, the board is not advertising anything.

I use the nRF connect Android App to check if it is actually sending data, but it is not. But when I upload the BLEControllerSketch example in the RBL_nrf8001 library, then it actually advertises data. If then I try to configure that packet with my services.h file, then stops advertising again.

My guess is that I am configuring the services.h file wrongly. Can someone please explain me how to do it correctly. I would be very gratefull.

Thanks!

AGB