01.12.2012 Views

Priority of Telnet server task

Priority of Telnet server task

Priority of Telnet server task

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A structure is used to specify text commands used for shell and<br />

functions that should be called when each command is recognized:<br />

const SHELL_COMMAND_STRUCT <strong>Telnet</strong>_commands[] = {<br />

{ "exit", Shell_exit },<br />

{ "fan", Shell_fan },<br />

{ "help", Shell_help },<br />

{ "hvac", Shell_hvac },<br />

{ "info", Shell_info },<br />

#if DEMOCFG_ENABLE_USB_FILESYSTEM<br />

{ "log", Shell_log },<br />

#endif<br />

#if DEMOCFG_ENABLE_RTCS<br />

#if RTCSCFG_ENABLE_ICMP<br />

{ "ping", Shell_ping },<br />

#endif<br />

#endif<br />

};<br />

{ "scale", Shell_scale },<br />

{ "temp", Shell_temp },<br />

{ "?", Shell_command_list },<br />

{ NULL, NULL }<br />

TM<br />

62<br />

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />

mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks <strong>of</strong> Freescale Semiconductor, Inc.,<br />

Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />

Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks <strong>of</strong> Freescale Semiconductor, Inc. All<br />

other product or service names are the property <strong>of</strong> their respective owners. © 2012 Freescale Semiconductor, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!