STM32 Key Part 4 — Server

This is the fourth part of the STM32 series. For your convenience you can find other parts in the table of contents in Part 1 – DES implementation

We have all the building blocks for STM32 server, so let’s write it.

Implementation

main.c

delay.c

simple_server.c

And it looks like this is it.

Summary

We have everything in place. We know how to encrypt data using DES, we have Swing chat application for tests and we have application for STM32 to actually do the job. It is easy and most of the stuff is hardcoded, however, it could be easily modified just to do the remaining 20% of the work.