Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.8 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.8 KB

iOSAppBeacon

iOS application for communication and control with beacon (Bluetooth) devices.

xcode

Xcode development tool and CoreBluetooth library were used.

class

AppDelegate

This class receives callbacks for the execution and termination of an app, entering the background state, or reactivating.

CBCentralManager

This class is responsible for central function in CoreBluetooth.

CBPeripheral

This class is in charge of peripheral functions in CoreBluetooth.

LPManager

CBHelper in charge of interaction with beacons and a class that manages interactions between various views. The LPManager is assigned with app execution and is shared among all views until the app is closed.

CBHelper

It includes CBCentralManager and CBPeripheral in charge of CoreBluetooth function, and receives their callbacks.

CBHelperDelegate

When CBHelper receives a callback delivered from a CBCentralManager, that is, a device that performs a central function, or a CBPeripheral, that is, a beacon device, it generates an event of CBHelperDelegate so that each view controller can perform processing logic according to the event.

MainViewController

Handles the app's main screen.

ScanViewController

Scan the beacon and make the connection.

EditViewController

Set the alarm sound of the connected beacon or central device.

ConnectionViewController

Displays the information of the connected beacon device.

mainscanedit