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.

  • Regarding peripherals and central device, does this imply that I need to use the S120 soft device for the server and S110 for the robots?

    I was thinking that it would be better to have only one version with software for the nrf device, where I have some sort of function or switch/case to detect wether it is in a robot using spi, twi, or uart (pc) but this may be more complicated than i can comprehend - what is your opinion on this?

    I am going through the BLE tutorials now so hopefully I will get a better grasp on how to solve it.

Reply
  • Regarding peripherals and central device, does this imply that I need to use the S120 soft device for the server and S110 for the robots?

    I was thinking that it would be better to have only one version with software for the nrf device, where I have some sort of function or switch/case to detect wether it is in a robot using spi, twi, or uart (pc) but this may be more complicated than i can comprehend - what is your opinion on this?

    I am going through the BLE tutorials now so hopefully I will get a better grasp on how to solve it.

Children
No Data
Related