You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Send/Expect
I am exploring send/expect in hopes I can use it through tasker to control my AVR (and possibly my smart tv). Using the Denon AVR (telnet) protocol commands I am able to send commands to it with PuTTy. The reason I want to use Send/Expect is so I can write tasks that check the state of the AVR and send the appropriate control command(s). For instance the power commands are either power on (PWON) or power standby (PWSTANDBY) so I would need two buttons on my smartphone remote. But if I could ask the power state first (PW?) in a task I could have a power toggle button in my remote. The commands all work in PuTTy perfectly. When I run the power state command (PW?) in PuTTy it immediately returns the power state. In the example below the AVR is ON response "PWON".
In send/expect the control commands work by I do not see the response to any state command that I send. I have tried adding a pause after send but nothing shows up in a toast or in the log. What am I doing wrong?
Thanks,
Bob
Bob
unread,
Apr 9, 2018, 5:46:54 PM4/9/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Send/Expect
Here is the log from tasker for the send power state request.