New MAXQ 1065/1080 LWIP example.#462
Conversation
| #else | ||
|
|
||
| #if defined (TEST_RSA) | ||
| ret = wolfSSL_CTX_use_PrivateKey_buffer(ctx, rsa_key_der_2048, |
There was a problem hiding this comment.
indent for readability
| /* Print to stdout any data the server sends */ | ||
| MXC_DEBUG_MSG("Server: %s\n", buff); | ||
| return ret; | ||
| // ret = 0; /* success */ |
There was a problem hiding this comment.
remove double comment style here
|
|
||
| if (sockfd >= 0) | ||
| lwip_close(sockfd); | ||
| while(lwip_read(sockfd,lBuff, SOCKET_BUF_SIZE) > 0); |
There was a problem hiding this comment.
Why is this after the close of the socket? Is it to flush it after the socket has already been closed? Nit pick: there is no space after first ,
There was a problem hiding this comment.
Waiting for feedback from someone else.
There was a problem hiding this comment.
According the feedback received, this is correct. The socket is being flushed.
|
|
||
| This example shows how to write a simple TLS client that uses the features | ||
| of the Analog Devices MAXQ1065 and 1080 USS. Note that this is not a | ||
| stand-alone application. This is part of an example that can be found in the |
There was a problem hiding this comment.
...part of an example that can be found in the SDK supplied by Analog Devices.
Is this example our IP? Written by us. Please add how someone would go about compiling the example. i.e. if should download the SDK then add wolfssl-lwip-client.c to a specific location and build.
There was a problem hiding this comment.
This is not addressed yet. Waiting for feedback from someone else.
|
All issues except 2 have been addressed. |
No description provided.