9 years, 11 months ago.  This question has been closed. Reason: Off Topic

Fail to compile

Hi,

my first day using mbed. Just connected nRF51822 mbed kit, tried importing & compiling this repo and it failed.

I don't have enough vested interest to fix this, but I think there's an issue with the definition of setAdvertisingData function. Actually /BLE_Beacon/nRF51822/nRF51Gap.h defines this function with two input arguments and the main function is only passing in one.

So there's an error in this code, probably worth fixing as mbed philosophy as I understand is to have code that 'just works'.

Any takers?

/media/uploads/o_gilmour/nrf51822_compile_error.png

Question relating to:

/ BLE_iBeacon Featured
Beacon demo for the BLE API using the nRF51822 native mode drivers

Hello, I'm the maintainer of BLE-API; and I'll provide the required update first thing tomorrow to get your code sorted out. Sorry for this. I should not have updated the demo code without also pushing the required changes to the underlying libraries. But you could also roll back to an older version of the beacon app to get a working example.

rohit.

posted by Rohit Grover 27 May 2014

I did roll it back for yesterday to test things out. But the new fix is working so kudos!

posted by Oliver Gilmour 28 May 2014

1 Answer

9 years, 11 months ago.

Please update the demo program (and supporting libs) from mbed.org and rebuild. It should work now.

Accepted Answer