Exemple #1
0
 def SendFilesOpp(self, files, retries, timeout, channel):
     client = Client(loop=self.loop)
     client.files = files
     client.index = 0
     client.retries = retries
     client.timeout = timeout
     client.channel = channel
     client.connect_rfcomm(
         self.target, channel, self.OppCallback, self.OppErr, bind=self.dongle.GetProperties()["Address"]
     )
Exemple #2
0
 def SendFilesOpp(self, files, retries, timeout, channel):
     client = Client(loop=self.loop)
     client.files = files
     client.index = 0
     client.retries = retries
     client.timeout = timeout
     client.channel = channel
     client.connect_rfcomm(self.target,
                           channel,
                           self.OppCallback,
                           self.OppErr,
                           bind=self.dongle.GetProperties()['Address'])