Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

New CoreNFC API
Hello, I am very glad that the company provided an API for the NFC.But looking at it seems that there is only an opportunity to read opened NFC tags, but not those that require additional communication such as a key handshake. Can anybody say do company plan to expand the API to be more flexible in the future?
1
0
497
Jun ’17
Reply to CoreNFC Supported Devices
It's unclear whether Apple plans to expand support for CoreNFC to devices older than iPhone 7 and 7 Plus — I don't believe any hardware limitation prevents such support. But to my knoweldge, no iPad has NFC hardware, making CoreNFC incompatable with iPads.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
How does one read/parse the NDEF Message from CoreNFC
I have a bunch of tags that are URL tags that have the content http://WEBSITE.com. Let's say WEBSITE is youtube so http://youtube.com. When I scan them on Android etc, it keeps the http or https.I'm trying to scan these same tags using the Core NFC framework. I scan them and I get a bunch of bytes that I convert using NSSString initWithData with UTF8 Encoding. I get back ^Cyoutube.com. I want to get http://youtube.com.How can I interept the payload to get what I need? If I'm to assume the http in front of the string, how am I supposed to know if it is http or https or even ftp?
0
0
390
Jun ’17
Reply to NFCNDEFReaderSession - is this "on" in this release?
I had this issue as well, I thought. When I checked the tags, I found they had no NDEF messages. Try using something like NFC tools on an android device.Note as well - Android phone I have (Google) are emitting that they are readers all of the time, so this is likely to trigger Wallet, so don't count on using that path for much testing. I reccommend verifying that your tags actually have NDEFs in them.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
Problem Core NFC
Hello,I'm having a problem with using Xcode9 and NFC, basically when I create an NFC project with a provisioning enabled for its use, I do not see the capability on Xcode so I can not use the new API. Can you give me info about it? Consider I started from a new project and with NFC-enabled appID.thank you
1
0
557
Jun ’17
Core NFC - can read a NFC tag - now I need payload data
Hi - using code that is out there I have managed to create a skeleton app that will read in a NFC tag on the iPhone 7+ and display the details in the debugger using this code:func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) { print(New NFC Tag detected:) for message in messages { for record in message.records { print(Type name: (record.typeNameFormat)) print(Payload size: (record.payload)) print(Type size: (record.type)) print(Identifier: (record.identifier)) } }Very happy with that!The data is correct, but I want to print the payload data and cant figure out how to get to it and the documentation seems non existent. Looking around the groups most examples seem to go as far as the above in terms of the size of the payload rather than the value.I found nfcndefpayloadhttps://developer.apple.com/documentation/corenfc/nfcndefpayloadAny help of a code example to kick start me as a newbie Swift developer that would be very helpful.
3
0
7.3k
Jun ’17
Reply to Core NFC - can read a NFC tag - now I need payload data
Just in case you are having issues - we managed to get this working and created a version that automatically launches the URL on the tag to the browser :https://vimeo.com/221143249We have found issue on Beta IOS 11 where after so many taps it stops scanning and have to reboot the phone, but will report that seperatly when we get some facts around it... so if you get an issue where your NFC tags are not being picked up a reboot migh tbe worth doing...
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
Simulate NFC tag
With the upcoming iOS 11 and the Core NFC it will be possible to read a nfc tag.Is there a way to do the opposite; I mean, the iOS device act as an NFC tag and an other device read the information in the virtual tag (ex. UID)?
4
0
5.2k
Jun ’17
How does one read/parse the NDEF Message from CoreNFC?
I have a bunch of tags that are URL tags that have the content http://WEBSITE.com. Let's say WEBSITE is youtube so http://youtube.com. When I scan them on Android etc, it keeps the http or https.I'm trying to scan these same tags using the Core NFC framework. I scan them and I get a bunch of bytes that I convert using NSSString initWithData with UTF8 Encoding. I get back ^Cyoutube.com. I want to get http://youtube.com.How can I interept the payload to get what I need? If I'm to assume the http in front of the string, how am I supposed to know if it is http or https or even ftp?
1
0
658
Jun ’17
Reply to Core NFC How to detect if the phone has NFC
I'm not sure it's that simple, unless NFC is added as a device compatibility plist flag later*, perhaps.Right now, NFC is supported on the iPhone 7 & 7+ as you note, Core NFC is still beta, and it appears you would add support to your app via provisioning, where the store would indicate which devices are compatible, and presumably restrict download?See https://developer.apple.com/documentation/corenfc*Table 6 https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
How does one read/parse the NDEF Message from CoreNFC?
I have a bunch of tags that are URL tags that have the content http://WEBSITE.com. Let's say WEBSITE is youtube so http://youtube.com. When I scan them on Android etc, it keeps the http or https.I'm trying to scan these same tags using the Core NFC framework. I scan them and I get a bunch of bytes that I convert using NSSString initWithData with UTF8 Encoding. I get back ^Cyoutube.com. I want to get http://youtube.com.How can I interept the payload to get what I need? If I'm to assume the http in front of the string, how am I supposed to know if it is http or https or even ftp?
1
0
2.3k
Jun ’17