How to implement bluetooth open manually in iPhone?

Discussion in 'iOS Programming' started by MayPeng, Aug 13, 2012.

  1. macrumors member

    Joined:
    Nov 21, 2010
    #1
    Developing a app to open bluetooth manually , it will connect other bluetooth device. Which apis will be used?
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    What kind of "other bluetooth device"? Another iOS device?
     
  3. macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #3
    It is my understanding that if you want to make bluetooth connections to custom devices, you have to join Apple's hardware developer program. I think that's not part of the normal developer API.

    Game kit gives you the ability to make bluetooth connections to other iOS devices nearby, but it sounds like you want to connect to custom, non iOS devices.
     
  4. macrumors 6502

    Joined:
    Jun 17, 2007
    #4
    That's true for standard Bluetooth devices.

    However, you can talk to Bluetooth 4 Low Energy devices without needing to do that. If the device you're trying to talk to comes under that category, then look into the Core Bluetooth framework
     
  5. macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #5
    I did not know that Apple had opened up the Bluetooth APIs for low energy devices to all developers. Thanks for correcting me.
     
  6. MayPeng, Aug 13, 2012
    Last edited: Aug 14, 2012

    thread starter macrumors member

    Joined:
    Nov 21, 2010
    #6
    Yes,I will connect to custom devices.Thank you!

    By the way, connect to custom devices, whether it still can use standard UI supported by GKPeerPickerController?
     

Share This Page