Network type switch (root)

by Anonimus Legionus

Version 4 (July 10, 2016)

Download (129 downloads)

Switching Wi-Fi/mobile network depending on location.

Ok, this is complicated to configure, so read below carefully.
1) in block #20 create array of dictionaries: [{"key":val, "key":val}, {…}]
Each dictionary needs exact 4 keys:
a) loc - name of label to go, if location matches; "text".
b) lat - latitude of desired location; number with fraction.
c) lon - longitude of desired location; number with fraction.
You can get lat and lon from "location at?" block.
d) rad - radius of point of interest; number.

2) for each "loc" key create labels (names mast match values of "loc" keys) and default label, named "travel".
Do You jobs here and end thread (it is forked).

2a) increase/decrease delay at #14 by Your will.

2b) if multisim phone, set controllable sim id in block #74

3) include all new labels in "labels" section of block #31

4) ???????


PS: Labels only for "case" operator implementation, please don't complain (: