On 23/06/14 06:56, Shreyas Mangalgi wrote:
I want to be able to send URI in NDEF format to my Arduino UNO which is
connected to Sony's RC-S801 dynamic NFC tag.

I have no idea what most of that means in practice.
This looks very Arduino specific so you will probably get better results asking on an Arduino forum rather than a Python language list.
However...

utility to send

|"100101000300000000000000001b0030d102165370d1011255017374757474676172742e736f6e792e64650000000000"|

This is a string of hex digits.
Do you mean to send the character representations of the hex or do you mean to send the actual hex digits?

arduino=  serial.Serial('COM6',  115200)
arduino.parity=  'M'
print  arduino
print("writing")
input=     
("100101000300000000000000001b0030d102165370d1011255017374757474676172742e736f6e792e64650000000000")

You don't need the parentheses, they do nothing here.
But again this is a string representation of the hex data,
is that really what you want?

It shows as an empty record.Can you suggest changes to my python code
that I should make in order to detect the NDEF message ?Here is the
screenshot of the message that I get when I read the tag from my phone:

http://i.imgur.com/xn78Sw1.png

Posting images on a text based mailing list is not usually helpful.
If you can post the text of the message that is better.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to