Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am considering the technical viability of software that I want to write.

Is there a way that I can push data to a phone (iPhone or Andriod) via Bluetooth without pairing with it?

I want to be able to walk into a room and have a computer push data to my phone when I get a certain distance from it, or push data to any phone automatically when it comes within a certain distance to a Bluetooth-ready device?

share|improve this question

closed as too broad by MichaelT, GlenH7, BЈовић, Yusubov, ChrisF Jul 29 '13 at 11:08

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Pretty sure you always have to pair, but pairing can be automatic when the device is within range (my phone pairs to my car automatically, for example). –  Anna Lear Nov 14 '12 at 20:03
4  
I don't know to be honest, but for the sake of all that is good and secure in this world, I would wish deeply that this was not possible. –  maple_shaft Nov 14 '12 at 20:05
    
@AnnaLear however, you likely paired it once not automatically before (at least, that's the case with my phone and car). –  MichaelT Nov 14 '12 at 20:10
2  
Look at tod for one such device and investigate the bluetooth 4.0 spec. I highly doubt that bluetooth allows for pushing arbitrary data to a device that isn't paired (or specifically configured to allow such activity). –  MichaelT Nov 14 '12 at 20:12
3  
@AnnaLear and that is the pairing that is done (and remembered). To be able to push data to an arbitrary phone (such as your neighbors when he walks into his domicile that is within range, or a stranger walking down the sidewalk) would be disconcerting. Consider also someone having such a device in their car and driving down the interstate pushing data to all nearby drivers. I kind of doubt that this is permitted by the spec. –  MichaelT Nov 14 '12 at 20:15
show 1 more comment

1 Answer

It's not clear if you want to completely skip the pairing process or just avoid having to enter in a pin.

This SO Question has a number of useful answers related to both sides of that question, albeit with an emphasis on android. Short answer is, yes, you may be able to do what you're asking in limited circumstances.

The Wikipedia entry on Bluetooth has a number of interesting components, and I would recommend looking at section 7.3 regarding connections and bonding and section 8 regarding security.

Finally, this article goes over a number of prevalent hacks against bluetooth. They don't tell you how, and I wouldn't encourage exploiting those vulnerabilities, but it may be enough information for you to discover a legitimate way of doing what your describing. And honestly, it was pretty easy to google, so it's not like I'm giving away secrets here.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.