D | l2cap.py | 42 def create_l2cap_le_coc(self, address, psm, secure): argument 43 logging.info("creating l2cap channel with secure=%r and psm %s", secure, psm) 44 self.__device.sl4a.bluetoothSocketConnBeginConnectThreadPsm(address, True, psm, secure) 49 def listen_using_l2cap_le_coc(self, secure): argument 50 logging.info("Listening for l2cap channel with secure=%r", secure) 51 …_device.sl4a.bluetoothSocketConnBeginAcceptThreadPsm(self.__l2cap_connection_timeout, True, secure)
|