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
How to Limit File Size on Commit
How to Use Both 64 Bit and 32 Bit Instructions in the Same Executable in 64 Bit Linux
Sed Help: Matching and Replacing a Literal "\N" (Not the Newline)
Why Is Pr_Debug of the Linux Kernel Not Giving Any Output
Where Does Output of Print in Kernel Go
How to Do Runtime Binding Based on CPU Capabilities on Linux
Is There Any Shortcut to Reference the Path of the First Argument in a Mv Command
How to Get Docker Container Id from Within the Container with Cgroup V2
Difference Between Number in the Same Column Using Awk
See Socket Options on Existing Sockets Created by Other Apps
Increase of Virtual Memory Without Increse of Vmsize
Component Based Web Project Directory Layout with Git and Symlinks
D-Bus Tutorial in C to Communicate with Wpa_Supplicant
Pseudo-Random Stack Pointer Under Linux