def __init__(self, recv_miu=248, send_lto=500, send_agf=True, symm_log=True):
    self.lock = threading.RLock()
    self.cfg = dict()
    self.cfg['recv-miu'] = recv_miu
    self.cfg['send-lto'] = send_lto
    self.cfg['send-agf'] = send_agf
    self.cfg['symm-log'] = symm_log
    self.snl = dict({'urn:nfc:sn:sdp': 1})
    self.sap = (64 * [None])
    self.sap[0] = ServiceAccessPoint(0, self)
    self.sap[1] = ServiceDiscovery(self)
def __init__(self, recv_miu=248, send_lto=500, send_agf=True, symm_log=True):
    self.lock = threading.RLock()
    self.cfg = dict()
    self.cfg['recv-miu'] = recv_miu
    self.cfg['send-lto'] = send_lto
    self.cfg['send-agf'] = send_agf
    self.cfg['symm-log'] = symm_log
    self.snl = dict({'urn:nfc:sn:sdp': 1})
    self.sap = (64 * [None])
    self.sap[0] = ServiceAccessPoint(0, self)
    self.sap[1] = ServiceDiscovery(self)