Skip to content

Commit

Permalink
modify ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddyWiz committed Apr 30, 2019
1 parent 634dd24 commit 9393e9b
Showing 1 changed file with 69 additions and 19 deletions.
88 changes: 69 additions & 19 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,95 @@
Welcome to the W6100EVB-TLS wiki!
# Index
- [TLS Client Example for W6100-EVB](#TLS-Client-Example-for-W6100-EVB)
- [Hardware Environment](#Hardware-Environment)
- [Software Environments](#Software-Environment)
- [Run](#Run)
- [Code review](#Code-review)
- [Test packet capture file](#Test-packet-capture-file)

# How to make certificate.
## make ca.crt and ca.key file.


------
# TLS Client Example for W6100-EVB
Common to Any MCU, Easy to Add-on. Internet Offload co-Processor, HW TCP/IP chip,
best fits for low-end Non-OS devices connecting to Ethernet for the Internet of Things. These will be updated continuously.

## Hardware Environment
* W6100EVB
- connecting Micro usb.
- connecting Ethernet cable. <br>
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate01.png" />
<img width="60%" src="https://wizwiki.net/wiki/lib/exe/fetch.php?w=600&tok=eabde4&media=products:w6100:w6100_evb:w6100-evb_callout.png" />
</p>

## make server.key file.
## Software Environment
In case of used to TrueSTUDIO, It is the same as HTTP Server example.
- Link : [Software Environment of W6100EVB-HTTP_Server](https://github.com/WIZnet-ioLibrary/W6100EVB-HTTP_Server#Software-Environment)

### How to make certificate. <br>
- make ca.crt and ca.key file.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate02.png" />
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate01.png" />
</p>

## make server.csr file.
- make server.key file.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate02.png" />
</p>

- make server.csr file.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate03.png" />
</p>

## make ca.srl and server.crt file.
- make ca.srl and server.crt file.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate04.png" />
</p>

## make cerificate.h
- Please server.crt file transporates to header format.
- make cerificate.h
- Please server.crt file transporates to header format.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/Certificate05.png" />
</p>

# How to modity program.
## Program setting.
- change server ip and device ip.
### Program setting.
- change server ip and device ip.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/ipset.png" />
</p>

## Run
* Demo Environment & Program <br>

- Windows 10 <br>
- Internet Explorer <br>
- Hercules <br>


# Result
## open server(openssl s_server)
- build project and excute program.
* Demo Result <br>
- Power On and push Reset button to start Program<br>
- Program Run Serial display <br>
- open server(openssl s_server)
- build project and excute program.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/result01.png" />
</p>

## mesage loop back test
- if end masage send, connect closed.
- mesage loop back test
- if end masage send, connect closed.
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/result02.png" />
</p>
</p>

## Code review
- main.c code flow
<p align="center">
<img width="50%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/W6100EVB-TLS-FlowChart.png" />
</p>

## Test packet capture file
<p align="center">
<img width="90%" src="https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/packet_capture.png" />
</p>

- Test packet capture file : [W6100EVB-TLS-packet.zip](https://github.com/WIZnet-ioLibrary/W6100EVB-TLS/wiki/W6100EVB-TLS-packet.zip)

0 comments on commit 9393e9b

Please sign in to comment.