Lines Matching refs:psm

33     def __init__(self, device, psm, l2cap_stream):  argument
35 self._psm = psm
45 l2cap_facade_pb2.DynamicChannelPacket(psm=self._psm, payload=payload))
48 self._device.l2cap.CloseChannel(l2cap_facade_pb2.CloseChannelRequest(psm=self._psm))
51 …self._device.l2cap.SetTrafficPaused(l2cap_facade_pb2.SetTrafficPausedRequest(psm=self._psm, paused…
60 def __init__(self, grpc_response_future, device, psm, l2cap_stream): argument
63 self._psm = psm
80 …def register_dynamic_channel(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowControlMode.B… argument
82 l2cap_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, retransmission_mode=mode))
83 return PyL2capChannel(self._device, psm, self._l2cap_stream)
85 …def connect_dynamic_channel_to_cert(self, psm=0x33, mode=l2cap_facade_pb2.RetransmissionFlowContro… argument
90 self.register_dynamic_channel(psm, mode)
92 l2cap_facade_pb2.OpenChannelRequest(psm=psm, remote=self._cert_address, mode=mode))
94 …return _ClassicConnectionResponseFutureWrapper(response_future, self._device, psm, self._l2cap_str…
123 def __init__(self, device, cert_address, psm, l2cap_stream): argument
126 self._psm = psm
136 l2cap_le_facade_pb2.DynamicChannelPacket(psm=self._psm, payload=payload))
140 … l2cap_le_facade_pb2.CloseDynamicChannelRequest(remote=self._cert_address, psm=self._psm))
149 def __init__(self, grpc_response_future, device, cert_address, psm, le_l2cap_stream): argument
153 self._psm = psm
179 def register_coc(self, cert_address, psm=0x33, security_level=SecurityLevel.NO_SECURITY): argument
181 …l2cap_le_facade_pb2.SetEnableDynamicChannelRequest(psm=psm, enable=True, security_level=security_l…
182 return PyLeL2capDynamicChannel(self._device, cert_address, psm, self._le_l2cap_stream)
184 def connect_coc_to_cert(self, cert_address, psm=0x33): argument
188 self.register_coc(cert_address, psm)
190 l2cap_le_facade_pb2.OpenDynamicChannelRequest(psm=psm, remote=cert_address))
192 …eturn _CreditBasedConnectionResponseFutureWrapper(response_future, self._device, cert_address, psm,