Skip to content

aircable/BlueCap

 
 

Repository files navigation

BlueCap

Description

BlueCap provides a swift wrapper around Core Bluetooth with additional functionality that includes,

  • Trailing closure callbacks to replace protocol implementation for Central Manager peripheral, service and characteristic discovery, characteristic read and write and characteristic value update notifications. Similarly, for Peripheral Managers trailing closures are provided for advertising and characteristic write callbacks.

  • Connectorators and Scannerators provide management of peripheral scan and connection events. Timeouts for connection, scanning, read and write.

  • A DSL for specification of GATT profiles. Bluetooth LE device manufactures can provide implementations of their GATT profiles for distribution to developer and developers can easily implement GATT profiles for their Bluetooth LE devices.

  • Characteristic profile types encapsulating serialization and deserialization of values. Provided types include: Strings, Byte, Int8, UInt16, Int16 and Enum and more. New types can be added by users. Implementations of characteristic profiles for TI Sensor tag, some BLESIG GATT Profiles and more.

  • A peripheral scanner application provides and example implementation of a Central Manager and a peripheral emulator an example implementation of a Peripheral Manager.

About

iOS Bluetooth LE framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 99.9%
  • C++ 0.1%