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.

AMIC110: ndk_3_40_01_01 component

Part Number: AMIC110

Hello,

-          Can you confirm that TI NDK has SSH Server? Ichecked and found no evidence of it and without SSH Server SFTP will not work?

-          Does TI NDK don’t have the following components?

  • BOOTP
  • FTP
  • TFTP
  • HTTPS Server

Regards,

Vrund

  • 1. SSH server is not built in TI NDK, you may try to port that on top of NDK.

    2. DHCP as an extension of BOOTP is supported in TI NDK.

    FTP server, please refer to packages\ti\transport\ndk\nimu\example\ftpApp\ftpserver

    TFTP and HTTP server are supported, see ndk_3_40_01_01\packages\ti\ndk\nettools. For HTTPS software implementation on top of NDK, please refer to the guidance  

    Regards,

    Garrett

  • hello,

    I am not able to find

    FTP server, please refer to packages\ti\transport\ndk\nimu\example\ftpApp\ftpserver

    what will be the RFC standard for ftpserver?

    what is the RFC standard for TFTP ? (it is mnetioned as RFC783)

    i need for TFTP for RFC 1350 .

    what is sntp RFC standard? Is it SNTPv4 RFC 4330?

    Regards,

    Vrund

  • FTP server is located in the PDK from Processor SDK 

    The example ftp implementation complies with RFC 959 but may have limited functions of the standard.

    The NDK API reference guide mentions RFC 783 but the tftp should work with RFC 1350 based server as well. Do you have any specific operation requirement that is listed in RFC 1350 but not in the tftp application from NDK?

    Yes, it's SNTP v4 RFC 4330.

    Regards,

    Garrett

  • Hello,

    The example ftp implementation complies with RFC 959 but may have limited functions of the standard.

    -- I am naïve in this field,  Limited function: can you specify what are those function limited functions ?

    what more are there as per RFC 959 ? 

    The NDK API reference guide mentions RFC 783 but the tftp should work with RFC 1350 based server as well. Do you have any specific operation requirement that is listed in RFC 1350 but not in the tftp application from NDK?

    -- i don't know the difference between RFC 783 and RFC 1350. if you can elaborate what more functionalities are required by tftp may be i can go throgh standard and come back to you with clear requirement for tftp.

    Regards,

    Vrund 

  • The commands supported in the ftp example are listed in the ftp_commands.c as below, whereas the complete commands list in RFC 959 is here - 

    ftp_cmd_handler_t cmd_handler[] =
    {
    {"OPTS", 4, func_opts },
    {"USER", 4, func_user },
    {"PASS", 4, func_pass },
    {"STOR", 4, func_stor },
    {"DELE", 4, func_dele },
    {"XRMD", 4, func_xrmd },
    {"CWD", 3, func_cwd },
    {"XPWD", 4, func_xpwd },
    {"RETR", 4, func_retr },
    {"LIST", 4, func_list },
    {"PORT", 4, func_port },
    {"NLST", 4, func_nlst },
    {"LIST", 4, func_nlst },
    {"QUIT", 4, func_quit },
    {NULL, 0, NULL }
    };

    The tftp function in the NDK is described in the API user guide - section 5.3, and  

    is sufficient to retrieve data from a server.

    "This function attempts to receive the file with the filename designated by szFileName from the TFTP server with the IP address in TftpIp, and copy the data into the memory buffer pointed to by pFileBuffer. ...This function attempts to receive the entire file, even if the buffer space is insufficient. The return value indicates if the file was received"

    Regards,

    Garrett

  • Hello,

    1)  I have gone through the list of commands as per RFC 959.

    what RFC standard current FTP implementation is supported?

    2) For TFTP RFC 1350 resolves the bug(known as Sorcerer's Apprentice Syndrome. ) present in RFC 783.

    Regards,

    Vrund

  • 1) The current implementation of FTP example complies with RFC 959.

    2) yes, it's noted in the RFC 1350 - 

    Regards,

    Garrett