Skip to content

Commit

Permalink
Merge branch 'azure-rtos:master' into add_other_test
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhui-xie authored Dec 1, 2023
2 parents 4c66f84 + 685dafb commit 6ee3cb0
Show file tree
Hide file tree
Showing 208 changed files with 1 addition and 934 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The master branch has the most recent code with all new features and bug fixes.

## Protocols and connectivity

Protocols and connectivity support are provided as addon modules within NetX Duo in `addons` folder. Some key modules are: [**azure_iot**](https://github.com/azure-rtos/netxduo/tree/master/addons/azure_iot), [**dhcp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dhcp-client/chapter1), [**dns**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dns/chapter1), [**ftp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dns/chapter1), [**http**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-http/chapter1), [**mqtt**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-mqtt/chapter1), [**pop3**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-pop3-client/chapter1), [**ppp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-ppp/chapter1), [**sntp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-sntp-client/chapter1), and [**web**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-web-http/chapter1). For a full list of NetX Duo addons, you can find in the same [Azure RTOS NetX Duo documentation](https://learn.microsoft.com/azure/rtos/netx-duo/).
Protocols and connectivity support are provided as addon modules within NetX Duo in `addons` folder. Some key modules are: [**azure_iot**](https://github.com/azure-rtos/netxduo/tree/master/addons/azure_iot), [**dhcp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dhcp-client/chapter1), [**dns**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dns/chapter1), [**ftp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-dns/chapter1), [**http**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-http/chapter1), [**mqtt**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-mqtt/chapter1), [**pop3**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-pop3-client/chapter1), [**ppp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-ppp/chapter1), [**rtp**](https://learn.microsoft.com/en-us/azure/rtos/netx-duo/netx-duo-rtp/chapter1), [**rtsp**](https://learn.microsoft.com/en-us/azure/rtos/netx-duo/netx-duo-rtsp/chapter1), [**sntp**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-sntp-client/chapter1), and [**web**](https://learn.microsoft.com/azure/rtos/netx-duo/netx-duo-web-http/chapter1). For a full list of NetX Duo addons, you can find in the same [Azure RTOS NetX Duo documentation](https://learn.microsoft.com/azure/rtos/netx-duo/).

### Samples

Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_aton_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif

#define DEMO_STACK_SIZE 4096

Expand Down
5 changes: 0 additions & 5 deletions test/regression/bsd_test/netx_bsd_getaddrinfo_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
#include "tx_api.h"
#include "nx_api.h"
#ifdef NX_BSD_ENABLE
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#include "nxd_dns.h"
#else
#include "nx_bsd.h"
#include "nx_dns.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_ioctl_nonblocking_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
5 changes: 0 additions & 5 deletions test/regression/bsd_test/netx_bsd_multicast_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_ipv4.h"
#include "nxd_bsd.h"
#else
#include "nx_ip.h"
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_ntoa_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif

#define DEMO_STACK_SIZE 4096

Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_raw_bind_connect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
#include "nx_api.h"
#if defined(__PRODUCT_NETXDUO__) && !defined(NX_DISABLE_IPV4)
#ifdef NX_BSD_ENABLE
#ifdef __PRODUCT_NETX__
#include "nx_bsd.h"
#else
#include "nxd_bsd.h"
#endif

#ifdef FEATURE_NX_IPV6
#include "nx_ipv6.h"
Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_2nd_bind_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_accept_blocking_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_accept_noselect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_basic_blocking_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_bind_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096
#define NUM_MESSAGES 20

Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_disconnect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 1024


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_fionread_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_getsockname_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_multiple_accept_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096

#define notify(v)
Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_sendto_recvfrom_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_two_blocking_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif

#define DEMO_STACK_SIZE 4096
#define BSD_THREAD_PRIORITY 2
Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_tcp_udp_select_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_udp_basic_blocking_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#ifdef FEATURE_NX_IPV6
#include "nx_icmpv6.h"
#endif
Expand Down
5 changes: 0 additions & 5 deletions test/regression/bsd_test/netx_bsd_udp_bind_connect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,9 @@
#ifdef FEATURE_NX_IPV6
#include "nx_ipv6.h"
#endif
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nx_ipv4.h"
#include "nxd_bsd.h"
#else
#include "nx_ip.h"
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_udp_bind_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)

#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
#include "tx_api.h"
#include "nx_api.h"
#if defined(NX_BSD_ENABLE) && !defined(NX_DISABLE_IPV4)
#ifdef __PRODUCT_NETXDUO__
#include "nx_icmpv6.h"
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096
#define NUM_MESSAGES 20

Expand Down
4 changes: 0 additions & 4 deletions test/regression/bsd_test/netx_bsd_udp_checksum_corrupt_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
#include "nx_api.h"
#ifdef NX_BSD_ENABLE
#include "nx_udp.h"
#ifdef __PRODUCT_NETXDUO__
#include "nxd_bsd.h"
#else
#include "nx_bsd.h"
#endif
#define DEMO_STACK_SIZE 4096

#define BSD_THREAD_PRIORITY 2
Expand Down
Loading

0 comments on commit 6ee3cb0

Please sign in to comment.