This guide contains comprehensive information about NetX Duo, the Eclipse Foundation high-performance IPv4/IPv6 dual network stack.
It is intended for embedded real-time software developers familiar with basic networking concepts, ThreadX, and the C programming language.
Italics - Typeface denotes book titles, emphasizes important words, and indicates variables.
Boldface - Typeface denotes file names, key words, and further emphasizes important words and variables.
Important: Information symbols draw attention to important or additional information that could affect performance or function.
Warning: Warning symbols draw attention to situations that developers should avoid because they could cause fatal errors.
In addition to the custom NetX Duo control structure data types, there are several special data types that are used in NetX Duo service call interfaces. These special data types map directly to data types of the underlying C compiler. This is done to ensure portability between different C compilers. The exact implementation is inherited from ThreadX and can be found in the tx_port.h file included in the ThreadX distribution.
The following is a list of NetX Duo service call data types and their associated meanings:
UINT: Basic unsigned integer. This type must support 32-bit unsigned data; however, it is mapped to the most convenient unsigned data type.
ULONG: Unsigned long type. This type must support 32-bit unsigned data.
VOID: Almost always equivalent to the compiler’s void type.
CHAR: Most often a standard 8-bit character type.
Additional data types are used within the NetX Duo source. They are located in either the tx_port.h or nx_port.h files.
For troubleshooting, be sure to collect the following information:
The contents in RAM of the following ULONG variables:
_tx_build_options
_nx_system_build_options1
_nx_system_build_options2
_nx_system_build_options3
_nx_system_build_options4
_nx_system_build_options5
These variables give information on how your ThreadX and NetX Duo libraries were built.