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.

  • I'm also not sure what kind of application you need on the PC. What kind of control are we talking about. If it is only sending simple commands maybe you could get away with using Master Control Panel, but this only supports one connection, i.e. only allows you to control one robot at the time. We are working on a new tool that will allow you to be connected to multiple peripherals, Yggdrasil, but the current version doesn't support sending any data, it only supports connection and service discovery. The best option is maybe the BLE driver for Windows, available here. It allows you to control the SoftDevice over UART. The latest release uses S130 1.0.0, so as a central it can be connected to 3 peripherals.

Reply
  • I'm also not sure what kind of application you need on the PC. What kind of control are we talking about. If it is only sending simple commands maybe you could get away with using Master Control Panel, but this only supports one connection, i.e. only allows you to control one robot at the time. We are working on a new tool that will allow you to be connected to multiple peripherals, Yggdrasil, but the current version doesn't support sending any data, it only supports connection and service discovery. The best option is maybe the BLE driver for Windows, available here. It allows you to control the SoftDevice over UART. The latest release uses S130 1.0.0, so as a central it can be connected to 3 peripherals.

Children
No Data
Related