igrr / axtls-8266

axTLS port for ESP8266
Other
79 stars 33 forks source link

Provide example of using LWIP raw with axTLS #5

Closed slaff closed 8 years ago

slaff commented 8 years ago

It would be great if you can provide examples how to use axTLS with LWIP raw tcp for ESP8266. Even a small source code example will be fine.

igrr commented 8 years ago

This library is not compatible with asynchronous raw LwIP APIs. It depends on the following blocking network APIs:

#define SOCKET_READ(A,B,C)      ax_port_read(A,B,C)
#define SOCKET_WRITE(A,B,C)     ax_port_write(A,B,C)
#define SOCKET_CLOSE(A)         ax_port_close(A)
slaff commented 8 years ago

Examples can be found here: https://github.com/igrr/axtls-8266/blob/master/util/README.md