android - 警报通知配置文件的 UUID - ANP(在 GATT 中),在低功耗蓝牙中

标签 android bluetooth uuid bluetooth-lowenergy gatt

我正在三星 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/

相关文章:

java - 如何从 Android 应用程序的音乐库中排除声音 fragment

ios - GetDescriptor() 空值/128 位 UUID 描述符?

android - 错误 : cannot find symbol @dagger. hilt.InstallIn(值 = {ApplicationComponent.class})

java - 从广播接收器以编程方式连接 Android 中的蓝牙设备

ios - iOS 上的蓝牙通信

android - 如何在android中更改蓝牙适配器的扫描模式?

java - 如何在 Java 中创建 Type 5 UUID?

go - gouuid 在 V5 上会始终生成相同的值吗

android - 将 android 与 MS SQL SERVER 2008 连接

java - Android studio - java版本错误