/IntroToCoreBluetooth

This is the companion repo for the series "Writing an SDK With Core Bluetooth."

Primary LanguageSwiftOtherNOASSERTION

Icon

A Quick Introduction To Core Bluetooth

This is a repo that will accompany a series of posts on introduction to Core Bluetooth.

The "working code" for the repo is in the SDK-Src directory. This will be a simple framework project that implements a very simple "Magic 8-Ball" application that runs on two different Apple devices.

One device acts as a Bluetooth Central device, and the other as a Bluetooth Peripheral device.

IMPORTANT NOTE: Peripheral Mode is not supported for WatchOS or TVOS. Those targets will only support Bluetooth Central Mode.

The user "asks a question" from the Central device, and "gets an answer" from a Peripheral device.

The communication between the devices is Bluetooth Low Energy, managed by Apple's Core Bluetooth API.

The Apps-src directory contains 4 pre-written applications. These are for each of the Apple platforms: Mac, iOS/iPadOS, Watch, and TV.

The way that the progress of the lesson is tracked, is through a series of Git tags. This is different from the traditional "zip-compressed file" that people may be used to. Using Git allows a much more intimate examination of the code, and there's a great many moving parts that need to be tracked.