cmwdotme / fitbitfun Goto Github PK
View Code? Open in Web Editor NEWFitBit sample app for iOS
FitBit sample app for iOS
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.
<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 ?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.