Lines Matching refs:receiver
45 self.receiver = self.dut_b
46 self.receiver.debug_tag = 'receiver'
51 self.receiver.android.btEnable()
53 self.receiver.android.btSetName(DEVICE_NAME)
70 self.receiver.connection_callback = (
71 self.receiver.android.btRfcommStartServer(rfcomm_name, RFCOMM_UUID))
72 self.receiver.log.info('Start Rfcomm server with name: %s uuid: %s' %
74 target_name = self.receiver.android.btGetName()
75 self.receiver.log.info('Become discoverable with name "%s" for %ds.',
77 self.receiver.android.btBecomeDiscoverable(DISCOVERABLE_TIME)
85 self.receiver.connection_callback.waitAndGet('onAccepted', 30)
90 self.receiver.read_callback = self.receiver.android.btRfcommRead()
92 read_result = self.receiver.read_callback.waitAndGet('onDataAvailable', 30)
94 self.receiver.log.info('Received correct message from the other side')
96 self.receiver.android.btRfcommStopServer()
100 self.receiver.android.btDisable()