I would like to pair an Argon or Xenon with a BLE device that can then control the Particle device. In my specific case I have a BLE that would be in a car or on a bike, and when approaching the garage, would connect with the Particle device automatically and I would be able to press a button on the peripheral device to execute a function on the Particle device, i.e. open the garage door.
Another application would be a phone app with the same functionality, for instance switching on a light with a button press on the phone. In that case the Particle device would have to be paired with the phone.
How would I do that?