Advertisement
Guest User

WeatherStation - Telnet example

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