This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

-

-

  • Hi Peter,

    NDK works either IPV4 only or both IPV4&IPV6, there is no IPV6 only mode.
    You are getting the IPV4 address fine, to see the IPV6 address you should look at the function in the example: IPv6DADStatus().
    Did you add the hook 'netOpenHook()' which calls this function?

    You can look at the config setting in TI-RTOS->Products->NDK->Networking-> Stack Hook Functions and plug 'netOpenHook()' to the 'Network open hook'. See if that helps.

    Regards,
    Murat
  • The standard tcpEchoIPv6 example that I installed and built for TivaTM4C129XNCZAD from the CCS App Center includes the file:

    TCPEchoHooksIPv6.c includes the function:

    static void IPv6DADStatus(IP6N Address, unsigned short dev_index,
            unsigned char Status)
    {
        char strIPAddress[40];

        /* Convert the IP Address to String Format. */
        inet_ntop(AF_INET6, &Address, strIPAddress, 40);

        /* Print the status of the address. */
        System_printf("Address: %s on device %d is %s\n", strIPAddress, dev_index,
                (Status == 1) ? "UNIQUE" : "DUPLICATE");

        System_flush();

        return;
    }

    Can you verify and check your installation where you got the examples?

    Best regards,
    Murat

  • Hi Peter,

    I don't have your full project, but you should be able to find the reference for the symbol tcpHandler figure out what it is and find a way to define and create it, there is no way for me to sort that with the information here. Search for this symbol in all your source files for starters, since you are referencing it the rest should follow,

    Murat