Giter VIP home page Giter VIP logo

fitbitfun's People

Contributors

cmwdotme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fitbitfun's Issues

Compile Error on XCode 7.1

Hi @cmwdotme
I downloaded the latest code a few days ago, then tried to compile this project.
But there are some compile errors on the latest project, and mainly they are related with BTPeripheral.m file.

ex: Property 'UUID' not found on object of type 'CBPeripheral *'

Would you like to help me what libraries/frameworks should be included?

Thanks.

fitbit CBCharacteristic value always be nil for heart rate getting. ?

<CBCharacteristic: 0x17d5dbf0, UUID = Manufacturer Name String, properties = 0x2, value = (null), notifying = NO> : get value properly
<CBCharacteristic: 0x17e69e10, UUID = ADABFB04-6E7D-4601-BDA2-BFFAA68956BA, properties = 0x12, value = (null), notifying = YES> get value nil
<CBCharacteristic: 0x17e69e10, UUID = ADABFB03-6E7D-4601-BDA2-BFFAA68956BA, properties = 0x12, value = (null), notifying = YES> get value nil
<CBCharacteristic: 0x17e69e10, UUID = ADABFB02-6E7D-4601-BDA2-BFFAA68956BA, properties = 0x12, value = (null), notifying = YES> get value nil
<CBCharacteristic: 0x17e69e10, UUID = ADABFB01-6E7D-4601-BDA2-BFFAA68956BA, properties = 0x12, value = (null), notifying = YES> get value nil
any time value is nil for these UUID's ADABFB01-6E7D-4601-BDA2-BFFAA68956BA,ADABFB02-6E7D-4601-BDA2-BFFAA68956BA,ADABFB03-6E7D-4601-BDA2-BFFAA68956BA,ADABFB04-6E7D-4601-BDA2-BFFAA68956BA.
please any buddy help me ?

HI, is this project still work? I run this project,and get the log follow.

Status of CoreBluetooth central manager changed 5 (State powered up and ready (CBCentralManagerStatePoweredOn))

2014-07-16 15:32:57.434 FitbitTestApp[5731:911041] Connecting to peripheral with UUID : CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5

2014-07-16 15:32:58.323 FitbitTestApp[5731:911041] Connection to peripheral with UUID : CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5 successfull

2014-07-16 15:33:07.890 FitbitTestApp[5731:911041] Connecting to peripheral with UUID : CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5

2014-07-16 15:33:10.012 FitbitTestApp[5731:911041] Connection to peripheral with UUID : CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5 successfull

2014-07-16 15:33:10.161 FitbitTestApp[5731:911041] Services of peripheral with UUID : CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5 found

2014-07-16 15:33:10.163 FitbitTestApp[5731:911041] Fetching characteristics for service with UUID : <adabfb00 6e7d4601 bda2bffa a68956ba>

2014-07-16 15:33:10.166 FitbitTestApp[5731:911041] Fetching characteristics for service with UUID : <558dfa00 4fa84105 9f024eaa 93e62980>

2014-07-16 15:33:10.167 FitbitTestApp[5731:911041] Fetching characteristics for service with UUID : <180a>

2014-07-16 15:33:10.168 FitbitTestApp[5731:911041] Fetching characteristics for service with UUID : <180f>

2014-07-16 15:33:16.282 FitbitTestApp[5731:911041] send 13 bytes [ADABFB02-6E7D-4601-BDA2-BFFAA68956BA]: C0 0A 01 00 08 00 10 00 00 00 C8 00 01 ........ .....
2014-07-16 15:33:16.283 FitbitTestApp[5731:911041] Updated notification state for characteristic with UUID <adabfb01 6e7d4601 bda2bffa a68956ba> on service with UUID <adabfb00 6e7d4601 bda2bffa a68956ba> on peripheral with UUID CBB1A4FB-10D7-60F4-FE6E-0F6059868EE5

2014-07-16 15:33:18.292 FitbitTestApp[5731:911041] recv[ffab] 1 bytes [ADABFB01-6E7D-4601-BDA2-BFFAA68956BA]: C0 .
2014-07-16 15:33:21.056 FitbitTestApp[5731:911041] recv[ffab] 1 bytes [ADABFB01-6E7D-4601-BDA2-BFFAA68956BA]: C0 .
2014-07-16 15:33:24.705 FitbitTestApp[5731:911041] recv[ffab] 12 bytes [ADABFB01-6E7D-4601-BDA2-BFFAA68956BA]: C0 14 0C 01 02 00 EA 55 E1 8C 5D FB .......U ....
2014-07-16 15:33:27.341 FitbitTestApp[5731:911041] AirlinkVersionMajor:1
2014-07-16 15:33:27.342 FitbitTestApp[5731:911041] AirlinkVersionMinor:2
2014-07-16 15:33:27.342 FitbitTestApp[5731:911041] DataServiceUUIDString: ADAB5622-6E7D-4601-BDA2-BFFAA68956BA
2014-07-16 15:33:27.343 FitbitTestApp[5731:911041] MACAddressString: EA55E18C5DFB
2014-07-16 15:33:35.217 FitbitTestApp[5731:911041] send 10 bytes [ADABFB02-6E7D-4601-BDA2-BFFAA68956BA]: C0 50 00 00 00 00 00 00 00 00 .P...... ..
2014-07-16 15:33:44.170 FitbitTestApp[5731:911041] recv[ffab] 14 bytes [ADABFB01-6E7D-4601-BDA2-BFFAA68956BA]: C0 51 51 97 44 29 2A D6 C4 3E 27 02 00 00 .QQ.D... ......
(lldb) po v5
5

2014-07-16 15:34:28.212 FitbitTestApp[5731:911041] send 10 bytes [ADABFB02-6E7D-4601-BDA2-BFFAA68956BA]: C0 52 00 00 00 D8 D9 DA DB DC .R...... ..
2014-07-16 15:34:33.588 FitbitTestApp[5731:911041] recv[ffab] 4 bytes [ADABFB01-6E7D-4601-BDA2-BFFAA68956BA]: C0 03 15 20 ....

(lldb) po v11
2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.