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 used Hercules setup utility to send
"100101000300000000000000001b0030d102165370d1011255017374757474676172742e736f6e792e64650000000000" for http://www.stuttgart.sony.de and I was able to read it from my NFC enabled phone.But when I used the following python code, it didn't work : import serialimport time arduino = serial.Serial('COM6', 115200) arduino.parity = 'M'print arduino print("writing") input = ("100101000300000000000000001b0030d102165370d1011255017374757474676172742e736f6e792e64650000000000") arduino.write(input) time.sleep(5)print("stopped writing") arduino.close() 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 Thanks Shreyas
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor