Sunday, March 31, 2013

Message Type

Since each board needs to deal with all kinds of messages, we need to distinguish them. Here is the definition of different message types we need by now:


Message Type:

  • Temperature
    • M0 = temperature readings from temperature module to server
    • M1 = temperature mode (auto or manual) from server to temperature module
      • 0: manual
      • 1: auto
    • M2 = manual control message from server to temperature module for motor
  • Security (camera & voice)
    • M3 = picture message from security module to server
    • M4 = voice message from security module to server
    • M5 = manual control message from server to security module to take a picture
    • M7 = manual control message for the control of LED
  • Dimmer
    • M6 = manual control message from server to dimmer module to control the brightness of the dimmer
  • Stand-by mode
    • M8 = use stand-by mode or not

No comments:

Post a Comment