This project has moved and is read-only. For the latest updates, please go here.

Controlling polling interval

Jun 14, 2014 at 10:39 PM
The documentations says that you can use a TimeSpan object to control how often the brick is polled. However, I can't find support for this in the code. Did this change?
Thanks.
Jun 14, 2014 at 10:48 PM
No changes, should be available on the ConnectAsync method.
Jun 18, 2014 at 3:23 AM
Hmm - I don't see that in the source code. ConnectAsync() does not take any parameters in the ICommunication interface. Could you please provide a code sample to show it is done?
Thanks!
Jun 18, 2014 at 4:29 PM
It is off of the Brick object, not the communication objects. brick.ConnectAsync(TimeSpan.FromSeconds(10)); for example.
Jun 19, 2014 at 5:03 AM
Got it - thanks!