char buffer = "12.34";
sscanf(buffer, "%f", answer);
// answer is always 0.0, no matter what I put in buffer.
// what's the trick?
You need an ampersand, I am surprised the program just dosnt crash
sscanf(buffer, "%f", &answer);
Probably default setting of FPU for your board is disabled. Check MQX_INCLUDE_FLOATING_POINT_IO macro at <MQX directory>\config\<Name of your board>\user_config.h. This macro is responsible for floating operations inside FIO component(STDIO alternative).
Set this macro to 1, rebuild libs and your app...should works.
Retrieving data ...