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

Setup of many peripherals

I have many peripherals, dealing with each of them individually will be very ineffective. The peripheral has no buttons, but it has a display.

Questions:

  1. For security, how can I put multiple peripherals in a whitelist? Or perhaps it is better if I give a certain "password" in the peripheral code that the central has to send for them to talk? I don't want unauthorized central units to be able to talk to my peripheral
  2. Is there a good way to name the peripherals with a unique name without having to put it in manually in the code ? I need it for pairing and later for maintenance tracking. A human readable hash of the mac adress or something?
Related