Post your questions and help other users.
Moderator: Martin
-
Shadowseb
- Posts: 2
- Joined: 09 Jun 2013 12:38
Post
by Shadowseb » 09 Jun 2013 12:55
Edit:
Device: asus tf300t
Android version: 4.0.1
Hi all!
I use automagic for maintaint my internet connection with my iphone via bluetooth because its very unstable. I use 2 flows:
Code: Select all
When bluetooth is on or pwering on -> connect to bluetooth device (my iphone)
and
Code: Select all
When bluetooth device disconnected (my iphone) -> check bluetooth is enabled -> true -> connect to bluetooth device (my iphone)
But sometimes, the second flow doesn't successufuly connect to my iphone. So I used a third flow with a periodic timer set to 1m:
Code: Select all
Periodic timer: every 1m -> (condition) bluetooth Enable -> True -> connect to bluetooth device (my iphone)
Its not the best, i know. The best, its modifing my second flow to do a thing like that:
Code: Select all
When bluetooth device disconnected (my iphone) -> check bluetooth is enabled -> true -> connect to bluetooth device (my iphone)
-> 30 seconds countdown -> connect to bluetooth device (my iphone)
Its possible?
Thanks!
Sebastien
-
Shadowseb
- Posts: 2
- Joined: 09 Jun 2013 12:38
Post
by Shadowseb » 11 Jun 2013 01:30
Its fine, I found a way to do the same thing.
Original flow 2:
Code: Select all
When bluetooth device disconnected (my iphone) -> check bluetooth is enabled -> true -> connect to bluetooth device (my iphone)
Original flow 3:
Code: Select all
Periodic timer: every 1m -> (condition) bluetooth Enable -> True -> connect to bluetooth device (my iphone)
Modified flow 2:
Code: Select all
When bluetooth device disconnected (my iphone) -> check bluetooth is enabled -> true -> connect to bluetooth device (my iphone)
-> true -> Set flow state enable "Flow 3"
Modified flow 3:
Code: Select all
Periodic timer: every 10s -> (condition) bluetooth Enable -> True -> connect to bluetooth device (my iphone) -> Set flow state disable "Flow 3"
False -> Set flow state disable "Flow 3"