manager_format.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Request Format:
  2. Length [2]
  3. Command [1]
  4. Command content [n]
  5. Reply Format:
  6. Length [2]
  7. Reply content [n]
  8. Command List:
  9. 0x00 Query manager status
  10. 0x01 Query obj status
  11. 0x02 Query global obj value
  12. 0x0A Query obj index
  13. 0x0B Query global obj index
  14. 0x10 Init obj
  15. 0x11 Start obj
  16. 0x12 Stop obj
  17. 0x13 Reset obj
  18. Command Content List:
  19. 0x00
  20. None [0]
  21. 0x01
  22. Query number [2]
  23. Obj index list [2 * n]
  24. 0x02
  25. Query number [2]
  26. Global obj index list [2 * n]
  27. 0x0A
  28. Obj name length [2]
  29. Obj name str [n]
  30. 0x0B
  31. Global obj name length [2]
  32. Global obj name str [n]
  33. 0x10 - 0x13
  34. Obj index [2]
  35. Reply Content List:
  36. 0x00
  37. Manager status [1] 0x00 Initial, 0x01 Normal, 0x02 Busy
  38. 0x01
  39. Obj status list [1 * n] 0x00 Inital, 0x01 Initializing, 0x02 Resetting,
  40. 0x03 Pending, 0x04 Starting, 0x05 Stopping, 0x06 Running
  41. 0xFF
  42. 0x02
  43. Repeat of the follow [*n]
  44. Global obj type [2]
  45. Value length [1]
  46. Value content [n]
  47. 0x0A
  48. Obj index [2] (-1 means not found)
  49. 0x0B
  50. Global obj index [2] (-1 means not found)
  51. 0x10 - 0x13
  52. Finished [1] (Always 0xFF)