From 589039b6e823e4fdd63a6e939f896c9666c17c90 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Tue, 25 Jun 2013 23:55:58 -0400 Subject: [PATCH] Added info about how to get current activity --- PROTOCOL.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/PROTOCOL.md b/PROTOCOL.md index 81dddcc..7457858 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -115,3 +115,20 @@ You can send an IQ query with an `` tag to ask for `?config`: The response contains a CDATA body that has a JSON string containing the list of devices and their available commands. + + +### Retrieving the current activity + +You can send an IQ query with an `` tag to ask for `?getCurrentActivity`: + + + + + + +The response contains a CDATA body that has a string containing `RESULT=X` +where X is the activity ID identified in the response from config above. + + +### Additional commands + * `?setDisplayDeviceOn` - Unknown action.