Bluetooth low energy with gatttool and jawbone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was trying to connect my Jawbone UP 24 with my pc to get some data from
this device.
This is how much I have done:

$ sudo hcitool  lescan
LE Scan ...
DC:7A:F8:10:AF:A5 (unknown)
DC:7A:F8:10:AF:A5 UP24
DC:7A:F8:10:AF:A5 (unknown)
DC:7A:F8:10:AF:A5 (unknown)

$ sudo hcitool lecc --random DC:7A:F8:10:AF:A5
Connection handle 70

 sudo gatttool -b DC:7A:F8:10:AF:A5 -I
[   ][DC:7A:F8:10:AF:A5][LE]> connect
[CON][DC:7A:F8:10:AF:A5][LE]>


After this I tried to type "primary" but I just get a timeout.
The device should vibrate to accept the pairing, there is in someway to set
a PIN when pairing?

Also I tried with my android, the procedure is the same:
- Scan for devices
- Find Jawbone
- Vibrate the device
- Press a button on the device
- The pairing is done


I suppose there is a special command to send, in the meantime I will try to
make a small app with Android to pair the device.
Anyway I would like to know how to use gatt to pair with my pc and I am
sure I am missing some steps :S

Thanks

-- 
---------------------------
Web/Mobile Developer
Luiis Group
christian@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux