Home › Forums › Ask the Flomies › Issue with NDEF encoder in Flomio SDK
-
AuthorPosts
-
October 3, 2017 at 11:33 pm #61205
I am trying to read an NFC chip that has been written using an application that is not using the Flomio card. To test, I started with a new, empty chip. First I tried to write a text NDEF record using the NFC Tools application on an Android. I confirmed the data was written and and then tried to read the chip using the Flomio card. I tested reading the chip with the Flomio card using both the NfcActions application on the iPhone and the WayAround application Iโm developing on the iPhone. Neither application would read the chip. Then, I wrote to the chip using the WayAround application and was able to read the chip using the WayAround application. Finally I overwrote the data that was successfully read using the Flomio card using the NFC Tools application on an Android. The NDEF text record, written with the Android was successfully read using the Flomio card with the NfcActions application on the iPhone and the WayAround application on the iPhone.
The WayAround application needs to be able to read NDEF records from a chip that has never been written using the Flomio card.
Here is the test procedures. I only included the log for the test where the NDEF record should have been read. Let me know if you need any other information to recreate this problem.
empty tag1. Read with NFC Tools on Android – empty
2. Read with Flomio using NfcActions on iPhone – no data detected.
3. Read with Flomio using WayAround on iPhone – addTagDiscoveredListener callback, but no readNdef callbackWrite text record to tag using NFC tools on Android
1. Read with NFC Tools on Android – NDEF text record read.
2. Read with Flomio using NfcActions on iPhone – no data detected.
3. Read with Flomio using WayAround on iPhone – addTagDiscoveredListener callback, but no readNdef callbackLog:
2017-10-03 22:02:44.370095-0500 wayaround[594:134847] Change Status:Absent 2017-10-03 22:03:10.351237-0500 wayaround[594:134847] Change Status:Present 2017-10-03 22:03:10.410743-0500 wayaround[594:134847] ATR Response: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 03 00 00 00 00 68 2017-10-03 22:03:10.410899-0500 wayaround[594:134847] In transmitApdu acsbtreader 2017-10-03 22:03:10.422555-0500 wayaround[594:136331] Command APDU:FF CA 00 00 00 2017-10-03 22:03:10.470616-0500 wayaround[594:134847] Response Apdu: 04 6A D8 2A DD 36 80 90 00 2017-10-03 22:03:10.470915-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:10.471133-0500 wayaround[594:134847] Found tag UUID: 04 6A D8 2A DD 36 80 from device:RR330-004157 2017-10-03 22:03:10.486270-0500 wayaround[594:134847] readNdef - calling flomioPlugin. 2017-10-03 22:03:10.486455-0500 wayaround[594:134847] readCapabilityContainer RR330-004157 2017-10-03 22:03:10.486557-0500 wayaround[594:134847] read page: 3 command APDU: FFB0000310 device id: RR330-004157 2017-10-03 22:03:10.486657-0500 wayaround[594:134847] in send apdu: FFB0000310 device: RR330-004157 2017-10-03 22:03:10.487235-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:10.487315-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:10.498816-0500 wayaround[594:136331] Command APDU:FFB0000310 2017-10-03 22:03:10.590801-0500 wayaround[594:134847] Response Apdu: E1 10 12 00 01 03 A0 10 44 03 2A 91 01 11 54 02 90 00 2017-10-03 22:03:10.591124-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:10.591191-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:10.591283-0500 wayaround[594:134847] command: FFB0000310, response: E1 10 12 00 01 03 A0 10 44 03 2A 91 01 11 54 02 90 00 2017-10-03 22:03:10.591645-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:10.608950-0500 wayaround[594:134847] In response apdu: E1 10 12 00 01 03 A0 10 44 03 2A 91 01 11 54 02 90 00 2017-10-03 22:03:10.609133-0500 wayaround[594:134847] capabilityContainer: E11012000103A01044032A91011154029000 2017-10-03 22:03:10.609238-0500 wayaround[594:134847] length: 18 2017-10-03 22:03:10.609332-0500 wayaround[594:134847] number of pages: 36 2017-10-03 22:03:10.609504-0500 wayaround[594:134847] 36 2017-10-03 22:03:10.609597-0500 wayaround[594:134847] send apdu FFB0000410 2017-10-03 22:03:10.609690-0500 wayaround[594:134847] in send apdu: FFB0000410 device: RR330-004157 2017-10-03 22:03:10.610099-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:10.610176-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:10.621413-0500 wayaround[594:136365] Command APDU:FFB0000410 2017-10-03 22:03:10.710604-0500 wayaround[594:134847] Response Apdu: 01 03 A0 10 44 03 2A 91 01 11 54 02 65 6E 74 68 90 00 2017-10-03 22:03:10.710910-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:10.710978-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:10.711070-0500 wayaround[594:134847] command: FFB0000410, response: 01 03 A0 10 44 03 2A 91 01 11 54 02 65 6E 74 68 90 00 2017-10-03 22:03:10.711436-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:10.725981-0500 wayaround[594:134847] In response apdu: 01 03 A0 10 44 03 2A 91 01 11 54 02 65 6E 74 68 90 00 2017-10-03 22:03:10.726201-0500 wayaround[594:134847] response apdu 01 03 A0 10 44 03 2A 91 01 11 54 02 65 6E 74 68 90 00 2017-10-03 22:03:10.726312-0500 wayaround[594:134847] buffer 1,3,160,16,68,3,42,145,1,17,84,2,101,110,116,104 2017-10-03 22:03:10.726384-0500 wayaround[594:134847] send apdu FFB0000810 2017-10-03 22:03:10.726533-0500 wayaround[594:134847] in send apdu: FFB0000810 device: RR330-004157 2017-10-03 22:03:10.726873-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:10.727136-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:10.737969-0500 wayaround[594:136365] Command APDU:FFB0000810 2017-10-03 22:03:10.801075-0500 wayaround[594:134847] Response Apdu: 69 73 20 69 73 20 61 20 74 65 73 74 51 01 11 54 90 00 2017-10-03 22:03:10.801653-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:10.801723-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:10.801818-0500 wayaround[594:134847] command: FFB0000810, response: 69 73 20 69 73 20 61 20 74 65 73 74 51 01 11 54 90 00 2017-10-03 22:03:10.802352-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:10.817206-0500 wayaround[594:134847] In response apdu: 69 73 20 69 73 20 61 20 74 65 73 74 51 01 11 54 90 00 2017-10-03 22:03:10.817396-0500 wayaround[594:134847] response apdu 69 73 20 69 73 20 61 20 74 65 73 74 51 01 11 54 90 00 2017-10-03 22:03:10.817501-0500 wayaround[594:134847] buffer 105,115,32,105,115,32,97,32,116,101,115,116,81,1,17,84 2017-10-03 22:03:10.817599-0500 wayaround[594:134847] send apdu FFB0000c10 2017-10-03 22:03:10.817691-0500 wayaround[594:134847] in send apdu: FFB0000c10 device: RR330-004157 2017-10-03 22:03:10.818578-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:10.818742-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:10.830062-0500 wayaround[594:136365] Command APDU:FFB0000c10 2017-10-03 22:03:10.980768-0500 wayaround[594:134847] Response Apdu: 02 65 6E 74 68 69 73 20 69 73 20 61 20 74 65 73 90 00 2017-10-03 22:03:10.981326-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:10.981398-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:10.981519-0500 wayaround[594:134847] command: FFB0000c10, response: 02 65 6E 74 68 69 73 20 69 73 20 61 20 74 65 73 90 00 2017-10-03 22:03:10.981946-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:10.996575-0500 wayaround[594:134847] In response apdu: 02 65 6E 74 68 69 73 20 69 73 20 61 20 74 65 73 90 00 2017-10-03 22:03:10.996760-0500 wayaround[594:134847] response apdu 02 65 6E 74 68 69 73 20 69 73 20 61 20 74 65 73 90 00 2017-10-03 22:03:10.996865-0500 wayaround[594:134847] buffer 2,101,110,116,104,105,115,32,105,115,32,97,32,116,101,115 2017-10-03 22:03:10.999374-0500 wayaround[594:134847] send apdu FFB0001010 2017-10-03 22:03:10.999498-0500 wayaround[594:134847] in send apdu: FFB0001010 device: RR330-004157 2017-10-03 22:03:11.000231-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:11.000319-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:11.011077-0500 wayaround[594:136365] Command APDU:FFB0001010 2017-10-03 22:03:11.100834-0500 wayaround[594:134847] Response Apdu: 74 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.101572-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:11.101670-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:11.101794-0500 wayaround[594:134847] command: FFB0001010, response: 74 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.102336-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:11.116176-0500 wayaround[594:134847] In response apdu: 74 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.116371-0500 wayaround[594:134847] response apdu 74 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.116487-0500 wayaround[594:134847] buffer 116,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2017-10-03 22:03:11.116584-0500 wayaround[594:134847] send apdu FFB0001410 2017-10-03 22:03:11.116678-0500 wayaround[594:134847] in send apdu: FFB0001410 device: RR330-004157 2017-10-03 22:03:11.117259-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:11.117358-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:11.128788-0500 wayaround[594:136365] Command APDU:FFB0001410 2017-10-03 22:03:11.220851-0500 wayaround[594:134847] Response Apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.221187-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:11.221256-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:11.221376-0500 wayaround[594:134847] command: FFB0001410, response: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.221870-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:11.238549-0500 wayaround[594:134847] In response apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.238747-0500 wayaround[594:134847] response apdu 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.238854-0500 wayaround[594:134847] buffer 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2017-10-03 22:03:11.238951-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.239043-0500 wayaround[594:134847] send apdu FFB0001810 2017-10-03 22:03:11.239242-0500 wayaround[594:134847] in send apdu: FFB0001810 device: RR330-004157 2017-10-03 22:03:11.239701-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:11.239780-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:11.251296-0500 wayaround[594:136365] Command APDU:FFB0001810 2017-10-03 22:03:11.340662-0500 wayaround[594:134847] Response Apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.340999-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:11.341067-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:11.341159-0500 wayaround[594:134847] command: FFB0001810, response: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.341685-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:11.361043-0500 wayaround[594:134847] In response apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.361330-0500 wayaround[594:134847] response apdu 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.361419-0500 wayaround[594:134847] buffer 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2017-10-03 22:03:11.361486-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.361614-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.361717-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.361845-0500 wayaround[594:134847] send apdu FFB0001c10 2017-10-03 22:03:11.361953-0500 wayaround[594:134847] in send apdu: FFB0001c10 device: RR330-004157 2017-10-03 22:03:11.362454-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:11.362512-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:11.373831-0500 wayaround[594:136365] Command APDU:FFB0001c10 2017-10-03 22:03:11.460853-0500 wayaround[594:134847] Response Apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.461172-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:11.461241-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:11.461334-0500 wayaround[594:134847] command: FFB0001c10, response: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.461903-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:11.479842-0500 wayaround[594:134847] In response apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.480217-0500 wayaround[594:134847] response apdu 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.480302-0500 wayaround[594:134847] buffer 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2017-10-03 22:03:11.480367-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.480430-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.480556-0500 wayaround[594:134847] send apdu FFB0002010 2017-10-03 22:03:11.480629-0500 wayaround[594:134847] in send apdu: FFB0002010 device: RR330-004157 2017-10-03 22:03:11.481925-0500 wayaround[594:136188] FmSessionManager sent apdu 2017-10-03 22:03:11.481997-0500 wayaround[594:136188] In transmitApdu acsbtreader 2017-10-03 22:03:11.493413-0500 wayaround[594:136365] Command APDU:FFB0002010 2017-10-03 22:03:11.580774-0500 wayaround[594:134847] Response Apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.581332-0500 wayaround[594:134847] FmSessionManager before sem 2017-10-03 22:03:11.581426-0500 wayaround[594:134847] FmSessionManager after sem 2017-10-03 22:03:11.581560-0500 wayaround[594:134847] command: FFB0002010, response: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.582089-0500 wayaround[594:134847] In didReturnResponseApdu acsbtreader 2017-10-03 22:03:11.598125-0500 wayaround[594:134847] In response apdu: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.598316-0500 wayaround[594:134847] response apdu 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 2017-10-03 22:03:11.598439-0500 wayaround[594:134847] buffer 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2017-10-03 22:03:11.598553-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.598647-0500 wayaround[594:134847] found record 2017-10-03 22:03:11.598926-0500 wayaround[594:134847] found record 2017-10-03 22:03:13.921070-0500 wayaround[594:134847] Change Status:Absent
Write external record to tag using WayAround on iPhone
1. Read with NFC Tools on Android – NDEF external record read.
2. Read with Flomio using NfcActions on iPhone – Ndef payload found.
3. Read with Flomio using WayAround on iPhone – addTagDiscoveredListener callback and readNdef callback were triggered and external record was readOverwrite text record to tag using NFC tools on Android
1. Read with NFC Tools on Android – NDEF text record read.
2. Read with Flomio using NfcActions on iPhone – NDEF text record found.
3. Read with Flomio using WayAround on iPhone – addTagDiscoveredListener callback and readNdef callback were triggered and text record was read.Log:
2017-10-03 22:20:41.648978-0500 wayaround[605:139898] Change Status:Present 2017-10-03 22:20:41.710107-0500 wayaround[605:139898] ATR Response: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 03 00 00 00 00 68 2017-10-03 22:20:41.710655-0500 wayaround[605:139898] In transmitApdu acsbtreader 2017-10-03 22:20:41.722337-0500 wayaround[605:140242] Command APDU:FF CA 00 00 00 2017-10-03 22:20:41.769145-0500 wayaround[605:139898] Response Apdu: 04 6A D8 2A DD 36 80 90 00 2017-10-03 22:20:41.769466-0500 wayaround[605:139898] In didReturnResponseApdu acsbtreader 2017-10-03 22:20:41.769684-0500 wayaround[605:139898] Found tag UUID: 04 6A D8 2A DD 36 80 from device:RR330-004157 2017-10-03 22:20:41.785935-0500 wayaround[605:139898] readNdef - calling flomioPlugin. 2017-10-03 22:20:41.786118-0500 wayaround[605:139898] readCapabilityContainer RR330-004157 2017-10-03 22:20:41.786221-0500 wayaround[605:139898] read page: 3 command APDU: FFB0000310 device id: RR330-004157 2017-10-03 22:20:41.786322-0500 wayaround[605:139898] in send apdu: FFB0000310 device: RR330-004157 2017-10-03 22:20:41.786940-0500 wayaround[605:140368] FmSessionManager sent apdu 2017-10-03 22:20:41.787017-0500 wayaround[605:140368] In transmitApdu acsbtreader 2017-10-03 22:20:41.798284-0500 wayaround[605:140242] Command APDU:FFB0000310 2017-10-03 22:20:41.889191-0500 wayaround[605:139898] Response Apdu: E1 10 12 00 03 15 D1 01 11 54 02 65 6E 74 68 69 90 00 2017-10-03 22:20:41.891400-0500 wayaround[605:139898] FmSessionManager before sem 2017-10-03 22:20:41.891486-0500 wayaround[605:139898] FmSessionManager after sem 2017-10-03 22:20:41.891586-0500 wayaround[605:139898] command: FFB0000310, response: E1 10 12 00 03 15 D1 01 11 54 02 65 6E 74 68 69 90 00 2017-10-03 22:20:41.891973-0500 wayaround[605:139898] In didReturnResponseApdu acsbtreader 2017-10-03 22:20:41.909462-0500 wayaround[605:139898] In response apdu: E1 10 12 00 03 15 D1 01 11 54 02 65 6E 74 68 69 90 00 2017-10-03 22:20:41.909788-0500 wayaround[605:139898] capabilityContainer: E11012000315D101115402656E7468699000 2017-10-03 22:20:41.909895-0500 wayaround[605:139898] length: 18 2017-10-03 22:20:41.909990-0500 wayaround[605:139898] number of pages: 36 2017-10-03 22:20:41.910241-0500 wayaround[605:139898] 36 2017-10-03 22:20:41.910769-0500 wayaround[605:139898] send apdu FFB0000410 2017-10-03 22:20:41.910873-0500 wayaround[605:139898] in send apdu: FFB0000410 device: RR330-004157 2017-10-03 22:20:41.911301-0500 wayaround[605:140368] FmSessionManager sent apdu 2017-10-03 22:20:41.911378-0500 wayaround[605:140368] In transmitApdu acsbtreader 2017-10-03 22:20:41.922782-0500 wayaround[605:140242] Command APDU:FFB0000410 2017-10-03 22:20:42.011011-0500 wayaround[605:139898] Response Apdu: 03 15 D1 01 11 54 02 65 6E 74 68 69 73 20 69 73 90 00 2017-10-03 22:20:42.011330-0500 wayaround[605:139898] FmSessionManager before sem 2017-10-03 22:20:42.011398-0500 wayaround[605:139898] FmSessionManager after sem 2017-10-03 22:20:42.011491-0500 wayaround[605:139898] command: FFB0000410, response: 03 15 D1 01 11 54 02 65 6E 74 68 69 73 20 69 73 90 00 2017-10-03 22:20:42.011854-0500 wayaround[605:139898] In didReturnResponseApdu acsbtreader 2017-10-03 22:20:42.028292-0500 wayaround[605:139898] In response apdu: 03 15 D1 01 11 54 02 65 6E 74 68 69 73 20 69 73 90 00 2017-10-03 22:20:42.028439-0500 wayaround[605:139898] response apdu 03 15 D1 01 11 54 02 65 6E 74 68 69 73 20 69 73 90 00 2017-10-03 22:20:42.028512-0500 wayaround[605:139898] buffer 3,21,209,1,17,84,2,101,110,116,104,105,115,32,105,115 2017-10-03 22:20:42.028579-0500 wayaround[605:139898] send apdu FFB0000810 2017-10-03 22:20:42.028641-0500 wayaround[605:139898] in send apdu: FFB0000810 device: RR330-004157 2017-10-03 22:20:42.028822-0500 wayaround[605:140368] FmSessionManager sent apdu 2017-10-03 22:20:42.028893-0500 wayaround[605:140368] In transmitApdu acsbtreader 2017-10-03 22:20:42.039930-0500 wayaround[605:140242] Command APDU:FFB0000810 2017-10-03 22:20:42.129385-0500 wayaround[605:139898] Response Apdu: 20 61 20 74 65 73 74 FE 72 6F 75 6E 64 30 00 01 90 00 2017-10-03 22:20:42.129703-0500 wayaround[605:139898] FmSessionManager before sem 2017-10-03 22:20:42.129856-0500 wayaround[605:139898] FmSessionManager after sem 2017-10-03 22:20:42.129981-0500 wayaround[605:139898] command: FFB0000810, response: 20 61 20 74 65 73 74 FE 72 6F 75 6E 64 30 00 01 90 00 2017-10-03 22:20:42.130771-0500 wayaround[605:139898] In didReturnResponseApdu acsbtreader 2017-10-03 22:20:42.147662-0500 wayaround[605:139898] In response apdu: 20 61 20 74 65 73 74 FE 72 6F 75 6E 64 30 00 01 90 00 2017-10-03 22:20:42.147875-0500 wayaround[605:139898] response apdu 20 61 20 74 65 73 74 FE 72 6F 75 6E 64 30 00 01 90 00 2017-10-03 22:20:42.147984-0500 wayaround[605:139898] buffer 32,97,32,116,101,115,116,254,114,111,117,110,100,48,0,1 2017-10-03 22:20:42.148082-0500 wayaround[605:139898] found record 2017-10-03 22:20:42.148175-0500 wayaround[605:139898] readNdef Callback called.
October 4, 2017 at 3:37 am #61209Greetings Ryan,
I’ve been looking over that first test text record, and decoded it with our ndef parser, and it was
'this is a test'
However, I noticed some peculiarities about the way the android app wrote the data.
NDEF messages are TLV (Tag-Length-Value) encoded, and typically start at the first byte of page 4. However, judging by the APDUs, it seems the message started on the second byte of page 5. Very curious.Do you have an iPhone 7 ? Can you use the internal read mode to read a tag written thusly (strange offset)? We’d like to know if the Apple CoreNFC reader/parser kit handles this odd formatting.
- This reply was modified 7 years, 3 months ago by Nicholas.
October 4, 2017 at 3:40 am #61210Can you link us to the Google Play page for the
NFC Tools
application. Can you also tell us what make of tag you are using ?Thanks ๐
October 4, 2017 at 9:57 am #61212Here is the link to the NFC Tools – https://play.google.com/store/apps/details?id=com.wakdev.wdnfc
The tags are SMARTRAC 3002643 White Wet NFC Inlays Midas NXP NTAG203 – 12 x 19 mm –
I do not have an iPhone 7 to test with.
October 5, 2017 at 12:38 am #61223Ryan,
Hi, I’m not sure how to handle this.
We can bend over backwards to try and read (what *seem* to be) ill formed NDEF messages, complicating our parser implementation, or just fail. The latter option is what iOS 11 CoreNFC chooses. For ultralight class tags such as the NTAGxxx the tag must be properly formatted with a capability container on page 3. Whereas android will read ndef messages off these tags just fine.
The reason why I was asking if you had an iPhone 7 was to see if the iOS 11 strict NDEF parser could read the tag or not.
I’m going to go out on a limb and say that android tools is writing the tag incorrectly.
What would be helpful to verify this is if you could get a raw memory dump screenshot of a tag that can be read by NFC Tools, but NOT by Flomio products. And can you try installing some other android NFC tag reading apps, and check if they can read the ndef messages?
If we have to, we can add a more robust parser that scans through the tag memory and finds messages that don’t start exactly at the beginning, but I’d prefer not to.
Thanks ๐
October 5, 2017 at 9:44 am #61227It does sound like it could be the Android tool. I will install another tool and repeat the test.
October 5, 2017 at 10:45 am #61228I repeated the test using TagWriter by NXP and there was no problem reading the chip using the Flomio. I’ve included the log, if you want to look at it. So sorry for the rabbit trail. Thanks for looking into this.
2017-10-05 09:32:55.562175-0500 wayaround[944:338601] Change Status:Present 2017-10-05 09:32:55.623066-0500 wayaround[944:338601] ATR Response: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 03 00 00 00 00 68 2017-10-05 09:32:55.623227-0500 wayaround[944:338601] In transmitApdu acsbtreader 2017-10-05 09:32:55.635778-0500 wayaround[944:338709] Command APDU:FF CA 00 00 00 2017-10-05 09:32:55.682027-0500 wayaround[944:338601] Response Apdu: 04 D0 D8 2A DD 36 80 90 00 2017-10-05 09:32:55.682320-0500 wayaround[944:338601] In didReturnResponseApdu acsbtreader 2017-10-05 09:32:55.682535-0500 wayaround[944:338601] Found tag UUID: 04 D0 D8 2A DD 36 80 from device:RR330-004106 2017-10-05 09:32:55.691273-0500 wayaround[944:338601] readNdef - calling flomioPlugin. 2017-10-05 09:32:55.691439-0500 wayaround[944:338601] readCapabilityContainer RR330-004106 2017-10-05 09:32:55.691539-0500 wayaround[944:338601] read page: 3 command APDU: FFB0000310 device id: RR330-004106 2017-10-05 09:32:55.691639-0500 wayaround[944:338601] in send apdu: FFB0000310 device: RR330-004106 2017-10-05 09:32:55.692073-0500 wayaround[944:338839] FmSessionManager sent apdu 2017-10-05 09:32:55.692151-0500 wayaround[944:338839] In transmitApdu acsbtreader 2017-10-05 09:32:55.703534-0500 wayaround[944:338709] Command APDU:FFB0000310 2017-10-05 09:32:55.742195-0500 wayaround[944:338601] Response Apdu: E1 10 12 00 03 2E D1 01 2A 54 02 65 6E 74 65 73 90 00 2017-10-05 09:32:55.742499-0500 wayaround[944:338601] FmSessionManager before sem 2017-10-05 09:32:55.742567-0500 wayaround[944:338601] FmSessionManager after sem 2017-10-05 09:32:55.742657-0500 wayaround[944:338601] command: FFB0000310, response: E1 10 12 00 03 2E D1 01 2A 54 02 65 6E 74 65 73 90 00 2017-10-05 09:32:55.743018-0500 wayaround[944:338601] In didReturnResponseApdu acsbtreader 2017-10-05 09:32:55.752604-0500 wayaround[944:338601] In response apdu: E1 10 12 00 03 2E D1 01 2A 54 02 65 6E 74 65 73 90 00 2017-10-05 09:32:55.752774-0500 wayaround[944:338601] capabilityContainer: E1101200032ED1012A5402656E7465739000 2017-10-05 09:32:55.752877-0500 wayaround[944:338601] length: 18 2017-10-05 09:32:55.752970-0500 wayaround[944:338601] number of pages: 36 2017-10-05 09:32:55.753103-0500 wayaround[944:338601] 36 2017-10-05 09:32:55.753199-0500 wayaround[944:338601] send apdu FFB0000410 2017-10-05 09:32:55.753291-0500 wayaround[944:338601] in send apdu: FFB0000410 device: RR330-004106 2017-10-05 09:32:55.753777-0500 wayaround[944:338839] FmSessionManager sent apdu 2017-10-05 09:32:55.753852-0500 wayaround[944:338839] In transmitApdu acsbtreader 2017-10-05 09:32:55.765364-0500 wayaround[944:338840] Command APDU:FFB0000410 2017-10-05 09:32:55.862240-0500 wayaround[944:338601] Response Apdu: 03 2E D1 01 2A 54 02 65 6E 74 65 73 74 20 77 72 90 00 2017-10-05 09:32:55.862593-0500 wayaround[944:338601] FmSessionManager before sem 2017-10-05 09:32:55.862662-0500 wayaround[944:338601] FmSessionManager after sem 2017-10-05 09:32:55.863338-0500 wayaround[944:338601] command: FFB0000410, response: 03 2E D1 01 2A 54 02 65 6E 74 65 73 74 20 77 72 90 00 2017-10-05 09:32:55.863714-0500 wayaround[944:338601] In didReturnResponseApdu acsbtreader 2017-10-05 09:32:55.874903-0500 wayaround[944:338601] In response apdu: 03 2E D1 01 2A 54 02 65 6E 74 65 73 74 20 77 72 90 00 2017-10-05 09:32:55.875080-0500 wayaround[944:338601] response apdu 03 2E D1 01 2A 54 02 65 6E 74 65 73 74 20 77 72 90 00 2017-10-05 09:32:55.875183-0500 wayaround[944:338601] buffer 3,46,209,1,42,84,2,101,110,116,101,115,116,32,119,114 2017-10-05 09:32:55.875282-0500 wayaround[944:338601] send apdu FFB0000810 2017-10-05 09:32:55.875375-0500 wayaround[944:338601] in send apdu: FFB0000810 device: RR330-004106 2017-10-05 09:32:55.875771-0500 wayaround[944:338839] FmSessionManager sent apdu 2017-10-05 09:32:55.875849-0500 wayaround[944:338839] In transmitApdu acsbtreader 2017-10-05 09:32:55.886908-0500 wayaround[944:338709] Command APDU:FFB0000810 2017-10-05 09:32:55.982236-0500 wayaround[944:338601] Response Apdu: 69 74 69 6E 67 20 61 20 74 61 67 20 77 69 74 68 90 00 2017-10-05 09:32:55.982547-0500 wayaround[944:338601] FmSessionManager before sem 2017-10-05 09:32:55.982617-0500 wayaround[944:338601] FmSessionManager after sem 2017-10-05 09:32:55.982709-0500 wayaround[944:338601] command: FFB0000810, response: 69 74 69 6E 67 20 61 20 74 61 67 20 77 69 74 68 90 00 2017-10-05 09:32:55.983102-0500 wayaround[944:338601] In didReturnResponseApdu acsbtreader 2017-10-05 09:32:55.993778-0500 wayaround[944:338601] In response apdu: 69 74 69 6E 67 20 61 20 74 61 67 20 77 69 74 68 90 00 2017-10-05 09:32:55.993953-0500 wayaround[944:338601] response apdu 69 74 69 6E 67 20 61 20 74 61 67 20 77 69 74 68 90 00 2017-10-05 09:32:55.994058-0500 wayaround[944:338601] buffer 105,116,105,110,103,32,97,32,116,97,103,32,119,105,116,104 2017-10-05 09:32:55.994156-0500 wayaround[944:338601] send apdu FFB0000c10 2017-10-05 09:32:55.994250-0500 wayaround[944:338601] in send apdu: FFB0000c10 device: RR330-004106 2017-10-05 09:32:55.994634-0500 wayaround[944:338839] FmSessionManager sent apdu 2017-10-05 09:32:55.994845-0500 wayaround[944:338839] In transmitApdu acsbtreader 2017-10-05 09:32:56.006117-0500 wayaround[944:338840] Command APDU:FFB0000c10 2017-10-05 09:32:56.104596-0500 wayaround[944:338601] Response Apdu: 20 74 61 67 20 69 6E 66 6F 20 62 79 20 6E 78 70 90 00 2017-10-05 09:32:56.105335-0500 wayaround[944:338601] FmSessionManager before sem 2017-10-05 09:32:56.105408-0500 wayaround[944:338601] FmSessionManager after sem 2017-10-05 09:32:56.105514-0500 wayaround[944:338601] command: FFB0000c10, response: 20 74 61 67 20 69 6E 66 6F 20 62 79 20 6E 78 70 90 00 2017-10-05 09:32:56.105880-0500 wayaround[944:338601] In didReturnResponseApdu acsbtreader 2017-10-05 09:32:56.113743-0500 wayaround[944:338601] In response apdu: 20 74 61 67 20 69 6E 66 6F 20 62 79 20 6E 78 70 90 00 2017-10-05 09:32:56.113906-0500 wayaround[944:338601] response apdu 20 74 61 67 20 69 6E 66 6F 20 62 79 20 6E 78 70 90 00 2017-10-05 09:32:56.114007-0500 wayaround[944:338601] buffer 32,116,97,103,32,105,110,102,111,32,98,121,32,110,120,112 2017-10-05 09:32:56.114103-0500 wayaround[944:338601] found record 2017-10-05 09:32:56.114196-0500 wayaround[944:338601] readNdef Callback called.
October 10, 2017 at 3:34 am #61257Ryan,
Sorry for the slow reply.
No worries for the rabbit trail. We enjoy the chase ๐
Do please let us know if you see any further issues.
Thanks.
-
AuthorPosts
You must be logged in to reply to this topic.