Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 742 Bytes

methods.md

File metadata and controls

46 lines (31 loc) · 742 Bytes

Introduction


Use XMSG to control mscreen

Function: xmsg.send()
Paramters:
target: "[email protected]:6788"
body: {"in":{"fm":"(from DDN)","to":"(to DDN)"},"data":"(mscreen command)"}

Use XRPC to control mscreen

Function: xrpc.call()
Parameters:
to: "[email protected]:6788"
func: "cmd"
body: {"target":"(device name)","data":"(mscreen command)"}

Command Format

  1. CLI: Command line command, type is string
  2. JSON: {"cmd":"drop",…}

Command Brief

  1. Drop
  2. Notify
  3. Toast
  4. Marquee
  5. Text
  6. App
  7. Frame
  8. Touch
  9. Status
  10. Mote
  11. Emoji