actuino / light-pack

Automatically exported from code.google.com/p/light-pack
GNU General Public License v3.0
0 stars 0 forks source link

Android App - Only 10 LED's flashing #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Prismatik with Adalight and running Server (API via Sockets)
2. Number of LED's in Prismatik is set to 25
3. Start Android App (changed this line --> for(int i = 1; i <= 25; i++) so 25 
LED's will be controlled
4. Connect with Server and change color...

What is the expected output? What do you see instead?
I expect, that all 25 LED's change color, but only the first 10 LED's does!

My bugfix is to open Prismatik, change number of LED's to 26, and then change 
them back to 25... Then all LED's work with the App...

I don't know if this is a Prismatik or a API issue...

What version of the product are you using? On what operating system?
Homemade Adalight System
Windows 8
Samsung Galaxy S3

Please provide any additional information below.

Original issue reported on code.google.com by schibli....@gmail.com on 1 Sep 2013 at 10:42

GoogleCodeExporter commented 9 years ago
I believe this issue is about API engine, specifically ApiServerSetColorTask 
class.
The reason is setApiDeviceNumberOfLeds() method may not be called at Prismatik 
startup, so ApiServerSetColorTask::startParseSetColorTask() refuses any LED id 
> 10.

See attached image (50 LEDs are configured)

Original comment by chainik...@gmail.com on 8 Feb 2014 at 11:09

Attachments:

GoogleCodeExporter commented 9 years ago
Is it still an issue? Sorry for delay :(

Original comment by tim.hell...@gmail.com on 10 Feb 2014 at 8:02

GoogleCodeExporter commented 9 years ago
I'm also having the same issue. No problem setting the colors 1-10 but as soon 
as I try setting 11 I receive an error responce.

Original comment by daniel.r...@gmail.com on 12 Feb 2014 at 3:18

GoogleCodeExporter commented 9 years ago
Same here, API only works up to 10th LED (with Adalight)

Original comment by saul.phi...@gmail.com on 14 Mar 2014 at 7:51

GoogleCodeExporter commented 9 years ago
I still have the same issue! Even with the Prismatik Controller App -.-
Any chance to fix this myself? and Tim, what Info do you need? I think it's 
pretty clear...

Original comment by schibli....@gmail.com on 21 Mar 2014 at 12:03

GoogleCodeExporter commented 9 years ago
same issue here on macos 10.9.2

Original comment by luzernlu...@gmail.com on 22 Mar 2014 at 8:33

GoogleCodeExporter commented 9 years ago
Any progress?

Original comment by chainik...@gmail.com on 27 May 2014 at 2:05

GoogleCodeExporter commented 9 years ago
Was fixed in 5.11.0 (rev. 
https://code.google.com/p/light-pack/source/detail?r=2584eb06afa6f447020ba2cd687
15fd39aa8b968)

Original comment by chainik...@gmail.com on 28 May 2014 at 10:00