def log_contact_data(seqid):
    seq = messageSequenceList[seqid]
    timestamp = seq.timestamp
    source = seq.nodeid
    logstring = '{0} Node {1} '.format(timestamp, source)
    for x in range(len(seq.datalist)):
        logstring += ((('{:012X}'.format(seq.datalist[x].nodeid) + '{:02X}'.format(seq.datalist[x].lastRSSI)) + '{:02X}'.format(seq.datalist[x].maxRSSI)) + '{:02X}'.format(seq.datalist[x].pktCounter))
    contactLogger.info(logstring)
def log_contact_data(seqid):
    seq = messageSequenceList[seqid]
    timestamp = seq.timestamp
    source = seq.nodeid
    logstring = '{0} Node {1} '.format(timestamp, source)
    for x in range(len(seq.datalist)):
        logstring += ((('{:012X}'.format(seq.datalist[x].nodeid) + '{:02X}'.format(seq.datalist[x].lastRSSI)) + '{:02X}'.format(seq.datalist[x].maxRSSI)) + '{:02X}'.format(seq.datalist[x].pktCounter))
    contactLogger.info(logstring)