arsa
New Member
Posts: 3
|
Post by arsa on May 20, 2015 20:30:24 GMT
The client software does have the option to flash on this older device, however the 3.0 api docs say it's not available (and it in fact doesn't work). How is it implemented in the client software, manually?
|
|
nitin
New Member
Posts: 14
|
Post by nitin on May 28, 2015 23:19:35 GMT
are you saying you are unable to make the v1.0 device flashing using the SDK?
Selecting a Color and Flash speed for the Manual activity in the Client software will achieve this.
|
|
arsa
New Member
Posts: 3
|
Post by arsa on May 29, 2015 17:25:41 GMT
I am talking about SDK, the documentation says that flashing is only available on newer devices, and in fact calling flashing-related methods doesn't do anything
|
|
|
Post by Senthil on Jun 1, 2015 1:59:10 GMT
I am talking about SDK, the documentation says that flashing is only available on newer devices, and in fact calling flashing-related methods doesn't do anything Hi, The Blynclight devices version 30 and 30S have the flashing API implemented in the device firmware itself, Thats why there are direct API methods available for flashing related functions. For the older version devices say v1.0 and 1.2, for flashing the light, there are no direct API methods available. To make the light flashing on these devices, on your client application you need to turn on and turn off the selected light in a thread with a timeinterval between the turnon light and turnoff light command. Say for example, if you want to flash the red light on v1.0 and v2.0 devices, in a thread, continuously do these functions, call the API method TurnOnRedLight(), then wait for the timeinterval, call the API method ResetLight(), wait for the timeinterval. If you do these functions in a loop then you will see your light flashing.
|
|