This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

There are more than one "peripheral" and more than one central. How can we eliminate the signal confusion?

First I register the address of the central device to the peripheral device. When I work with a single peripheral device and a single central device, I can send commands from the central device to the peripheral device. But when I have more than one peripheral device in the vicinity, I can not send commands to the peripheral device registered from the central device. I think the signals are mixed up. Because, as I said at first, I can send peripheral commands to the central device when the peripheral devices are turned off and there is only one peripheral device. I used connectable undirected advertising. Because;

  • Peripheral device should be scannable and connectable
  • I send commands both by phone and by keyfob.

That's why advertising packet type should not be directed advertising as I know. When I scan by phone, I can see and select peripheral devices. But with KeyFob I do not have such a chance.If KeyFob is used, I think that KeyFob's head is mixed because I can not make a selection if there are more than one peripheral.

I read this link: devzone.nordicsemi.com/.../

So, do you have any suggestions to scan and connect to the peripheral which I want with KeyFob?


I share sniffer pictures for information.

image description

Parents
  • FormerMember
    0 FormerMember

    If there are multiple devices with the same address, I would think that there could be some problems, which device is the correct receiver of a given packet..? Instead of filtering devices based on address, I would recommend to filer on for example device name or UUID.

  • FormerMember
    0 FormerMember in reply to FormerMember

    Normally, it should not be any problem to connect to a device even though there are a lot of advertisers/broadcasters nearby. What is an approximate RSSI measured by the central for the various broadcasters?

    What is the distance between the central and the peripherals? How are the peripherals located with respect to each other?

    Do you see the same problem if the peripheral is a nRF51-DK?

Reply
  • FormerMember
    0 FormerMember in reply to FormerMember

    Normally, it should not be any problem to connect to a device even though there are a lot of advertisers/broadcasters nearby. What is an approximate RSSI measured by the central for the various broadcasters?

    What is the distance between the central and the peripherals? How are the peripherals located with respect to each other?

    Do you see the same problem if the peripheral is a nRF51-DK?

Children
No Data
Related