我正在三星 Galaxy S3 和外围设备之间使用 Bluetooth Low Energy 中的警报通知配置文件 (ANP)
。
我在 Android Developer Site 找不到与特定 UUID 的 ANP 相关的任何信息.
但在 ANCS 规范
中 (iOS Developer Site) , 他们定义了特定UUID的ANCS :
The Apple Notification Center Service is a primary service whose service UUID is 7905F431-B5CE-4E99-A40F-4B1E122D00D0.
我担心这种不同,所以任何人都可以告诉我:
Android 中特定 UUID 的 ANP 是什么?
P/s : 从 Wiki 的 UUID,我知道这个 :
Anyone can create a UUID and use it to identify something with reasonable confidence that the same identifier will never be unintentionally created by anyone to identify something else.
但实际上,Google Developer 尚未确认特定 UUID 的 ANP?
最佳答案
基本的蓝牙是:0000xxxx-0000-1000-8000-00805f9b34fb。
"xxxx"是Assigned Number
你需要替换进去,你可以声明。
但另一方面,在固件方面也定义了移动应用程序的 UUID 可以与固件通信。
关于android - 警报通知配置文件的 UUID - ANP(在 GATT 中),在低功耗蓝牙中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20739135/