際際滷

際際滷Share a Scribd company logo
Starting momentarily...
Bluetooth 4.0 Low
   Energy Device Scanner

An iOS Core BluetoothBluetooth Low Energy is
                     also available on Samsung
Application          Galaxy S III and the
                           Windows Surface Tablet.
  Discover, connect, and use
  Bluetooth 4.0 devices


    Boise Code Camp
          2013                                King Harald Bluetooth
    Presenter: Chip Keyes                   King Nordic Gormsson
                                                 Harald Region
                                                   Gormsson
     chipk215@msn.com
BluetoothtechnologyEnergy
 Newer Bluetooth
                 Low distinct from
 classic Bluetooth
  Designed for low cost, low power
  consumption, and extremely high
  deployment volumes
      Internet of Things, Personal Area
      Networks
    Devices typically powered by button cell
    batteries
    Low data rate    (<0.3Mbps) [Contrast with 54Mbps v3.0]

    Operating ranges are close proximity
    typically less than 40 meters (dependent
BLE 4.0 Demo Devices

          TI CC2540 Key Fob




         60beat Bluetooth Heart Rate
                   Monitor



?
?      New device type!
Bluetooth Architecture
Today                 Applications
                      Applications                                     Apps
  !
                                                            Software Abstraction

                 Generic Access Protocol
                 Generic Access Protocol                               Host
                 Generic Attribute Protocol
                 Generic Attribute Protocol
                                                    Multiplexing Layers
        Attribute Protocol
        Attribute Protocol               Security
                                         Security             &
                                                          Security
        Logical Link Control & Adaptation Protocol
         Logical Link Control & Adaptation Protocol           &
                                                         Protocols

                  Host Controller Interface
                  Host Controller Interface

          Link Layer (advertising, scanning, connections)
          Link Layer (advertising, scanning, connections)        Controller
        Physical Layer (Radio)
        Physical Layer (Radio)            Direct Test
                                          Direct Test
Bluetooth 4.0 Usage
Model
Functionality User                  Functionality Provider
                        Advertise

                        Discover

                         Interact



       User                               Device
      Client                              Server
                  Manifested in code
      Central                             Peripheral
      Master                               Slave
   Sophisticated UI                  Little or No UI*
Servers Deliver Functionality via Services

                                               Peripheral
                                                 UUID - Universally Unique
                                                         Identifiers
                                              (16 or 128 bits) identify Services
                                     1 to N          and Characteristics
    Device Information           N
         Service
  Heart Rate Service        Services              Registered Services

                                     1 to N      Registered Characteristics

        Heart Rate              N
     Measurement           Characteristic
  Model Number String           s

                                     1 to N     *Profiles are services
                                                working together according
                                N               to a specification.
    Extended Properties,     Descripto
     Configuration, etc.        rs
iOS Core Bluetooth Framework

Principal Classes
 CBCentralManager & delegate (Client support)

 CBPeripheral & delegate (represents device)

 CBService (a service on the device)

 CBCharacteristic (a characteristic supporting a service)

Characteristics can be of type read, write, or
notification/indication
Notifications are events which clients can
subscribe to which result in pushed updates
from the server
Last Prep 際際滷!
 Objective-C
  syntax for demo code
     [receiver message]
     receiver is the object
     message is the method invoked on the object
     C#/Java analagous expression: object.method
  Objective-C also uses dot notation convention when accessing
  properties of an object
     properties = C#/Java fields
  Objective-C Interfaces analagous to C#/Java Classes
     Objective-C Protocols analgous to C#/Java Interfaces
  Lastly Objective-C self equivalent to C#/Java this
iOS Devices Can Be Peripherals in
 iOS 6.0!
Functionality User               Functionality Provider
                     Advertise

                     Discover

                     Interact




iPhone/iPad on both sides of the connection
       Demo - TI Key Fob Simulator
   Demo - Heart Rate Monitor Simulator
Bluetooth Low Energy PicoNets


             C
             C                       C
                                     C




      P
      P      P
             P       P
                     P                   P
                                         P




C = Central/Master Not Currently Permitted
P = Peripheral/Slave
Resources
Code Camp Demo Code
  https://github.com/chipk215/ble_scanner

  https://github.com/chipk215/keyfobsim

Bluetooth Low Energy Web Site
  http://www.bluetooth.com/Pages/low-energy.aspx

  Bluetooth Low Energy Specification:

    https://www.bluetooth.org/Technical/Specifications/adopted.htm
       (Core Version 4.0)

StackOverflow core-bluetooth, bluetooth-lowenergy tags
  http://stackoverflow.com
Resources
TechBasic - A BASIC environment for iOS
available in the app store which provides an
Bluetooth Low Energy API. Educational friendly
projects.
   http://www.byteworks.us/Byte_Works/techB
   ASIC.html
   Lots of well documented sample code. No
   Apple Development license or Xcode
   environment required. Download program
   files to the device using iTunes.
Resources

iTunes University - Stanford CS193p
   Coding Together: Developing Apps for
   iPhone and iPad (Winter 2013 Latest
   Offering)
   This course significantly accelerated my iOS
   indoctrination. It is fun, there are guest
   lecturers, and the assignments are always
   interesting!
Local Resources

Boise Cocoa Heads
  contact Ron Adams ( ronladams7@gmail.com
http://cocoaheads.org/us/BoiseIdaho/index.html

googleGroup: http://bit.ly/cocoaHeadsBoise

meetingLocation: http://goo.gl/maps/80eiQ

http://twitter.com/cocoaheadsboise

http://cocoaheads.tv

More Related Content

What's hot (20)

Hospitality Solution Fibexp Mauritius
Hospitality Solution Fibexp MauritiusHospitality Solution Fibexp Mauritius
Hospitality Solution Fibexp Mauritius
Arun Kumar Singh
Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP
Kaushal Bhavsar
Voip Ppt
Voip PptVoip Ppt
Voip Ppt
guest61a8d3
Sip & its application
Sip & its applicationSip & its application
Sip & its application
Poulami Pal
VoIP
VoIPVoIP
VoIP
ankitakankani
Rumana Akther Id#072842056
Rumana Akther Id#072842056Rumana Akther Id#072842056
Rumana Akther Id#072842056
mashiur
Ubuntu Desktop Telephony Stack
Ubuntu Desktop Telephony StackUbuntu Desktop Telephony Stack
Ubuntu Desktop Telephony Stack
David Sugar
Voice over internet protocol final
Voice over internet protocol finalVoice over internet protocol final
Voice over internet protocol final
Yrasumalli Reddy
"tvCompass," Ed Zylka
"tvCompass," Ed Zylka"tvCompass," Ed Zylka
"tvCompass," Ed Zylka
rayvillares
Introduction to VoIP
Introduction to VoIPIntroduction to VoIP
Introduction to VoIP
Er Aadarsh Srivastava
[Dec./2017] My Personal/Professional Journey after Graduate Univ.
[Dec./2017] My Personal/Professional Journey after Graduate Univ.[Dec./2017] My Personal/Professional Journey after Graduate Univ.
[Dec./2017] My Personal/Professional Journey after Graduate Univ.
Hayoung Yoon
VOIP security
VOIP securityVOIP security
VOIP security
Rohit Gurjar
Chapter#12
Chapter#12Chapter#12
Chapter#12
Syed Muhammad ALi Shah
Concept Of VOIP in deatils
Concept Of VOIP in deatilsConcept Of VOIP in deatils
Concept Of VOIP in deatils
Mostain Billah
Polycom
PolycomPolycom
Polycom
Videoguy
VOIP business model
VOIP business modelVOIP business model
VOIP business model
Latte Media
SIP info
SIP infoSIP info
SIP info
Wino Line
Vo Ip Trunk Products Short V1
Vo Ip Trunk Products Short V1Vo Ip Trunk Products Short V1
Vo Ip Trunk Products Short V1
BobPetersen6467
Gaurav kumar VOIP MMMEC
Gaurav kumar VOIP MMMECGaurav kumar VOIP MMMEC
Gaurav kumar VOIP MMMEC
Gaurav Kumar
Vo ip
Vo ipVo ip
Vo ip
Data-Tel System Solutions, Inc.
Hospitality Solution Fibexp Mauritius
Hospitality Solution Fibexp MauritiusHospitality Solution Fibexp Mauritius
Hospitality Solution Fibexp Mauritius
Arun Kumar Singh
Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP
Kaushal Bhavsar
Sip & its application
Sip & its applicationSip & its application
Sip & its application
Poulami Pal
Rumana Akther Id#072842056
Rumana Akther Id#072842056Rumana Akther Id#072842056
Rumana Akther Id#072842056
mashiur
Ubuntu Desktop Telephony Stack
Ubuntu Desktop Telephony StackUbuntu Desktop Telephony Stack
Ubuntu Desktop Telephony Stack
David Sugar
Voice over internet protocol final
Voice over internet protocol finalVoice over internet protocol final
Voice over internet protocol final
Yrasumalli Reddy
"tvCompass," Ed Zylka
"tvCompass," Ed Zylka"tvCompass," Ed Zylka
"tvCompass," Ed Zylka
rayvillares
[Dec./2017] My Personal/Professional Journey after Graduate Univ.
[Dec./2017] My Personal/Professional Journey after Graduate Univ.[Dec./2017] My Personal/Professional Journey after Graduate Univ.
[Dec./2017] My Personal/Professional Journey after Graduate Univ.
Hayoung Yoon
Concept Of VOIP in deatils
Concept Of VOIP in deatilsConcept Of VOIP in deatils
Concept Of VOIP in deatils
Mostain Billah
Polycom
PolycomPolycom
Polycom
Videoguy
VOIP business model
VOIP business modelVOIP business model
VOIP business model
Latte Media
Vo Ip Trunk Products Short V1
Vo Ip Trunk Products Short V1Vo Ip Trunk Products Short V1
Vo Ip Trunk Products Short V1
BobPetersen6467
Gaurav kumar VOIP MMMEC
Gaurav kumar VOIP MMMECGaurav kumar VOIP MMMEC
Gaurav kumar VOIP MMMEC
Gaurav Kumar

Viewers also liked (20)

Deloitte: The Future of Productivity
Deloitte: The Future of Productivity Deloitte: The Future of Productivity
Deloitte: The Future of Productivity
Halifax Partnership
#ForoEGovAR | Plan de Modernizaci坦n del Estado#ForoEGovAR | Plan de Modernizaci坦n del Estado
#ForoEGovAR | Plan de Modernizaci坦n del Estado
CESSI Argentina
D:\犖犖迦犖犢犖\G48 53011810075
D:\犖犖迦犖犢犖\G48 53011810075D:\犖犖迦犖犢犖\G48 53011810075
D:\犖犖迦犖犢犖\G48 53011810075
BenjamasS
How to use spybot search and destroy
 How to use spybot search and destroy How to use spybot search and destroy
How to use spybot search and destroy
Amiel Pangilinan
User-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research CentreUser-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research Centre
Peter Lancaster
Our back to school album
Our back to school albumOur back to school album
Our back to school album
Lisa Baird
What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?
Jessica Watson
Boston Cloud Dinner/Discussion November 2010
Boston Cloud Dinner/Discussion November 2010Boston Cloud Dinner/Discussion November 2010
Boston Cloud Dinner/Discussion November 2010
Ness Technologies
亰亟舒于于亶亠!
亰亟舒于于亶亠!亰亟舒于于亶亠!
亰亟舒于于亶亠!
仍亠仆舒
Portfolio
PortfolioPortfolio
Portfolio
Geek Zwetsloot Fotograaf
Real Estate / Special Assets Seminar
Real Estate / Special Assets SeminarReal Estate / Special Assets Seminar
Real Estate / Special Assets Seminar
Stites & Harbison
Business case for social, ethical and certified organic trade in apiculture p...
Business case for social, ethical and certified organic trade in apiculture p...Business case for social, ethical and certified organic trade in apiculture p...
Business case for social, ethical and certified organic trade in apiculture p...
Verina Ingram
July 2012 Newsletter
July 2012 NewsletterJuly 2012 Newsletter
July 2012 Newsletter
Felix Ortiz
Andy warhol
Andy warholAndy warhol
Andy warhol
iLoveGeorgeStr8
Cloud webinar final
Cloud webinar finalCloud webinar final
Cloud webinar final
Ness Technologies
Build Great Apps on Android - Boris Chan - FITC Spotlight Android
Build Great Apps on Android - Boris Chan - FITC Spotlight AndroidBuild Great Apps on Android - Boris Chan - FITC Spotlight Android
Build Great Apps on Android - Boris Chan - FITC Spotlight Android
Boris Chan
Flanders Open Data Day II - KeyNote - Erik Mannens
Flanders Open Data Day II - KeyNote - Erik MannensFlanders Open Data Day II - KeyNote - Erik Mannens
Flanders Open Data Day II - KeyNote - Erik Mannens
Erik Mannens
Oct 31
Oct 31 Oct 31
Oct 31
Leah Vestal
Deloitte: The Future of Productivity
Deloitte: The Future of Productivity Deloitte: The Future of Productivity
Deloitte: The Future of Productivity
Halifax Partnership
#ForoEGovAR | Plan de Modernizaci坦n del Estado#ForoEGovAR | Plan de Modernizaci坦n del Estado
#ForoEGovAR | Plan de Modernizaci坦n del Estado
CESSI Argentina
D:\犖犖迦犖犢犖\G48 53011810075
D:\犖犖迦犖犢犖\G48 53011810075D:\犖犖迦犖犢犖\G48 53011810075
D:\犖犖迦犖犢犖\G48 53011810075
BenjamasS
How to use spybot search and destroy
 How to use spybot search and destroy How to use spybot search and destroy
How to use spybot search and destroy
Amiel Pangilinan
User-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research CentreUser-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research Centre
Peter Lancaster
Our back to school album
Our back to school albumOur back to school album
Our back to school album
Lisa Baird
What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?
Jessica Watson
Boston Cloud Dinner/Discussion November 2010
Boston Cloud Dinner/Discussion November 2010Boston Cloud Dinner/Discussion November 2010
Boston Cloud Dinner/Discussion November 2010
Ness Technologies
亰亟舒于于亶亠!
亰亟舒于于亶亠!亰亟舒于于亶亠!
亰亟舒于于亶亠!
仍亠仆舒
Real Estate / Special Assets Seminar
Real Estate / Special Assets SeminarReal Estate / Special Assets Seminar
Real Estate / Special Assets Seminar
Stites & Harbison
Business case for social, ethical and certified organic trade in apiculture p...
Business case for social, ethical and certified organic trade in apiculture p...Business case for social, ethical and certified organic trade in apiculture p...
Business case for social, ethical and certified organic trade in apiculture p...
Verina Ingram
July 2012 Newsletter
July 2012 NewsletterJuly 2012 Newsletter
July 2012 Newsletter
Felix Ortiz
Build Great Apps on Android - Boris Chan - FITC Spotlight Android
Build Great Apps on Android - Boris Chan - FITC Spotlight AndroidBuild Great Apps on Android - Boris Chan - FITC Spotlight Android
Build Great Apps on Android - Boris Chan - FITC Spotlight Android
Boris Chan
Flanders Open Data Day II - KeyNote - Erik Mannens
Flanders Open Data Day II - KeyNote - Erik MannensFlanders Open Data Day II - KeyNote - Erik Mannens
Flanders Open Data Day II - KeyNote - Erik Mannens
Erik Mannens

Similar to Ble boise codecamp (20)

Folheto BCL 500 i
Folheto BCL 500 iFolheto BCL 500 i
Folheto BCL 500 i
Leuze electronic Ltda
Zig Bee
Zig BeeZig Bee
Zig Bee
Vishwa Mohan
Profile_Prateek
Profile_PrateekProfile_Prateek
Profile_Prateek
Prateek Mathur
(Sacon) Sumanth Naropanth - IoT network & ecosystem security attacks & secur...
(Sacon) Sumanth Naropanth  - IoT network & ecosystem security attacks & secur...(Sacon) Sumanth Naropanth  - IoT network & ecosystem security attacks & secur...
(Sacon) Sumanth Naropanth - IoT network & ecosystem security attacks & secur...
Priyanka Aash
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIP
Fraj Alshahibi
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Digipolis Antwerpen
Everything about Internet of Things
Everything about Internet of ThingsEverything about Internet of Things
Everything about Internet of Things
Muhammad Nasr
iOT - Developing beacons
iOT - Developing beaconsiOT - Developing beacons
iOT - Developing beacons
sandeephegde
Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28
Ravikiran HV
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
Manish Sharma
Building IoT Products: Developer Experiences
Building IoT Products: Developer ExperiencesBuilding IoT Products: Developer Experiences
Building IoT Products: Developer Experiences
AllSeen Alliance
Wireless personal area networks(PAN)
Wireless personal area networks(PAN)Wireless personal area networks(PAN)
Wireless personal area networks(PAN)
punjab engineering college, chandigarh
IoT
IoTIoT
IoT
Ananth Kumar
respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...
jpalley
L4100
L4100L4100
L4100
koamtac
SET NSF Final Presentation
SET NSF Final PresentationSET NSF Final Presentation
SET NSF Final Presentation
Stanford University
Bluetooth Technology -- detailed explanation
Bluetooth Technology -- detailed explanation Bluetooth Technology -- detailed explanation
Bluetooth Technology -- detailed explanation
Siva Pradeep Bolisetti
BYOD Monitoring
BYOD MonitoringBYOD Monitoring
BYOD Monitoring
NetFlow Analyzer
Open Source & The Internet of Things
Open Source & The Internet of ThingsOpen Source & The Internet of Things
Open Source & The Internet of Things
All Things Open
(Sacon) Sumanth Naropanth - IoT network & ecosystem security attacks & secur...
(Sacon) Sumanth Naropanth  - IoT network & ecosystem security attacks & secur...(Sacon) Sumanth Naropanth  - IoT network & ecosystem security attacks & secur...
(Sacon) Sumanth Naropanth - IoT network & ecosystem security attacks & secur...
Priyanka Aash
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIP
Fraj Alshahibi
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Digipolis Antwerpen
Everything about Internet of Things
Everything about Internet of ThingsEverything about Internet of Things
Everything about Internet of Things
Muhammad Nasr
iOT - Developing beacons
iOT - Developing beaconsiOT - Developing beacons
iOT - Developing beacons
sandeephegde
Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28
Ravikiran HV
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse at the November Open Hardware Meetup, Mumbai 2014
MachinePulse
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
Manish Sharma
Building IoT Products: Developer Experiences
Building IoT Products: Developer ExperiencesBuilding IoT Products: Developer Experiences
Building IoT Products: Developer Experiences
AllSeen Alliance
respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...
jpalley
L4100
L4100L4100
L4100
koamtac
Bluetooth Technology -- detailed explanation
Bluetooth Technology -- detailed explanation Bluetooth Technology -- detailed explanation
Bluetooth Technology -- detailed explanation
Siva Pradeep Bolisetti
Open Source & The Internet of Things
Open Source & The Internet of ThingsOpen Source & The Internet of Things
Open Source & The Internet of Things
All Things Open

Ble boise codecamp

  • 2. Bluetooth 4.0 Low Energy Device Scanner An iOS Core BluetoothBluetooth Low Energy is also available on Samsung Application Galaxy S III and the Windows Surface Tablet. Discover, connect, and use Bluetooth 4.0 devices Boise Code Camp 2013 King Harald Bluetooth Presenter: Chip Keyes King Nordic Gormsson Harald Region Gormsson chipk215@msn.com
  • 3. BluetoothtechnologyEnergy Newer Bluetooth Low distinct from classic Bluetooth Designed for low cost, low power consumption, and extremely high deployment volumes Internet of Things, Personal Area Networks Devices typically powered by button cell batteries Low data rate (<0.3Mbps) [Contrast with 54Mbps v3.0] Operating ranges are close proximity typically less than 40 meters (dependent
  • 4. BLE 4.0 Demo Devices TI CC2540 Key Fob 60beat Bluetooth Heart Rate Monitor ? ? New device type!
  • 5. Bluetooth Architecture Today Applications Applications Apps ! Software Abstraction Generic Access Protocol Generic Access Protocol Host Generic Attribute Protocol Generic Attribute Protocol Multiplexing Layers Attribute Protocol Attribute Protocol Security Security & Security Logical Link Control & Adaptation Protocol Logical Link Control & Adaptation Protocol & Protocols Host Controller Interface Host Controller Interface Link Layer (advertising, scanning, connections) Link Layer (advertising, scanning, connections) Controller Physical Layer (Radio) Physical Layer (Radio) Direct Test Direct Test
  • 6. Bluetooth 4.0 Usage Model Functionality User Functionality Provider Advertise Discover Interact User Device Client Server Manifested in code Central Peripheral Master Slave Sophisticated UI Little or No UI*
  • 7. Servers Deliver Functionality via Services Peripheral UUID - Universally Unique Identifiers (16 or 128 bits) identify Services 1 to N and Characteristics Device Information N Service Heart Rate Service Services Registered Services 1 to N Registered Characteristics Heart Rate N Measurement Characteristic Model Number String s 1 to N *Profiles are services working together according N to a specification. Extended Properties, Descripto Configuration, etc. rs
  • 8. iOS Core Bluetooth Framework Principal Classes CBCentralManager & delegate (Client support) CBPeripheral & delegate (represents device) CBService (a service on the device) CBCharacteristic (a characteristic supporting a service) Characteristics can be of type read, write, or notification/indication Notifications are events which clients can subscribe to which result in pushed updates from the server
  • 9. Last Prep 際際滷! Objective-C syntax for demo code [receiver message] receiver is the object message is the method invoked on the object C#/Java analagous expression: object.method Objective-C also uses dot notation convention when accessing properties of an object properties = C#/Java fields Objective-C Interfaces analagous to C#/Java Classes Objective-C Protocols analgous to C#/Java Interfaces Lastly Objective-C self equivalent to C#/Java this
  • 10. iOS Devices Can Be Peripherals in iOS 6.0! Functionality User Functionality Provider Advertise Discover Interact iPhone/iPad on both sides of the connection Demo - TI Key Fob Simulator Demo - Heart Rate Monitor Simulator
  • 11. Bluetooth Low Energy PicoNets C C C C P P P P P P P P C = Central/Master Not Currently Permitted P = Peripheral/Slave
  • 12. Resources Code Camp Demo Code https://github.com/chipk215/ble_scanner https://github.com/chipk215/keyfobsim Bluetooth Low Energy Web Site http://www.bluetooth.com/Pages/low-energy.aspx Bluetooth Low Energy Specification: https://www.bluetooth.org/Technical/Specifications/adopted.htm (Core Version 4.0) StackOverflow core-bluetooth, bluetooth-lowenergy tags http://stackoverflow.com
  • 13. Resources TechBasic - A BASIC environment for iOS available in the app store which provides an Bluetooth Low Energy API. Educational friendly projects. http://www.byteworks.us/Byte_Works/techB ASIC.html Lots of well documented sample code. No Apple Development license or Xcode environment required. Download program files to the device using iTunes.
  • 14. Resources iTunes University - Stanford CS193p Coding Together: Developing Apps for iPhone and iPad (Winter 2013 Latest Offering) This course significantly accelerated my iOS indoctrination. It is fun, there are guest lecturers, and the assignments are always interesting!
  • 15. Local Resources Boise Cocoa Heads contact Ron Adams ( ronladams7@gmail.com http://cocoaheads.org/us/BoiseIdaho/index.html googleGroup: http://bit.ly/cocoaHeadsBoise meetingLocation: http://goo.gl/maps/80eiQ http://twitter.com/cocoaheadsboise http://cocoaheads.tv

Editor's Notes

  • #3: Harald &quot;Bluetooth&quot; Gormsson ( Old Norse : Haraldr bl叩t寧nn Gormsson , Danish : Harald Bl奪tand Gormsen ) (probably born c. 935) was the son of King Gorm the Old and of Thyra Dannebod . He died in 985 or 986 having ruled as King of Denmark from c. 958 and King of Norway for a few years probably around 970. &quot;Bluetooth&quot; now commonly refers to the Bluetooth wireless specification designed by Ericsson , the major Swedish telecommunications organization, to enable cable-free connections between computers, mobile phones, PDAs, printers, etc. The Bluetooth communications protocol in these devices is named after this king, ostensibly due to his abilities to make diverse factions communicate with each other. According to legend, he gained the nickname &quot;Bluetooth&quot; due to his love of blueberries, which stained his teeth. The Bluetooth logo consists of the Nordic runes for his initials, H and B ( Long-branch runes version). [13]