motion-bt-low-energy-example icon indicating copy to clipboard operation
motion-bt-low-energy-example copied to clipboard

Simple example of using Bluetooth LE with RubyMotion to connect to a Heart Rate monitor

Rubymotion Bluetooth Low Energy example

Just to play :-) Translated from another code. It searches for Heart Rate monitors and sees the values in real time.

Requiements

  • iOS 5 or later
  • hardware with Bluetooth 4.0 (simulator won't work)
  • RubyMotion

detail screen main screen

Credits to Google, Apple documentation.