Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS+ Products FreeRTOS Labs Integration Services Contact / Enquiries

Network Related Command Console Commands
Using FreeRTOS+UDP from the FreeRTOS+CLI command line interface


The pre-configured FreeRTOS+UDP demo projects that can be downloaded from this website include a command console implemented with FreeRTOS+CLI. The interface through which the CLI is access is documented on the platform specific documentation pages.

The file CLI-commands.c (located in FreeRTOS-Plus/Demo_Files/FreeRTOS_Plus_UDP_Demos/CLICommands) contains (among other RTOS related commands) the following Ethernet related commands:

  1. ping

    Ping sends an ICMP echo (ping) request and waits for the reply. It demonstrates the use of the FreeRTOS_SendPingRequest() and FreeRTOS_gethostbyname() API functions.

    Examples of valid command inputs include: ping
    ping 50
    [sends 50 bytes in the ping message]
    ping 100

  2. ip-config

    ip-config uses the FreeRTOS_GetAddressConfiguration() API function to display the IP address, gateway address, DNS server address and netmask obtained from a DHCP server.

  3. ip-debug-stats

    ip-debug-stats formats the statistics gathered by the example IP stack trace macros for display on the command console output

Video Demonstration

[ Back to the top ]    [ About FreeRTOS ]    [ FreeRTOS+ Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.