(peer, pkts, inter=0.1, *args, **kargs)
return a,b
send and receive using a bluetooth socket
send and receive using a bluetooth socket
send and receive using a bluetooth socket
def srbt(peer, pkts, inter=0.1, *args, **kargs):
    """send and receive using a bluetooth socket"""
    s = conf.BTsocket(peer=peer)
    a,b = sndrcv(s,pkts,inter=inter,*args,**kargs)
    s.close()
    return a,b
def srbt ( peer , pkts , inter = 0.1 , * args , * * kargs ) : s = conf . BTsocket ( peer = peer ) a , b = sndrcv ( s , pkts , inter = inter , * args , * * kargs ) s . close ( ) return a , b