<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>NFCのトピックFilter NFC Cockpit log information and add required timestamping</title>
    <link>https://community.nxp.com/t5/NFC/Filter-NFC-Cockpit-log-information-and-add-required-timestamping/m-p/1439754#M9324</link>
    <description>&lt;P&gt;We would like to share a way and script to create custom logs form the NFC Cockpit GUI, could be of use if timing is needing for detecting reading distances.&lt;/P&gt;&lt;P&gt;Just copy all the information from the log window and create a random file to then filter out with a custom script.&lt;/P&gt;&lt;P&gt;Hoping it to be of use.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BSSB&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 14:24:38 GMT</pubDate>
    <dc:creator>BrunoSenzio</dc:creator>
    <dc:date>2022-04-06T14:24:38Z</dc:date>
    <item>
      <title>Filter NFC Cockpit log information and add required timestamping</title>
      <link>https://community.nxp.com/t5/NFC/Filter-NFC-Cockpit-log-information-and-add-required-timestamping/m-p/1439754#M9324</link>
      <description>&lt;P&gt;We would like to share a way and script to create custom logs form the NFC Cockpit GUI, could be of use if timing is needing for detecting reading distances.&lt;/P&gt;&lt;P&gt;Just copy all the information from the log window and create a random file to then filter out with a custom script.&lt;/P&gt;&lt;P&gt;Hoping it to be of use.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BSSB&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 14:24:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Filter-NFC-Cockpit-log-information-and-add-required-timestamping/m-p/1439754#M9324</guid>
      <dc:creator>BrunoSenzio</dc:creator>
      <dc:date>2022-04-06T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filter NFC Cockpit log information and add required timestamping</title>
      <link>https://community.nxp.com/t5/NFC/Filter-NFC-Cockpit-log-information-and-add-required-timestamping/m-p/1439757#M9325</link>
      <description>&lt;P&gt;# NFC Cockpit Parsing script&lt;/P&gt;&lt;P&gt;import csv&lt;/P&gt;&lt;P&gt;if __name__ == "__main_":&lt;/P&gt;&lt;P&gt;with open('log_nfc.txt') as f:&lt;BR /&gt;log = f.readlines()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;output = []&lt;BR /&gt;for line in log:&lt;BR /&gt;if "INFO" in line:&lt;BR /&gt;time_data = line[12:20]&lt;BR /&gt;hour, min, sec = time_data.split(':')&lt;BR /&gt;output.append([hour, min, sec])&lt;BR /&gt;&lt;BR /&gt;fields = ['Hour', 'Minute', 'Second']&lt;BR /&gt;with open('parsed_nfc.csv', 'w') as f:&lt;BR /&gt;write = csv.writer(f)&lt;BR /&gt;write.writerow(fields)&lt;BR /&gt;write.writerows(output)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 14:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Filter-NFC-Cockpit-log-information-and-add-required-timestamping/m-p/1439757#M9325</guid>
      <dc:creator>BrunoSenzio</dc:creator>
      <dc:date>2022-04-06T14:30:54Z</dc:date>
    </item>
  </channel>
</rss>

