https://github.com/anon767/stm32f7https
A simple HTTPS Client for STM32F7
https://github.com/anon767/stm32f7https
dhcp freertos https-client lwip mbedtls mcu stm32 stm32f7 stm32f746g-discovery
Last synced: 3 months ago
JSON representation
A simple HTTPS Client for STM32F7
- Host: GitHub
- URL: https://github.com/anon767/stm32f7https
- Owner: anon767
- Created: 2019-10-28T18:43:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-28T21:07:38.000Z (about 6 years ago)
- Last Synced: 2025-09-01T01:26:42.882Z (4 months ago)
- Topics: dhcp, freertos, https-client, lwip, mbedtls, mcu, stm32, stm32f7, stm32f746g-discovery
- Language: C
- Size: 895 KB
- Stars: 7
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STM32F7HTTPS
This is a simple HTTPS Client for the STM32F7 MCU by ST.
For some reasons there is no sample mbedtls client/server project included for this Controller ... hence this project.
Tested with the STM32F746NG Discovery Kit (no crypto hardware acceleration :( ).
Basic Features:
- mbedtls
- threaded by freertos
- list of ca's
- DHCP w/ Lwip
- simple https GET request
- Lcd Display Log
# IDE
I used the ST System Workbench (just import the SW4STM32 Directory) but you can import it with a variety of Editors
# Usage
1. Set up simple https server
```
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
echo "success!!" > test.html
openssl s_server -key key.pem -cert cert.pem -accept 44330 -WWW
```
2. adjust main.h
replace SERVER_NAME with your IP address
3. Compile and Flash your MCU