Advertisement
Guest User

WeatherStation - Telnet example

a guest
Jul 3rd, 2013
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. =======================================
  2.  
  3. Welcome to WeatherStation server!
  4.  
  5. =======================================
  6. For list of available commands type 'help'
  7.  
  8.  
  9. # > help
  10.  
  11. ------ WStationT Help ------
  12. Supported commands:
  13.  
  14. help - print this help message
  15. about - information about this project
  16.  
  17. send - send information about weather and time to main module
  18. setup - change settings (like session timeout, password etc)
  19. status - information about current status
  20. su - changes mode of operation (regular access \ root access)
  21. weather - gets actual information about weather from Internet
  22.  
  23. exit - close connection and exit
  24. quit - same as exit
  25. -----------------------------
  26.  
  27. # > ab
  28. about: written by Sky-WaLkeR, especially for WeatherStation Project
  29. # > weather
  30. weather: You don't have permissions for this command. Use 'su'
  31. # > su
  32. Password for su:
  33. su: Access granted.
  34. $ > weather
  35. weather: Trying to connect to server... Done!
  36. weather: Sending headers... Done!
  37. weather: Reading response... Done!
  38. weather: Disconnected. Parsing data... Done!
  39.  
  40. 1) +12C, Sunny
  41. 2) +20C, Sunny
  42. 3) +29C, Sunny
  43. 4) +17C, Rainy
  44.  
  45. $ > time
  46. time: Trying to connect to server... Done!
  47. time: Sending headers... Done!
  48. time: Reading response... Done!
  49. time: Disconnected. Parsing data... Done!
  50.  
  51. 18:53:19 03.07.13 Wed
  52. $ > sta
  53. status:
  54. IP: 192.168.0.115
  55. Uptime: 1h 37m 59s
  56. Global status: 0
  57.  
  58. $ > su
  59.  
  60. su: Access cancelled.
  61. # > quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement