Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then call VZPlugin.ConnenctBike(ref BikeState) to try connecting to a VirZOOM bike. BikeState.Type will indicate if there is no bike (< 0) or some version of VirZOOM bike (>= 0).VZ bike (= 1) or VZ sensor (= 2)

If BikeState.Type > 0, then a VirZOOM wireless dongle has been detected, but BikeState.Connected will only be true when a VirZOOM bike has been turned on and connects to the dongle.

...