Lines Matching refs:scid
42 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, fcs=None): argument
44 self._scid = scid
52 …self._our_acl_view = FilteringEventStream(acl_stream, L2capMatchers.ExtractBasicFrameWithFcs(scid))
54 … self._our_acl_view = FilteringEventStream(acl_stream, L2capMatchers.ExtractBasicFrame(scid))
202 def open_channel(self, signal_id, psm, scid, fcs=None): argument
203 self.control_channel.send(l2cap_packets.ConnectionRequestBuilder(signal_id, psm, scid))
205 response = L2capCaptures.ConnectionResponse(scid)
207 channel = CertL2capChannel(self._device, scid,
210 self.scid_to_channel[scid] = channel
214 def verify_and_respond_open_channel_from_remote(self, psm=0x33, scid=None, fcs=None): argument
221 if scid is None or scid in self.scid_to_channel:
222 scid = dcid
223 …channel = CertL2capChannel(self._device, scid, dcid, self._acl.acl_stream, self._acl, self.control…
224 self.scid_to_channel[scid] = channel
227 sid, scid, dcid, l2cap_packets.ConnectionResponseResult.SUCCESS,
242 scid = dcid
243 …channel = CertL2capChannel(self._device, scid, dcid, self._acl.acl_stream, self._acl, self.control…
244 self.scid_to_channel[scid] = channel
333 scid = response.GetSourceCid()
334 if scid not in self.scid_to_channel:
339 self.scid_to_channel[scid]._config_rsp_received = True
344 scid = disconnection_request.GetSourceCid()
346 disconnection_response = l2cap_packets.DisconnectionResponseBuilder(sid, dcid, scid)