Azure RTOS NetX Secure

ze qian 0 Reputation points
2023-04-23T12:41:42.75+00:00

Hello, I am currently using Azure RTOS NetX Secure, but I cannot find the routines I am using. The debugging process was very painful because I have just come into contact with TSL related technology, so I hope to find some routines to help me, I want to implement a TSL server, which is quite special and requires legal authentication for the client. If it is legal, it allows the client to connect and read and write data. If it is not legal, it disconnects. The second requirement is to use ASE256 for data encryption during communication, The above are my main functional requirements.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
331 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 14,831 Reputation points Microsoft Employee
    2023-04-25T18:47:28.6366667+00:00

    Hi @ze qian Refer to the article Installation and use of Azure RTOS NetX Secure DTLS which provides an overview of various issues related to installation, setup, and usage of the Azure RTOS NetX Secure DTLS component.

    The source code for the NetX Secure is available at the GitHub repository https://github.com/azure-rtos/netx. We need to use the following files to make use of NetX secure.

    • nx_secure_dtls_api.h Public API header file for NetX Secure DTLS
    • nx_secure_dtls_user.h User defines header file for NetX Secure DTLS
    • nx_secure_ port.h Platform-specific definitions for NetX Secure
    • nx_secure_dtls.h Header file for NetX Secure DTLS
    • nx_secure_tls.h Header file for NetX Secure TLS
    • nx_secure_dtls*.c/h C/H Source files for NetX Secure DTLS
    • nx_secure_tls*.c/h C/H Source files for NetX Secure TLS
    • nx_crypto*.c/h C/H Source files for NetX Secure Cryptography
    • nx_secure_x509*.c/h C/H Source files for X.509 digital certificates.
    • demo_netx_secure_dtls.c C Source file for NetX Secure DTLS Demo

    The above files should be should be copied to the same directory level where NetX is installed. For example, if NetX is installed in the directory “\threadx\arm7\NetX” then the nx_secure*.* directories should be copied into “\threadx\arm7\NetXSecure”.

    The documentation also provides a sample code demonstrating how to use NetX Secure DTLS which is designed to work with OpenSSL (or similar) DTLS server.

    Hope this helps you get started. Please let us know if you have any additional questions in the comments below and we would be happy to help you.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.