Skip to content

iBeacon, CoreBluetooth, CoreLocation and MultipeerConnectivity Showcases

License

Notifications You must be signed in to change notification settings

clarenceji/BluComm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BluComm

Experiments on iOS CoreBluetooth, CoreLocation and Multipeer Connectivity APIs. All functions are working properly. Testing requires two or more iOS devices.

Four sections in the test app:

CoreBluetooth Test

Use the current device to broadcast as a Bluetooth peripheral device.

Multipeer Connectivity Test

This uses Apple's MutipeerConnectivity framework. The Multipeer Connectivity framework supports the discovery of services provided by nearby devices and supports communicating with those services through message-based data, streaming data, and resources (such as files). In iOS, the framework uses infrastructure Wi-Fi networks, peer-to-peer Wi-Fi, and Bluetooth personal area networks for the underlying transport. In macOS and tvOS, it uses infrastructure Wi-Fi, peer-to-peer Wi-Fi, and Ethernet. Each MCSession supports up to 8 peers, including the local peer.

iBeacon Receiving Test

This test determines the distance between the current device and a Bluetooth peripheral device. It requires two iOS devices, one acting as a Bluetooth peripheral device and the other as the receiving device.

This class makes use of CBCentralManager (Core Bluetooth).

Virtual iBeacon Test

This test turns the current device into a virtual iBeacon. The virtual iBeacon broadcasts same information setup in the AppDelegate (UUID, major and minor values).

This class mainly uses CoreBluetooth framework, however, constructing the beacon requires CoreLocation framework.

The AppDelegate stores all managers, sessions, advertisers and browsers. It has an important role for all the tests above.

About

iBeacon, CoreBluetooth, CoreLocation and MultipeerConnectivity Showcases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages