Over 50 devices are advertising

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
stanley_yeh
Offline
Last seen:1 year 11 months ago
加入:2016-12-23 06:52
Over 50 devices are advertising

Hi Dialog,
Our client put over 50 devices(DA14585) on his desk, these devices are advertising.
he said it costs too long time (over 15 seconds) to connect to a device.
Then, he took only one device far from other 49 devices and connect to the device, it is fast to make connection.
I think it is normal because there are only 3 channels for advertising, too many devices will disturb the quality of radio, right?

However, he put a previous-generation device(different BLE chip - DA14580, but same adv interval and Tx power) in that 50 devices and try to connect to it.
He said it is still fast to make connection. it fell short of our expectations.
Do you have any idea about the phenomenon?
Thanks a lot.

Device:
PM_Dialog
Offline
Last seen:2 days 9 hours ago
Staff
加入:2018-02-08 11:03
Hi stanley_yeh,

Hi stanley_yeh,

Let me ask you some question first in order to understand which the problem is and provide you the proper guidelines.

  1. 所有设备一个独特的双相障碍吗ddress? SDK6.0.10 has an API to get a unique code from OTP and create a static random BDaddress from this.
  2. Are all devices powered-up at exactly the same time? If yes, the RF of one might interfere with the others but if they are randomly enabled they will only occupy a very small timeslot so 50 devices should be able to occupy the same space without problems.
  3. What is the implementation on the scanner/central side?

Thanks, PM_Dialog

stanley_yeh
Offline
Last seen:1 year 11 months ago
加入:2016-12-23 06:52
Hi PM_Dialog,

Hi PM_Dialog,
1. Yes, all devices are written a unique BD address in OTP by our production line. I am sure all BD addresses are different.
2. I don't think all devices are powered-up at exactly the same time. Is it related to environment? maybe reflected wave? I am sorry I don't know too much about RF.
3. The scanner is a mobile phone. Does the scan interval of host affect something?
Many Thanks!

FvD_Dialog
Offline
Last seen:1 month 1 day ago
Staff
加入:2013-12-05 14:41
你好,

你好,

We need to find out if your problem is caused on the central side (Phone) or on the Peripheral side:

  1. The scan interval might impact the behaviour of this. Are you using a generic phone app for this like LightBlue (iOS) or Bluetooth LE Scanner (Android)?
    Did you create your own phone implementation? Can you change the scanning behaviour?
  2. What advertising interval are you using on the peripheral devices?
    To avoid collisions on the RF you should make the ADV interval large enough such that the change of collissions is small. Collisions will happen anyway but the Bluetooth stack will put some randomization on top of the defined ADV interval to avoid the collissions are happening multiple times in a row.

Regards,

FvD_Dialog