1

(4 replies, posted in wolfSSL)

...do you init the mqx time at compile time or sync from the internet? I call _time_set() when it first runs with localtime and it's enough for me, but I don't think it's a good approach.

Ok, that was easy, I just call SNTP_oneshot( IPADDR(64,90,182,55), 20000); to update the timer. And I've just noticed that you are using a TWRK60F120 which has an RNGA as K70, mine has an RNGB, so I should modify the function in random.c.

2

(4 replies, posted in wolfSSL)

Hello all,

I have managed to compile and run the MQX example in a twrk60n512 with MQX 3.8. However, I had some problems with the example, is there a readme or guide explaining how to test it?

I ran the server example on a Linux machine, but noticed after adding some printfs that the "-v 0" (SSLv3) argument was being ignored when "-b eth1" was also present, only if the order was "./server -b eth1 -v 0" (with "./server -v 0 -b eth1") it worked.
Is this the way I was supposed to test it or is there a public server for this test?

Also, I've had the same problem than HardDrive, and adding the time function did solved it. However, do you init the mqx time at compile time or sync from the internet? I call _time_set() when it first runs with localtime and it's enough for me, but I don't think it's a good approach.

Finally, I have the RNG macro commented for now (it seems to be different from K70s), did you enabled it? Could you give some hints on how you ported it?

Best regards,

Sebastián.-