Andras Fekete c3131b3234 Fix windows 'gethostbyname' declaration 6 luni în urmă
..
client 9dcc48c8f7 update copyright to 2023 1 an în urmă
server 9dcc48c8f7 update copyright to 2023 1 an în urmă
shared 717a32808f Fix missing include 8 luni în urmă
wolfssl_new_azsphere 8e9810e87e ssl.c: Move functions out to separate files 7 luni în urmă
README.md 30d836dc90 Implement peer review feedback 2 ani în urmă
include.am 873b2169f9 Add readme to include.am 2 ani în urmă
user_settings.h c3131b3234 Fix windows 'gethostbyname' declaration 6 luni în urmă

README.md

wolfSSL for Microsoft Azure Sphere Devices in MSVS 2019

Description

This directory contains the Visual Studio CMake Project that is targeted for the visual studio 2019 Azure Sphere plugin.

Limitations

The example includes a client and server executable but the main.c app only runs the server by default. main.c can be manually modified to run the client instead if desired.

By default the main.c app include the hardware definitions for MT3620-mini. It can be manually modified to include hardware definitions for MT3620, or avnet MT3620 instead.

The app relies on a wolfSSL static library project, app and library are built by the CMakeLists.txt located in IDE/MSVS-2019-AZSPHERE/wolfssl_new_azsphere/CMakeLists.txt. The library and app use user_settings.h to enable and disable features.

Set Up Steps

  1. Setup your Azure Sphere device. Install Azure Sphere Set up an account Claim your device Configure networking

  2. Open the local folder IDE/MSVS-2019-AZSPHERE/wolfssl_new_azsphere in MSVS 2019

  3. From the file menu select "Build" dropdown

    • Click: Rebuild All option
  4. Connect your Azure Sphere MT3620-mini Development Board using USB.

  5. Test the server.

    • Run server(Azure Sphere) using: Debug->'Start new instance'
    • Run the following wolfSSL example client command inside wolfssl directory.

      ./examples/client/client -h "Server IP Address" -p 11111 -A ./certs/ca-cert.pem
      

For other information please refer to the README in IDE/VS-AZURE-SPHERE