Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private API's for Bluetooth Low Energy #22

Open
stidch opened this issue Oct 23, 2018 · 3 comments
Open

Private API's for Bluetooth Low Energy #22

stidch opened this issue Oct 23, 2018 · 3 comments

Comments

@stidch
Copy link

stidch commented Oct 23, 2018

Thank @michaeldorner for that nice project.

May I ask the community if someone has experience with Private API's and Bluetooth Low Energy.

I wonder if and how I could implement the following two requirements without Jailbreak:

  • Accepting a bonding requests automatically without manually approving it (via bonding request dialog)
  • Removing BLE entries in the pairing table

Thanks in advance for every comment or input.

Cheers,
Stephan

@michaeldorner
Copy link
Owner

Smart question. The intend of this project was originally to hijack the non-LE Bluetooth interfaces, but I never had a look into this topic. So probably. Anyone?

@cansurmeli
Copy link

First and foremost, I don't have any specific experience with things you've mentioned above as well but the below might get you where you want to go.

You should checkout nst's iOS runtime headers. He lays out what he has found via runtime introspection; both public and private. You yourself can also perform the same operation, perhaps for a specific iOS version, but they're readily available anyways.

For the operations you've mentioned above, you should analyse BluetoothManager.framework, which is a private framework.

From there on, if the private framework satisfies your needs, you should properly grasp how to utilise a private framework on iOS. It's a bit of a hard endeavour; however, you're in the right place. BeeTee can help you a lot.(Kudos to Michael).

If you reach to some conclusions or better yet code something, I would love to see what you've accomplished as it's always a pleasure to checkout iOS reverse engineering efforts.

@stidch
Copy link
Author

stidch commented Oct 24, 2018

Hey guys

Thanks for your quick response.

I already know both, the website nst's iOS runtime headers and the BluetoothManager.framework.

Unfortunately in BluetoothManager.framework the interfaces look quite general (turning bluetooth on/off) or BT Classic related.

Two other header files look more BLE Pairing related

Honestly I have no clue whether and how they could be used for they described cases (clear BLE pairings / accept pairing requests).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants