Andy, gomore11,
Since the direct approach hasn't worked and technically the failures experienced seem to be a N+/N+2 issue I fired up another thread in that forum. Hopefully more eyes will see it.
Mark

  | ||||||||||||||
Adafruit NFC shield
Started by gomore11, Jul 11 2012 06:59 AM
95 replies to this topic
#81Posted 10 May 2013 - 04:44 PM Andy, gomore11,
Since the direct approach hasn't worked and technically the failures experienced seem to be a N+/N+2 issue I fired up another thread in that forum. Hopefully more eyes will see it.
Mark #82Posted 11 May 2013 - 07:07 PM
Ok super! Hope we get some answers soon as I'm interested in a N+2 as well, but I'm holding that one off until it's more stable...
#83Posted 12 May 2013 - 08:10 PM
Haven't had the chance this weekend to do some hardware tinkering as I've been following the jumpstart of windows phone 8 to get better insights on general capabilities but bluetooth and nfc in particular. I did find out that WP8 only supports either NDEF or windows messages via NFC so I think we should keep that in mind.
@gomore11: one thing that came to mind was that the code I posted on this forum does a specific call to SamConfig, which sets the Adafruit board up for RFID tag reading. Don't know for sure, but it might be that this setup is interfering with what you are expecting to receive from the board in regards to NFC?
#84Posted 13 May 2013 - 07:05 AM Hi Andy.
About WP8.........yes I know that it only supports NDEF thats why I mention in an previous post that we will have to take into acount the LLCP protocol. This protocol was designed by the NFC Forum, you can download the technical especifications here:
http://www.nfc-forum...cs/spec_license
The SamConfiguration you use is valid to data exchange also, I found out this Arduino code example that meets LLCP protocol to comunicate an Arduino+ PN532 Shield and an Android phone........maybe it could help us as a guide to earn to comunicate Netduino and a Windows Phone........... I attach it. Attached Files#85Posted 15 May 2013 - 10:32 AM Hi.
I´ve been doing more tests with the code. And I have to say that debbuging step by step, the ConfigurePeerAsInitiator worked once!!! But only once......I´m not abble to make it work again, either debugging step by step.....I´ll continue trying things... #86Posted 15 May 2013 - 07:43 PM
Hi,
Good to see you're making some progress. At this moment I'm unable to work on this, I hope to be able again this weekend...
Regards,
Andy
#87Posted 16 May 2013 - 08:22 AM Ok, this goes on...........I found some issues to take into account for the code and tests.............I have the main commands working....InJumpForDEP to configure the target(the device you will link to the Netduino+PN532 shield, in this case the Windows Phone) as Initiator, and TgInitAsTarget to configure the target as target.
There are two details to retain........when you want to configure the phone as Initiator you can put the Netduino waiting to a device to come to field, and then it configures it(the command does it itself). But to configure the phone as target, that it is our case I think..........the things change a bit. In this case the phone has to be IN the field before you run the TgInitAsTarget command in the Netduino. So maybe before the call of TgInitAsTarget, is necesary to have the FindDevicesInField command running............I´ll keep on testing this kind of things and commands, and then I will start with the LLCP protocol.
Andy, don´t worry.......take a look when you can.However, my programming skills aren´t the best, so I think that it would be great if someone helps debugging my codes...........I´ll put them here when they run. #88Posted 16 May 2013 - 11:29 AM Here are the .cs files I´m using in this moment. The InJumpForDEP,FindDevicesInField andTgInitAsTarget running. This is the base to make the LLCP protocol run. I´m working on a class to construct the different parts of the protocol......but I don´t know if i would have so much time this days.........
Attached Files#89Posted 21 May 2013 - 12:21 PM Hi!!
I´ve got good news..........My phone detects the Netduino!! They key was the SEL_RES parameter in the configure command. With a 0x60 instead of a 0x40, it recognize the device..............now I have to continue testing commands and parameters until earn a data exchange between them...... #90Posted 23 May 2013 - 01:40 PM Ok, so I´m blocked again........I configure the device as target and when the phone arrives to it´s field, I have both recognized, The phone by the PN532 and the PN532 by the phone. The PN532 configuration has to be done as a ISO/IEC 14443-4 PICC passive target at 106 kbps to be recognized by the Lumia(I tryed with an Android and it runs also......). So, when you send the TgInitAsTarget command with it´s configuration parameters, you wait till a device enters to its field. In this moment the PN532 is configured and the command brings back the configuration data. Here, if I understand well the PN532 user manual.............in addition to configuration data, comes more data that could be propietary commands. My question would be if this propietary data are the possible LLCP PDUs that the device has to meet to have a data exchange with a Windows Phone(NDEF messages.............meet NFC Forum)?????????????
I have this data as response(the data excluding preambles,postambles,checksum,reponse and mode bytes.....):
E0 80 36 00 03 9F 3D 79 06 BE 62 AF 7C DD 00 00 00 32 46 66 6D 01 01 11 02 02 03 80 03 02 00 01 04 01 64 DA D2 6D 01 01 10 00 0E #91Posted 26 May 2013 - 01:32 PM How is everyone connecting the nfc to the board? Could someone also post an updated sample project? #92Posted 01 July 2013 - 02:05 PM Is someone else working on it????? I´ve been working in other issues for a time............Any kind of advancesss??????? #93Posted 12 September 2013 - 02:00 AM just got into netduino world my first setup is pn532 and neduino +2 haven't tried hard enough to get those working though #94Posted 14 December 2013 - 08:42 PM Hello all, could you please share the wiring of this board to your Netduino? pictures would be nice too..
thanks, #95Posted 16 December 2013 - 08:28 AM Hi,
I'm sorry but I don't have the time right now to help you with this.
You can find a very nice tutorial on the learning site of Adafruit, however, which I used myself to do the wiring: http://learn.adafrui...id-nfc/overview
Regards, Andy #96Posted 14 October 2014 - 05:03 PM What was the end result of this? Does anyone have this working? Any code available on GitHub? Does anyone know if the uNFC library works with this? 1 user(s) are reading this topic0 members, 1 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||