How to Connect to the Fitbit Zip Over Bluetooth 4.0 Le on Linux with Bluez

How can I connect to the FitBit Zip over Bluetooth 4.0 LE on Linux with bluez?

Have a look at the galileo project, we are able to connect to the tracker (and synchronise it) using the Fitbit dongle, which is also a BluetoothLE connector. The bytes used there should help you figure out the one you need ...

Full Disclosure: I am the maintainer of this project.

Using Bluetooth low energy in linux command line

SDP is absent in BLE. Broadcast/advertise frame and GATT client/server are used instead.

Several links:

  • BlueZ gatttool: command line tool to run common GATT procedures
  • BlueZ GATT's ready profiles
  • hint: DBUS
  • GATT and DBUS example
  • How can I connect to the FitBit Zip over Bluetooth 4.0 LE on Linux with bluez?
  • Bluetooth Low Energy: listening for notifications/indications in linux
  • http://comments.gmane.org/gmane.linux.bluez.kernel/29547

BlueZ: LE secure pairing using Elliptical Curve Diffie-Hellman from command line

In Linux, the secure connections feature using ECDH can be verified by performing pairing (using bluetoothctl) between two Bluetooth v4.2 devices and observing the output through btmon. Look for HCI Event: Link Key Notification and observe the Key type. If it shows P-256, then Secure Connections feature is verified. If it shows P-192, then it is using Secure Simple Pairing (SSP).

Additional background on this can be found in the Bluetooth Core Specification v4.2 in Vol 1, Part A, Section 5.1: Security Architecture.

I hope this helps.



Related Topics



Leave a reply



Submit