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 cannot figure out how to set this up so I can message different peripherals from the example in the tutorial or the example you are refering to.

    Edit; I see that there is a multiperipheral example in the SDK 11 package so I will check this out.

    Edit2; I could not make that example, or the one you reffered to earlier to work, so now I am sort of stuck..

    Edit3; So I got the multi link example with SDK10 working, with using S120 on central and S110 on the peripherals. I could connect 4 peripherals so I guess it covers my need atm, although I was not able to verify cause I only had one device with buttons. I have a small issue with uart not working in this example, and I can't quite figure out why Am I right to assume the example you created is the uart version of multi link?

Reply
  • I cannot figure out how to set this up so I can message different peripherals from the example in the tutorial or the example you are refering to.

    Edit; I see that there is a multiperipheral example in the SDK 11 package so I will check this out.

    Edit2; I could not make that example, or the one you reffered to earlier to work, so now I am sort of stuck..

    Edit3; So I got the multi link example with SDK10 working, with using S120 on central and S110 on the peripherals. I could connect 4 peripherals so I guess it covers my need atm, although I was not able to verify cause I only had one device with buttons. I have a small issue with uart not working in this example, and I can't quite figure out why Am I right to assume the example you created is the uart version of multi link?

Children
No Data
Related