ancs

A set of types for representing Apple Notification Center Service requests and responses

2 unstable releases

0.2.0 Apr 20, 2022
0.1.0 Apr 19, 2022

#1266 in Encoding

MIT license

42KB
575 lines

ancs

crates.io Released API docs MIT licensed CI

An Apple Notification Control Service protocol library for Rust, with minimal dependencies.

What is ANCS

The purpose of the Apple Notification Center Service (ANCS) is to give Bluetooth accessories (that connect to iOS devices through a Bluetooth low-energy link) a simple and convenient way to access many kinds of notifications that are generated on iOS devices.

What is This Library

This library contains all the required types and functions to work with the Bluetooth Low Energy Apple Notification Control Service Protocol. This is a low-level library, meant to be a building block for other applications that interface with the Apple Notification Control Service.

How Do I Use This Library

Please see the Apple ANCS Specification for how to interface with their BLE protocol. This library strives to keep all terminology in line with the official documentation and should be easy to work with by following this specification alongside other ble libraries for Rust such as btleplug.

Dependencies

~1MB
~19K SLoC