@conf.commands.register
def srbt1(peer, pkts, *args, **kargs):
    """send and receive 1 packet using a bluetooth socket"""
    a,b = srbt(peer, pkts, *args, **kargs)
    if len(a) > 0:
        return a[0][1]
dataset/ETHPy150Open phaethon/scapy/scapy/layers/bluetooth.py/srbt1/original