| /NetX-Duo-v6.2.1/addons/azure_iot/ |
| D | README.md | 3 …a binding layer between the Azure RTOS and the [Azure SDK for Embedded C](https://github.com/Azure… 8 * [IoT Plug and Play](https://learn.microsoft.com/azure/iot-develop/overview-iot-plug-and-play) sup… 19 …GDISCOVERY](https://www.st.com/en/evaluation-tools/32f746gdiscovery.html) | [IAR](https://aka.ms/a… 20 …https://www.st.com/en/evaluation-tools/b-l4s5i-iot01a.html) / [B-L475E-IOT01](https://www.st.com/e… 21 …https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/mimxrt1060-ev… 22 …https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rx-32-bit-performance-effi… 23 …https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rx-32-bit-performance-effi… 24 …https://www.microchip.com/developmenttools/productdetails/atsame54-xpro) | [GCC/CMake](https://git… 25 | MXCHIP | [AZ3166](https://aka.ms/iot-devkit) | [GCC/CMake](https://github.com/eclipse-threadx/get… 35 Follow [`nx_user_sample.h`](https://github.com/eclipse-threadx/netxduo/blob/master/common/inc/nx_us… [all …]
|
| /NetX-Duo-v6.2.1/ |
| D | README.md | 11 …https://www.st.com/content/st_com/en/campaigns/x-cube-azrtos-azure-rtos-stm32.html), [NXP](https:/… 13 We also provide [getting started guide](https://github.com/eclipse-threadx/getting-started) and [sa… 15 See [Overview of Eclipse ThreadX NetX Duo](https://github.com/eclipse-threadx/rtos-docs/blob/main/r… 88 …https://github.com/eclipse-threadx/netxduo/tree/master/addons/azure_iot), [**dhcp**](https://githu… 108 * [CMake](https://cmake.org/download/) version 3.0 or later 109 …* [Arm GNU Toolchain for arm-none-eabi](https://developer.arm.com/downloads/-/arm-gnu-toolchain-do… 110 * [Ninja](https://ninja-build.org/) 112 1. Build the [ThreadX library](https://github.com/eclipse-threadx/threadx#building-and-using-the-li… 117 $ git clone --recursive https://github.com/eclipse-threadx/netxduo.git 120 …her with the component source code. You can refer to [`nx_user_sample.h`](https://github.com/eclip… [all …]
|
| D | CONTRIBUTING.md | 19 Project site: https://projects.eclipse.org/projects/iot.threadx 24 https://www.eclipse.org/legal/termsofuse.php 29 https://projects.eclipse.org/projects/iot.threadx/developer 33 * https://github.com/eclipse-threadx/.github 34 * https://github.com/eclipse-threadx/cmsis-packs 35 * https://github.com/eclipse-threadx/filex 36 * https://github.com/eclipse-threadx/getting-started 37 * https://github.com/eclipse-threadx/guix 38 * https://github.com/eclipse-threadx/levelx 39 * https://github.com/eclipse-threadx/netxduo [all …]
|
| /NetX-Duo-v6.2.1/test/regression/web_test/ |
| D | netx_web_https_demo_test.c | 72 /* HTTPS/TLS setup. */ 147 tx_thread_create(&server_thread, "HTTPS Server thread", https_server_thread_entry, 0, in test_application_define() 157 status = nx_packet_pool_create(&server_pool, "HTTPS Server Packet Pool", SERVER_PACKET_SIZE, in test_application_define() 195 status = tx_thread_create(&client_thread, "HTTPS Client", https_client_thread_entry, 0, in test_application_define() 203 status = nx_packet_pool_create(&client_pool, "HTTPS Client Packet Pool", SERVER_PACKET_SIZE, in test_application_define() 210 status = nx_ip_create(&client_ip, "HTTPS Client IP", HTTP_CLIENT_ADDRESS, in test_application_define() 239 printf("NetX Test: Web HTTPS Demo Test......................................."); in https_client_thread_entry() 247 /* Create an HTTPS client instance. */ in https_client_thread_entry() 308 /* TLS setup callback, used to configure the TLS sessions for an HTTPS server. */ 313 /* Initialize device certificate (used for all sessions in HTTPS server). */ in server_tls_setup() [all …]
|
| D | netx_web_basic_test.c | 242 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 258 /* Wait HTTPS server started. */ in thread_client_entry() 293 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 300 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", sizeof("https://1.2.3.4/test.txt") - 1, in thread_client_entry() 441 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 449 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 466 /* Set TLS for HTTPS. */ in thread_server_entry() 469 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 503 /* Wait HTTPS test finished. */ in thread_server_entry() 597 … "Server: NetX HTTPS Experimental\r\n"); in server_request_callback()
|
| D | netx_web_get_put_referred_URI_test.c | 2 …designate a root directory based file location. If the string begins with an HTTP: or HTTPS: (not 217 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 233 /* Wait HTTPS server started. */ in thread_client_entry() 262 … NX_WEB_HTTPS_SERVER_PORT, "https://www.abc.com/client_test1.htm", in thread_client_entry() 332 … NX_WEB_HTTPS_SERVER_PORT, "https://www.abc.com/client_test1.htm", in thread_client_entry() 416 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 424 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 441 /* Set TLS for HTTPS. */ in thread_server_entry() 444 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 478 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_concurrent_sessions_test.c | 1 /* This case tests concurrent HTTPS sessions by launching several 2 * HTTPS clients in separate threads and using randomized delay to 290 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 309 /* Wait HTTPS server started. */ in thread_client_entry() 347 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 433 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 441 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 460 /* Set TLS for HTTPS. */ in thread_server_entry() 463 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 499 /* Wait HTTPS test finished. */ in thread_server_entry() [all …]
|
| D | netx_web_basic_authenticate_empty_test.c | 217 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 233 /* Wait HTTPS server started. */ in thread_client_entry() 259 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 298 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 371 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 379 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 398 /* Set TLS for HTTPS. */ in thread_server_entry() 401 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 435 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_basic_authenticate_test.c | 217 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 233 /* Wait HTTPS server started. */ in thread_client_entry() 259 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 300 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 373 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 381 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 400 /* Set TLS for HTTPS. */ in thread_server_entry() 403 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 437 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_put_basic_test.c | 212 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 228 /* Wait HTTPS server started. */ in thread_client_entry() 263 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/https_put_test.html", in thread_client_entry() 270 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/https_put_test2.html", 36, in thread_client_entry() 402 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 410 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 427 /* Set TLS for HTTPS. */ in thread_server_entry() 430 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 464 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_packet_allocate_test.c | 220 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 236 /* Wait HTTPS server started. */ in thread_client_entry() 262 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", in thread_client_entry() 394 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 404 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 421 /* Set TLS for HTTPS. */ in thread_server_entry() 424 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 458 /* Wait HTTPS test finished. */ in thread_server_entry() 509 … "Server: NetX HTTPS Experimental\r\n"); in server_request_callback()
|
| D | netx_web_client_cleanup_test.c | 216 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 232 /* Wait HTTPS server started. */ in thread_client_entry() 261 … NX_WEB_HTTPS_SERVER_PORT, "https://www.abc.com/client_test1.htm", in thread_client_entry() 318 … NX_WEB_HTTPS_SERVER_PORT, "https://www.abc.com/client_test1.htm", in thread_client_entry() 414 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 422 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 439 /* Set TLS for HTTPS. */ in thread_server_entry() 442 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 476 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_keep_alive_abnormal_test.c | 214 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 230 /* Wait HTTPS server started. */ in thread_client_entry() 286 /* For HTTPS, if the connection is closed, the initialization should be failed. */ in thread_client_entry() 383 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 391 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 408 /* Set TLS for HTTPS. */ in thread_server_entry() 411 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 445 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_server_content_process_test.c | 223 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 239 /* Wait HTTPS server started. */ in thread_client_entry() 403 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 411 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 428 /* Set TLS for HTTPS. */ in thread_server_entry() 431 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 465 /* Wait HTTPS test finished. */ in thread_server_entry() 553 so check queries with HTTP and params with HTTPS. */ in server_request_callback() 570 /* HTTPS, check params. */ in server_request_callback()
|
| D | netx_web_keep_alive_test.c | 226 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 242 /* Wait HTTPS server started. */ in thread_client_entry() 298 /* For HTTPS, if the connection is closed, the initialization should be failed. */ in thread_client_entry() 414 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 422 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 439 /* Set TLS for HTTPS. */ in thread_server_entry() 442 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 476 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_invalid_release_test.c | 212 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 228 /* Wait HTTPS server started. */ in thread_client_entry() 256 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/https_put_test2.html", 36, in thread_client_entry() 388 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 396 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 413 /* Set TLS for HTTPS. */ in thread_server_entry() 416 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 450 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_multiple_sessions_timeout_test.c | 273 /* Wait HTTPS server started. */ in thread_client_entry() 307 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", sizeof("https://1.2.3.4/test.txt") - 1, in thread_client_entry() 314 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", sizeof("https://1.2.3.4/test.txt") - 1, in thread_client_entry() 404 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 419 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 438 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_connect_three_times_test.c | 214 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 230 /* Wait HTTPS server started. */ in thread_client_entry() 345 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 353 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 370 /* Set TLS for HTTPS. */ in thread_server_entry() 373 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 407 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_head_basic_test.c | 211 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 227 /* Wait HTTPS server started. */ in thread_client_entry() 348 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 356 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 373 /* Set TLS for HTTPS. */ in thread_server_entry() 376 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 410 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_host_field_test.c | 220 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 236 /* Wait HTTPS server started. */ in thread_client_entry() 345 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 353 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 370 /* Set TLS for HTTPS. */ in thread_server_entry() 373 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 407 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_post_basic_test.c | 217 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 233 /* Wait HTTPS server started. */ in thread_client_entry() 372 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 380 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 397 /* Set TLS for HTTPS. */ in thread_server_entry() 400 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 434 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_request_in_multiple_packets_test.c | 221 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 237 /* Wait HTTPS server started. */ in thread_client_entry() 416 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 424 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 441 /* Set TLS for HTTPS. */ in thread_server_entry() 444 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 478 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_abnormal_test.c | 216 /* First loop test HTTP, second loop test HTTPS. */ in thread_client_entry() 232 /* Wait HTTPS server started. */ in thread_client_entry() 429 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 437 /* First loop test HTTP, second loop test HTTPS. */ in thread_server_entry() 454 /* Set TLS for HTTPS. */ in thread_server_entry() 457 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 491 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| D | netx_web_certifiacte_verify_test.c | 214 /* Wait HTTPS server started. */ in thread_client_entry() 229 … NX_WEB_HTTPS_SERVER_PORT, "https://1.2.3.4/test.txt", sizeof("https://1.2.3.4/test.txt") - 1, in thread_client_entry() 301 status += fx_file_write(&my_file, "https server", 12); in thread_server_entry() 316 /* Initialize device certificate (used for all sessions in HTTPS server). */ in thread_server_entry() 340 /* Wait HTTPS test finished. */ in thread_server_entry()
|
| /NetX-Duo-v6.2.1/addons/azure_iot/samples/ |
| D | README.md | 6 …https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-create-through-portal#create-an-iot-hub)). … 10 …oTHub using Symmetric key. To register new device in IoTHub use the [doc](https://docs.microsoft.c… 33 …device in IoTHub with this cert using the x509 getting started [document](https://docs.microsoft.c… 104 …d IoTHub device. To start, user creates individual enrollment using [doc](https://docs.microsoft.c… 106 Note: To get the values, use the [doc](https://docs.microsoft.com/en-us/azure/iot-dps/concepts-devi… 120 …d IoTHub device. To start, user creates individual enrollment using [doc](https://docs.microsoft.c… 122 Note: To get the values, use the [doc](https://docs.microsoft.com/en-us/azure/iot-dps/concepts-devi… 137 …Play enabled device with the Digital Twin Model ID (DTMI) detailed [here](https://github.com/Azure… 139 …led `getMaxMinReport` with JSON payload value `"since"` with an [ISO8601](https://en.wikipedia.org…
|