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

Set up specific BLE devices to communicate either without pairing or with automaticly pairing

Hello. I have several nRF51 devices (nRF51 Dongle, pca10031) I wish to use as BLE link between robots.

  1. Is there any examples or tutorials that show how I can do this without having to pair the devices manually using some sort of software first?

  2. I was thinking about hard coding the addresses in but I am not sure if this is the best solution or even feasible?

  3. What would be the best option, broadcast to all or send to specific device?

Edit: I am not bound to use BLE, I can use the radio "alone" as well

Parents
  • The robots would be peripherals and the pc would be a central device.

    So you can put some information in the advertising packets that the central will recognize.

    It could be the addresses of the peripherals, one or more UUIDs, one or more device names, or something else.

  • It does not. The S110 supports peripheral role only. The S120 supports peripheral and central role but not concurrently, and as a central it can have links to 8 peripherals at the same time. The S130 supports concurrent peripheral and central role, but the release (2.0.0-7.alpha) that has SDK support can as a central only have links to 3 peripherals at the same time. The latest release (2.0.0-8.alpha) can as a central have links to 8 peripherals at the same time. It is a bit hard to use atm., but I have made an example here.

    So, you can use the same SoftDevice on both sides, but if I were you I would have a separate application for the robots. I don't see any big advantage of mixing the applications and then detecting which of them are going to be used.

Reply
  • It does not. The S110 supports peripheral role only. The S120 supports peripheral and central role but not concurrently, and as a central it can have links to 8 peripherals at the same time. The S130 supports concurrent peripheral and central role, but the release (2.0.0-7.alpha) that has SDK support can as a central only have links to 3 peripherals at the same time. The latest release (2.0.0-8.alpha) can as a central have links to 8 peripherals at the same time. It is a bit hard to use atm., but I have made an example here.

    So, you can use the same SoftDevice on both sides, but if I were you I would have a separate application for the robots. I don't see any big advantage of mixing the applications and then detecting which of them are going to be used.

Children
No Data
Related