Hi all,
I noticed a new feature in the CSRMesh2.1 Android app which allows time based control of devices.
I have a CSR1010 development kit. I tried to install the light application to the development board. The android app can connect to the hardware successfully. I can control the colors and brightness. However, the timer control feature doesn't work. I am getting a error after the "Setting up actions" screen and the light didn't turn on or off at the preset time. Anyone manage to get this feature to work?
My other question is how does this actually work? Do I need an active connection from the phone to the development board? What if I close the app? Will the light still turn on/off at the preset time? Or is there a real time clock implementation on the CSR1010 which will know when to trigger the event at the specific time?
Cheers,
Kian
CSR1010 doesn't support action model because its limIted resoource. and this new feature is done using action model and time model, so you can just set, but it will not work as expected
Hi Loris,
So how can I use the time based control of devices then? Does it only work with the CSR102x ?
Regards,
Kian
You can modify the project code to achieve this goal. but i think it will be hard because the sample project doesn't left too much resource for us. if you add time based control feature, you need add two model, and it will be likely to report error of RAM exceed limit. But you can try, good luck!
Hi Loris,
I looked at the example sourcecodes provide for CSRMesh 2.1 light application. It seems like Action model and Time model is enabled. They are properly defined and enabled in config.h
I have no problems compling the project and don't seem to have the problem of not having enough resources or exceed RAM.
Anyone else started trying out the CSRMesh 2.1 examples? Did you manage to get Timer based control to work??
CSRmesh v2.1 sample project proivde two project for csr101x and csr102x .if you use csr101x hardware, you should use 101x project and in this project , action model and time model are not enabled.
Please be care the macro that
#ifndef CSR101x_A05
.....
......
#else
........
#endif