Open tung89hihi1123 opened 2 months ago
the command i use: let key: String = "KEY_ENTER" let jsonCommand: String = """ { "method": "ms.remote.control", "params": { "Cmd": "Click", "DataOfCmd": "(key)", "Option": "false", "TypeOfRemote": "SendRemoteKey" } } """ socket.write(string: jsonCommand) return result: Received text: {"data":{"message":"unrecognized method value : ms.remote.control"},"event":"ms.error"}
can you help me?
the command i use: let key: String = "KEY_ENTER" let jsonCommand: String = """ { "method": "ms.remote.control", "params": { "Cmd": "Click", "DataOfCmd": "(key)", "Option": "false", "TypeOfRemote": "SendRemoteKey" } } """ socket.write(string: jsonCommand) return result: Received text: {"data":{"message":"unrecognized method value : ms.remote.control"},"event":"ms.error"}
can you help me?