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.
9 years, 11 months ago.
Compile with latest BLE_API Lib and nRF51822 Lib
This project doesn't work with latest online libs BLE_API and nRF51822 (2015-Jan-23). It seems function retargetStdout() isn't available in the recent online lib updates. Is there a reason?
Question relating to:
1 Answer
9 years, 10 months ago.
retargetStdout() is removed for it indirectly causes a lot of energy consumption. It uses Stream class which will setup UART. While UART requires a lot of energy.
I published a modified version of [BLE_Default_App] that does compile and run with online libs available 20150123:
- *20150126* There appears to be an issue with subsequent FOTA loads, even when load the BLE_Default_App unmodified (with no library updates).
- *20150127* My other program without BLE_UART supports multiple consecutive FOTA DFU program loads, as I don't need BLE_UART I'm OK.
posted by Paul Russell 24 Jan 2015