[Closed] randomize seed in sim not implemented


#1

Continuing the discussion from Random numbers generator:


#2

is this an api hook problem or what type of random you using?
its probebly going to be specific to the mbed system and stdlib.h for simulator


#3

It is just a missing implementation issue. timer has been of no use for random seed in hardware, because starts from zero at reset. we have been thinking about how to do a reliable random (timer, battery level, keypress at given time).

but actually, now that we have rtc we can implement randomize exactly the same way on pc sim and hardware


#4

cool, bit off topic but how will the rtc be set? i know api can do it but from user side? have to install a configure program?


#5

waiting for a new pcb, will report on this soon


#6

implemented in next repo update