标签: ios swift bluetooth bluetooth-lowenergy core-bluetooth
我想通过BLE + BT阅读通知,并在通知的基础上执行一些操作。
像任何智能手表或Apple Watch一样,它们通过iPhone接收通知并在BLE的帮助下发送到智能手表。
我想读取所有通知,并在可能的情况下(例如Whatsapp)通过Fermware写入(回复)通知。
现在的问题是:
我有一些Apple文档:
Apple Notification Center服务(ANCS)规范
https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Introduction/Introduction.html
https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW7
https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Appendix/Appendix.html#//apple_ref/doc/uid/TP40013460-CH3-SW7