Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 3 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?
Question relating to:
1 Answer
10 years, 3 months ago.
Please update the demo program (and supporting libs) from mbed.org and rebuild. It should work now.
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 2014I 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