0

We are able to make connection from host device to multiple slave devices. but firstly devices will connected while sharing data they will automatically disconnected . we already used all delegate methods.

- (void) session:(MCSession*)session didReceiveCertificate:(NSArray*)certificate fromPeer:(MCPeerID*)peerID certificateHandler:(void (^)(BOOL accept))certificateHandler
{
    if (certificateHandler != nil) { certificateHandler(YES); }
}

Any help really appreciated ,Thanks in advance.

Neha
  • 63
  • 12
  • Can you reword the question? – Mark May 12 '16 at 13:46
  • Hi mark , Actually we are using multipeer connection to send songs from one device to multiple devices using bluetooth so we are able to make connection between multiple device but connection is not as smooth as we want .very firstly we can create connection ,send data and songs also but as soon as song is going to transfer devices become disconnected .So is there any solution for it . – Neha May 13 '16 at 04:47
  • Can you post the code you're using to send the songs? Which api your using is important. – Mark May 13 '16 at 12:27
  • its not based on api ,its based on multipeer connection and songs are transferring via bluetooth ,it also have some own delegate methods. – Neha May 16 '16 at 08:34
  • By api, I'm referring to which multipeer data transfer method you're using. There is one to transfer NSData, and one to transfer files. – Mark May 16 '16 at 12:02

0 Answers0