ancs/
lib.rs

1//! A general purpose library of common Apple Notification Control Service types
2//!
3//! This crate is a general purpose library for common types found when working
4//! with the Apple Notification Control Service protocol. You'll find `attributes`
5//! and `characteristics` that are used for interacting with Apple Notification Control Service
6//! as a client. These two modules contain all relevant components specified in
7//! the  Apple Notification Control Service protocol standard. This library is low-level
8//! and as such it is only concerned with handling serialization and deserialization of the 
9//! ANCS application protocol.
10//! 
11//! ## Apple Notification Control Service Protocol
12//! 
13//! > The purpose of the Apple Notification Control Center Service is to give Bluetooth
14//! accessories (that connect to iOS devices through a Bluetooth low-energy link) a 
15//! simple convenient way to access many kinds of notifications that are generated on 
16//! iOS devices.
17//! 
18//! The ANCS protocol utilizes Bluetooth low-energy and a GATT Service, Characteristics and 
19//! Attributes to handle all data transport over Bluetooth low-energy. This library allows
20//! for easy serialization and deserilization of the wire data for this protocol.
21//! 
22pub mod attributes;
23pub mod characteristics;
24
25pub const APPLE_NOTIFICATION_CENTER_SERVICE_UUID: &str = "7905F431-B5CE-4E99-A40F-4B1E122D00D0";