Want to implement client authentification with priv key on esp side. With ssl_obj_load(_ssl, SSL_OBJ_RSA_KEY, KEY) I can load a RSA priv key and ssl_x509_create( .. ) . Not too familiar with the internal process of axtls, but I assume that should do the job, right?
Stavros Korokithakis
@skorokithakis
@Links2004, thanks
@martinayotte, kolban's book has ESPs with the mounting board, which AFAICT has three resistors on it already
okay I set it buffering 500 bytes or 50ms, whichever comes first, and set it going again, its working so far :) ifit doesn't break in 10 minutes then I'll close the issue as that was obivously it :)
thanks @Links2004, legend :)
spoke too soon :(
updated the code in the issue
the SoftwareSerial lib only has a single char read so I have to buffer it myself but the end result is the same
Markus
@Links2004
you code looking good, does the same happen when you us "Serial" instead of the sw Serail?
Chris Elsworth
@celsworth
no, I think its some sort of interaction between the interrupts that SoftwareSerial uses, and espconn_sent() in the sdk
Markus
@Links2004
how many data do you send at 9600 to the ESP?
Chris Elsworth
@celsworth
about 200 bytes every 5 seconds - not a lot
Markus
@Links2004
each char will block all interrupts for 1ms at 9600.