Search Unity

prime31 GameKit plugin slow connection problem

Discussion in 'iOS and tvOS' started by chishti, Feb 25, 2013.

  1. chishti

    chishti

    Joined:
    May 21, 2009
    Posts:
    188
    Hi,

    I am using prime31 plugins and need to connect six devices with one host device. Host device becomes very slow while transferring data.

    I am launching my host device like this
    Code (csharp):
    1.  
    2. GameKitBinding.setSessionMode(GameKitSessionMode.Server);
    3. GameKitBinding.setAutoConnectPeers(true);
    4. GameKitBinding.initializeSessionForOnlineOnly();
    5.  
    and I am launching client device to search server like this
    Code (csharp):
    1.  
    2. GameKitBinding.setSessionMode(GameKitSessionMode.Peer);
    3. GameKitBinding.showPeerPicker(false);
    4.  
    am I doing any thing wrong?
    Also, When 4th device normally tries to connect it shows connection lost and then I try to connect again.

    What is the maximum length of data we can transfer at a time in bluetooth.
    This slow speed is creating problem for me.

    thanks
    chishti
     
    Last edited: Feb 27, 2013
  2. chishti

    chishti

    Joined:
    May 21, 2009
    Posts:
    188
    Any one could share with me the best practice in this case?