Re: Easiest Way to Send an ASCII String Through a TCP socket

2,271 views
Skip to first unread message

Pent

unread,
Sep 22, 2012, 2:28:23 AM9/22/12
to Tasker
Built-in no, plugins no idea.


Pent

Mitchell Greenfield

unread,
Oct 16, 2013, 1:17:28 PM10/16/13
to tas...@googlegroups.com
Did you ever figure this out?

On Friday, September 21, 2012 10:16:42 PM UTC-4, Al Bogdan wrote:
I'd like to automate sending commands to an iTach IP2IR device using Tasker. You communicate with the device by opening a TCP socket using the device's IP address over port 9998. You then pass it a short ASCII command string that must end with a CR. A result will be sent back, but I should be able to just ignore it.

Before I start coding external scripts, can Tasker do this with any built-in actions or plug-ins?


Gerald

unread,
Jan 5, 2014, 5:37:34 PM1/5/14
to tas...@googlegroups.com
It looks like you can do this with Android's mbhRemote app (it has a tasker plugin). I haven't tried it yet because I don't have an iTach yet.

CazMaz

unread,
Jan 5, 2014, 6:28:28 PM1/5/14
to tas...@googlegroups.com
I imagine in theory it would look like this:

You might not need the http, but 'http://192.168.12.105:9998?cmd=abccommand'
I know this is an old post, but someone may be looking.

CazMaz

Pent

unread,
Jan 6, 2014, 2:04:16 AM1/6/14
to tas...@googlegroups.com

LK

unread,
Jan 4, 2015, 7:24:36 AM1/4/15
to tas...@googlegroups.com
What i did is to install busybox and then execute following shell script .

echo "ASCIISTRING"$'\r' | nc 192.168.1.3:23




David Stone

unread,
Jan 5, 2015, 11:21:39 AM1/5/15
to tas...@googlegroups.com
The Send/Expect plugin handles this case.
Reply all
Reply to author
Forward
0 new messages