Hi,
The example at https://os.mbed.com/docs/v5.10/apis/rtc.html does not work in the latest os update.
When loaded in the online compiler it does work (i.e. produces the output it is supposed to produce). When the MBED_OS is subsequently updated the code doesn't behave correctly. I can't say anything about the set_time() but time(NULL) returns -1.
This is kind of annoying guys I have software for some network devices that was written and tested years ago ... now nothing works like it is supposed to.
A few days ago I had the same thing with a socket accept() function that was implemented in the way it was described in the manual, it didn't work until someone suggested to use the deprecated approach.
Can someone please suggest tools and/or an approach that at least does what it's supposed to do? How can I roll back to previous stable libs and os-es?
Koen.
Hi,
The example at https://os.mbed.com/docs/v5.10/apis/rtc.html does not work in the latest os update.
When loaded in the online compiler it does work (i.e. produces the output it is supposed to produce). When the MBED_OS is subsequently updated the code doesn't behave correctly. I can't say anything about the set_time() but time(NULL) returns -1.
This is kind of annoying guys I have software for some network devices that was written and tested years ago ... now nothing works like it is supposed to.
A few days ago I had the same thing with a socket accept() function that was implemented in the way it was described in the manual, it didn't work until someone suggested to use the deprecated approach.
Can someone please suggest tools and/or an approach that at least does what it's supposed to do? How can I roll back to previous stable libs and os-es?
Koen.