NDK Change Log

Table of Contents

NDK 3.40

Bugs

ID Summary
NDK-262 Translate TCP options in SlNetIfNDK
NDK-261 Add NDK prefix to TCP constants
NDK-260 Error codes in serrno.h need to be prefixed with NDK_
NDK-259 Add support for ENETDOWN in SlNetIfNDK
NDK-257 Remove documentation for APIs no longer present in NDK
NDK-252 Add support for MSG_PEEK and other missing flags in SlNetIfNDK_recv
NDK-240 Update DNS macros to have NDK_ prefix
NDK-233 Add support into SlNetIfNDK for SO_BROADCAST option
NDK-135 check for NULL pointer before deref in IPv6 route code

Enhancements

ID Summary
NDK-242 Move inet_ntop and inet_pton functions from NDK and into NS
NDK-199 Add C-ROV support into NDK
NDK-121 Add A53F gcc support
NDK-105 Remove support for several legacy targets (non-gcc A8, M3, non-TI M4)

Compatibility Notes

This release contains several compatibility breaks, which may require users to update and rebuild their source code.

Previous Name New Name
TCP_NODELAY NDK_TCP_NODELAY
TCP_MAXSEG NDK_TCP_MAXSEG
TCP_NOPUSH NDK_TCP_NOPUSH
TCP_NOOPT NDK_TCP_NOOPT
TCP_SACKPERMITTED NDK_TCP_SACKPERMITTED
TCP_MAXRTT NDK_TCP_MAXRTT
Previous Name New Name
NOERROR NDK_NOERROR
FORMERR NDK_FORMERR
SERVFAIL NDK_SERVFAIL
NXDOMAIN NDK_NXDOMAIN
NOTIMP NDK_NOTIMP
REFUSED NDK_REFUSED
OVERFLOW NDK_OVERFLOW
MEMERROR NDK_MEMERROR
SOCKETERROR NDK_SOCKETERROR
NODNSREPLY NDK_NODNSREPLY

NDK 3.30

Bugs

ID Summary
NDK-244 Translate address family in SlNetIfNDK
NDK-243 Allow servers to request client authentication
NDK-237 TLS handshake fails when the server requests a local certificate but none is provided
NDK-234 inet_ntop() does not null terminate strings correctly for IPv6
NDK-232 Call Sock6CleanPcb() when an IPv6 address is removed and/or IPv6 is deinitialized
NDK-230 Potential crash if client on a closed, lingering socket sends TCP_RST
NDK-225 Potential crash when sockets linger and the stack is shut down
NDK-221 Broken links in Users and API Guides
NDK-205 Add NDK_ prefix to BIGENDIAN macro
NDK-200 Add NDK_ prefix to global stats variables
NDK-36 add llEnter/llExit around calls to SockCleanPcb()

Enhancements

ID Summary
NDK-206 Update preprocessor big endian detection for all supported compilers
NDK-127 Move getaddrinfo and freeaddrinfo into NS

Compatibility Notes

NDK 3.20

Bugs

ID Summary
NDK-208 Change incorrect use of pthread_self() API in example code of documentation
NDK-71 NDK BSD fd_set type overridden by sys/types.h shipped with BIOS

Enhancements

ID Summary
NDK-216 Handle big endian detection properly for new tool chains
NDK-190 NDK documentation updates
NDK-184 Support SlNetIfNDK_getConnectionStatus()
NDK-175 Make NDK callable from any thread
NDK-171 Update NIMU IOCTL to support query of driver/interface link status
NDK-55 Convert NDK Users Guides from pdf to html (via markdown)

Compatibility Notes

NDK 3.10

Bugs

ID Summary
NDK-197 accept() must support NULL address and address_len params
NDK-192 NDK_bind needs to check for NULL arguments passed
NDK-183 Race condition in SlNetIfNDK_startSec

Enhancements

ID Summary
NDK-198 SlNetIfNDK should return more specific error codes when possible
NDK-196 Add NDK_ prefix to all network byte order macros
NDK-189 SlNetSock-using apps shouldn't require mbedtls footprint if they don't use it

Compatibility Notes

NDK 3.00

Bugs

ID Summary
NDK-181 NDK timeval struct conflicts with definition in GCC 6.x tool chain
NDK-167 Fix memory leak in socket clean up code
NDK-130 Remove conflicting bzero and bcopy definitions from the NDK
NDK-120 NDK should support/use actual integer file descriptors for socket APIs
NDK-119 Freeing invalid sockets causes crash
NDK-67 Various NDK definitions (pipe and fd macros) conflict with the same ones that are shipped in the compiler
NDK-61 possible race condition in TcpPrDetach causes NULL ptr dereference
NDK-41 NDK interrupt module creates a 256 byte array to store a single interrupt
NDK-17 Must update NDK list_* APIs to have a function pre-fix

Enhancements

ID Summary
NDK-169 Remove NDK's (light) ROV support
NDK-168 Remove C66 big endian libraries
NDK-155 Enable FreeRTOS support in NDK
NDK-151 Add mbedtls support to NDK
NDK-142 Add MSP432E support to NDK
NDK-140 Add support for 32-bit and 64-bit Linux targets in NDK
NDK-138 Remove SNTP from NDK (as it is moving to Network Services)
NDK-128 mmBulkAlloc should call malloc() NOT Memory_alloc()
NDK-126 Remove NDK local typedefs (e.g. UINT32) and use C99 standard types
NDK-124 NDK should use system wide errno
NDK-115 MSG_NOSIGNAL is undefined
NDK-103 Update OS layer to use POSIX APIs
NDK-73 use GNUC preprocessor constant, not default #else, for GNU compiler specific code
NDK-70 ARP table behavior implemented by SDOCM00107816 should be default behavior in NDK
NDK-20 remove Interrupt_add() and related APIs

Compatibility Notes

NDK 3.x has undergone significant changes from NDK 2.x, and as such, anyone upgrading from a previous NDK 2.x release will require user changes. A brief summary of these changes include: