MCPcopy Index your code
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/layers/bluetooth.py:3037–3041  ·  view source on GitHub ↗
(self, bt_address, port=0)

Source from the content-addressed store, hash-verified

3035 """read/write packets on a connected RFCOMM socket"""
3036
3037 def __init__(self, bt_address, port=0):
3038 s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_RAW,
3039 socket.BTPROTO_RFCOMM)
3040 s.connect((bt_address, port))
3041 self.ins = self.outs = s
3042
3043
3044class BluetoothHCISocket(SuperSocket):

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected