• Home
  • Raw
  • Download

Lines Matching refs:psm

37     def __init__(self, device, psm, l2cap_stream):  argument
39 self._psm = psm
49 l2cap_facade_pb2.DynamicChannelPacket(psm=self._psm, payload=payload))
52 self._device.l2cap.CloseChannel(l2cap_facade_pb2.CloseChannelRequest(psm=self._psm))
55 …self._device.l2cap.SetTrafficPaused(l2cap_facade_pb2.SetTrafficPausedRequest(psm=self._psm, paused…
64 def __init__(self, grpc_response_future, device, psm, l2cap_stream): argument
67 self._psm = psm
91 …def register_dynamic_channel(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowControlMode.B… argument
93 l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=mode))
94 return PyL2capChannel(self._device, psm, self._l2cap_stream)
96 …def connect_dynamic_channel_to_cert(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowContro… argument
101 self.register_dynamic_channel(psm, mode)
103 l2cap_facade_pb2.OpenChannelRequest(psm=psm, remote=self._cert_address, mode=mode))
105 …return _ClassicConnectionResponseFutureWrapper(response_future, self._device, psm, self._l2cap_str…
180 def __init__(self, device, cert_address, psm, l2cap_stream): argument
183 self._psm = psm
193 l2cap_le_facade_pb2.DynamicChannelPacket(psm=self._psm, payload=payload))
197 … l2cap_le_facade_pb2.CloseDynamicChannelRequest(remote=self._cert_address, psm=self._psm))
206 def __init__(self, grpc_response_future, device, cert_address, psm, le_l2cap_stream): argument
210 self._psm = psm
236 def register_coc(self, cert_address, psm=0x33, security_level=SecurityLevel.NO_SECURITY): argument
238 …l2cap_le_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, enable=True, security_level=security_l…
239 return PyLeL2capDynamicChannel(self._device, cert_address, psm, self._le_l2cap_stream)
241 def connect_coc_to_cert(self, cert_address, psm=0x33): argument
245 self.register_coc(cert_address, psm)
247 l2cap_le_facade_pb2.OpenDynamicChannelRequest(psm=psm, remote=cert_address))
249 …eturn _CreditBasedConnectionResponseFutureWrapper(response_future, self._device, cert_address, psm,