Page 4 of 4

Re: Android Server TCP/IP

Posted: September 7th, 2011, 4:40 pm
by Spirit
I also have a laptop with touchscreen, and i can rotate the screen so i have a Tablet.

but i have been thinking about RDP (Remote desktop).

Re: Android Server TCP/IP

Posted: September 7th, 2011, 5:18 pm
by vinnygogo
ok, could be an option. but how does that work on your network using only 2 laptops and a router without internet connection?

Re: Android Server TCP/IP

Posted: September 7th, 2011, 5:25 pm
by Spirit
Yes thats a Realy good Quastion only i don't have the anwser.
Still need to figure that out my self. :)

Like i sad i have been Thinking about that only i don't need it at the moment, so no use to figure that out.

Re: Android Server TCP/IP

Posted: September 8th, 2011, 9:37 pm
by vinnygogo
nobody else with a different solution?

Re: Android Server TCP/IP

Posted: September 8th, 2011, 11:37 pm
by Mattotone
Remote desktop or real vnc may be your friend in this instance. No internet connection required just your 2 pc and for simplcity a wireless router.

Re: Android Server TCP/IP

Posted: September 9th, 2011, 6:25 am
by vinnygogo
ok, ill try out a little with that in the weekend. thanks in advance!

Re: Android Server TCP/IP

Posted: September 14th, 2011, 8:38 am
by vinnygogo
found a great solution between the 2 windows pc's. using real vnc. works like a charm!

Re: Android Server TCP/IP

Posted: November 12th, 2011, 1:10 pm
by CutDMX12
Hi all,

This might be a silly question... Is there a way to send a commend to the TCP/IP server to select X fixture???

Because I tried:
select 1
select1
select 1 PAR64 L-1
locate 1
locate1
etc...
And nothing works except the selectAll...

Thanks
C12,

Re: Android Server TCP/IP

Posted: November 12th, 2011, 6:55 pm
by Mattotone
i don't beleave fs has an option for this and therefore the server doest support it.

one bug and one request

Posted: December 30th, 2011, 7:49 am
by poland fun
i am working on an android app (first one ever) for controlling individual channel values and playing and controlling speed of sequences, unfortunately i have ran into one problem; as the server accept packets i think it leaks the memory somewhere because when it gets to several thousand, it stops accepting packets and stops responding when you try to close it.

i have done this using a simple php script on my webserver like so:

Code: Select all

<?php

$IP  = '127.0.0.1';
$PORT    = '3000';

$socket = pfsockopen($IP,$PORT);

while(1!=0)
{
fputs($socket,'Ch 1 @ DMX 100');
usleep(20000);
}

?>
to get to the crash number you might have to refresh this script a few times because of the 30 second page timeout. I understand this bug is a bit out of reach for normal use, but heavy use like a show might just stop working

thats the bug, and now the feature request. Is it possible to include a way to send a string of commands in one tcp packet and just have the server process it as it gets to it? something like this "Ch 1|2|3 @ DMX 100|200|300" and this packet would be split upon reception and put into a buffer and channel 1 would be set to 100, ch 2 to 200, and 3 to 300; maybe include the command in a separate identifier like [*....*] so it can have a separate execution path to split it into buffer

this would greatly serve to cut down on the number of packets needed to be sent. it would also cut down on the data transfer needed if you wanted to update all 512 channels at once, instead of having a separate commands for each channel

Re: Android Server TCP/IP

Posted: December 30th, 2011, 9:03 am
by Mattotone
unfortunately the server has been discontinued and has been replaced with the one built into freestyler its self.

nice idea for the multiple value update.
The leak had been detected and i think it was fixed for the next release that never came due to the new server implementation.

Kind regards
Matt

Re: Android Server TCP/IP

Posted: December 30th, 2011, 2:42 pm
by poland fun
ah thank you for the quick reply.

time to learn the internal server mechanics now :)