Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error sending control signal to TV #1038

Open
tung89hihi1123 opened this issue Sep 9, 2024 · 0 comments
Open

Error sending control signal to TV #1038

tung89hihi1123 opened this issue Sep 9, 2024 · 0 comments
Labels

Comments

@tung89hihi1123
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant