环境中的所有BLE设备都会在CySAMP应用程序中检测到。让我们假设下面两个例子:
情况1:当两个设备的设备名称相同并且它们具有相同的公共地址时
观察:在这种情况下,这两个设备将被视为一个单一的实体。然而,任何一个将保持活跃或将连接到各种因素的基础上,如距离,信号强度等,事实上,这可能会改变,当你移动更接近其他设备的移动太多。你可以把这两个设备看作是单个实体,除了只有一个将获得优先级。
案例2:当两个设备的设备名称相同,但它们没有相同的公共地址。假设下面的配置:设备1:名称:EasyTeaTeo
公共地址:00 A050- 00000 6
服务启用:是
设备2:名称:EasyTeaTeo
公共地址:00 A050- 00000 7
服务启用:没有
观察:在这种情况下,这两个设备将在下面的应用程序中可见。两个设备都可以连接到,但是只有一个设备将显示服务。因此,我们看到的不一定是个问题,而是蓝牙地址是如何分配的,并且基于固件,在应用程序上可以看到服务。
为了避免这种麻烦的具有相同地址的多个设备,硅产生的公司分配的代码可以使用如下图所示:
这将分配唯一的地址而无任何重叠。
希望这能解决你的疑问。
当做,
德黑拉杰
以上来自于百度翻译
以下为原文
All BLE devices in the surroundings will be detected in the CySmart app. Let's assume the following two cases:
Case 1: When the Device Name of two devices are the same and also they have the same public address
Observation: In this case the both the devices will be treated as a single entity. However, either one will remain active or will get connected to based on various factors like distance, signal strength etc. In fact, this might change when you move the mobile closer to other device too. You can think of both the devices as single entity except only one will get priority.
Case 2: When the Device Name of two devices are the same but they don't have the same public address. Let's assume the configuration as below:
Device 1: Name:
EasyTech
Public Address:
00A050-000006
Services Enabled: Yes
Device 2: Name:
EasyTech
Public Address:
00A050-000007
Services Enabled: No
Observation: In this case, both the devices will be visible in the app as shown below. Both the devices can be connected to, but only one of them will display the services.
So what we see is isn't necessarily a problem, it is how bluetooth addresses are assigned and based on the firmware, services are seen on the app.
To avoid this hassle of multiple devices having the same addresses, the
silicon generated Company assigned code can be used as shown below:
This will assign unique addresses without any overlap.
Hope this resolves your query.
Regards,
Dheeraj
环境中的所有BLE设备都会在CySAMP应用程序中检测到。让我们假设下面两个例子:
情况1:当两个设备的设备名称相同并且它们具有相同的公共地址时
观察:在这种情况下,这两个设备将被视为一个单一的实体。然而,任何一个将保持活跃或将连接到各种因素的基础上,如距离,信号强度等,事实上,这可能会改变,当你移动更接近其他设备的移动太多。你可以把这两个设备看作是单个实体,除了只有一个将获得优先级。
案例2:当两个设备的设备名称相同,但它们没有相同的公共地址。假设下面的配置:设备1:名称:EasyTeaTeo
公共地址:00 A050- 00000 6
服务启用:是
设备2:名称:EasyTeaTeo
公共地址:00 A050- 00000 7
服务启用:没有
观察:在这种情况下,这两个设备将在下面的应用程序中可见。两个设备都可以连接到,但是只有一个设备将显示服务。因此,我们看到的不一定是个问题,而是蓝牙地址是如何分配的,并且基于固件,在应用程序上可以看到服务。
为了避免这种麻烦的具有相同地址的多个设备,硅产生的公司分配的代码可以使用如下图所示:
这将分配唯一的地址而无任何重叠。
希望这能解决你的疑问。
当做,
德黑拉杰
以上来自于百度翻译
以下为原文
All BLE devices in the surroundings will be detected in the CySmart app. Let's assume the following two cases:
Case 1: When the Device Name of two devices are the same and also they have the same public address
Observation: In this case the both the devices will be treated as a single entity. However, either one will remain active or will get connected to based on various factors like distance, signal strength etc. In fact, this might change when you move the mobile closer to other device too. You can think of both the devices as single entity except only one will get priority.
Case 2: When the Device Name of two devices are the same but they don't have the same public address. Let's assume the configuration as below:
Device 1: Name:
EasyTech
Public Address:
00A050-000006
Services Enabled: Yes
Device 2: Name:
EasyTech
Public Address:
00A050-000007
Services Enabled: No
Observation: In this case, both the devices will be visible in the app as shown below. Both the devices can be connected to, but only one of them will display the services.
So what we see is isn't necessarily a problem, it is how bluetooth addresses are assigned and based on the firmware, services are seen on the app.
To avoid this hassle of multiple devices having the same addresses, the
silicon generated Company assigned code can be used as shown below:
This will assign unique addresses without any overlap.
Hope this resolves your query.
Regards,
Dheeraj
举报