Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to get fitbit Bluetooth data in ios?

i am using Bluetooth CBUUID from

https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx.

but with in only receive device information .

#define POLARH7_HRM_DEVICE_INFO_SERVICE_UUID @"180A"       // 180A = Device Information

#define POLARH7_HRM_HEART_RATE_SERVICE_UUID @"180D"      // 180D = Heart Rate Service

i have to received:

2015-11-19 10:39:22.847 HeartRate_Example[314:30520] peripheral.name : Surge, advertisementData: {

    kCBAdvDataIsConnectable = 1;

    kCBAdvDataServiceData =     {

        "Device Information" = <1004e420 03>;

    };

    kCBAdvDataServiceUUIDs =     (

        "ADABFB00-6E7D-4601-BDA2-BFFAA68956BA"

    );

}

2015-11-19 10:39:24.755 HeartRate_Example[314:30520] service: <CBService: 0x145e34a0, isPrimary = YES, UUID = ADABFB00-6E7D-4601-BDA2-BFFAA68956BA>

2015-11-19 10:39:24.813 HeartRate_Example[314:30520] service: <CBService: 0x19268870, isPrimary = YES, UUID = 558DFA00-4FA8-4105-9F02-4EAA93E62980>

2015-11-19 10:39:24.901 HeartRate_Example[314:30520] service: <CBService: 0x14500100, isPrimary = YES, UUID = Battery>

2015-11-19 10:39:24.963 HeartRate_Example[314:30520] service: <CBService: 0x19295260, isPrimary = YES, UUID = Device Information>

 

Best Answer
0 Votes
7 REPLIES 7

i am using Bluetooth CBUUID from

https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx.

but with in only receive device information .

#define POLARH7_HRM_DEVICE_INFO_SERVICE_UUID @"180A"       // 180A = Device Information

#define POLARH7_HRM_HEART_RATE_SERVICE_UUID @"180D"      // 180D = Heart Rate Service

i have to received:

2015-11-19 10:39:22.847 HeartRate_Example[314:30520] peripheral.name : Surge, advertisementData&colon; {

    kCBAdvDataIsConnectable = 1;

    kCBAdvDataServiceData =     {

        "Device Information" = <1004e420 03>;

    };

    kCBAdvDataServiceUUIDs =     (

        "ADABFB00-6E7D-4601-BDA2-BFFAA68956BA"

    );

}

2015-11-19 10:39:24.755 HeartRate_Example[314:30520] service: <CBService: 0x145e34a0, isPrimary = YES, UUID = ADABFB00-6E7D-4601-BDA2-BFFAA68956BA>

2015-11-19 10:39:24.813 HeartRate_Example[314:30520] service: <CBService: 0x19268870, isPrimary = YES, UUID = 558DFA00-4FA8-4105-9F02-4EAA93E62980>

2015-11-19 10:39:24.901 HeartRate_Example[314:30520] service: <CBService: 0x14500100, isPrimary = YES, UUID = Battery>

2015-11-19 10:39:24.963 HeartRate_Example[314:30520] service: <CBService: 0x19295260, isPrimary = YES, UUID = Device Information>

 

Best Answer
0 Votes

I don't think there are many here that are programmers, but of our helps there is a python program that I use to Sync through Linux. It's called Galileo. It is able to store the data transmitted into a file. But I don't know of anyone who has successfully been able to interrupted the numbers yet. Since it is encrypted.

 

Note since it is encrypted I'm not sure what good or is going to do you.

 

You might be meter of going through Fitbits open API

Best Answer

@Rich_Laue Tell me your about DataServiceUUIDs  . also Characteristic UUIDs.

Best Answer
0 Votes
Since i haven't done much programming I did a search and used github and basically copy and pasted
https://github.com/loghound/Fitbit-for-Google-App-Script
Best Answer
0 Votes

Dear,  My Api work to file but problem get to fitbit hardware device bluetooth peripheral data of heart reate is nil. battery and device information is get properly.

Best Answer
0 Votes

I've moved your post to the API development section, since this is where the programmers hang out. 

Best Answer
0 Votes

Fitbit does not provide an bluetooth based API for communicating with our devices. The only way to get data from a Fitbit device is via the Web API <https://dev.fitbit.com/docs>.

Best Answer
0 Votes