Sony FeliCa Lite-S format issues
Stephen,
I am trying to use the Sony FeliCa Lite-S as a Tag3 with nfcpy. They were supplied as "NDEF formatted". However tagtool.py complains when I try to "show" the Tag. See below:
pi@pi3:
[nfc.clf] searching for reader on path usb
[nfc.clf] using SONY RC-S380/P NFC Port-100 v1.11 at usb:001:007
** waiting for a tag **
Type3Tag 'FeliCa Lite-S (RC-S966)' ID=012E34E829CE1E71 PMM=00F10000000
Traceback (most recent call last):
File "tagtool.py", line 569, in <module>
TagTool().run()
File "/home/
while self.run_once() and self.options.loop:
File "/home/
return clf.connect(
File "/home/
result = self._rdwr_
File "/home/
if options[
File "tagtool.py", line 303, in on_rdwr_connect
self.
File "tagtool.py", line 324, in show_tag
if tag.ndef:
File "/home/
if ndef.has_changed:
File "/home/
old_data, self._data = self._data, self._read_
File "/home/
attributes = self._read_
File "/home/
attributes = super(FelicaLit
File "/home/
attributes = super(FelicaLit
File "/home/
try: data = self._tag.
File "/home/
return self.read_
File "/home/
data = self.send_
File "/home/
if rsp[0] != len(rsp):
IndexError: bytearray index out of range
It companies even more when I try the tag tool,py format tt3 command
pi@pi3:
[nfc.clf] searching for reader on path usb
[nfc.clf] using SONY RC-S380/P NFC Port-100 v1.11 at usb:001:005
** waiting for a tag **
Traceback (most recent call last):
File "tagtool.py", line 569, in <module>
TagTool().run()
File "/home/
while self.run_once() and self.options.loop:
File "/home/
return clf.connect(
File "/home/
result = self._rdwr_
File "/home/
if options[
File "tagtool.py", line 303, in on_rdwr_connect
self.
File "tagtool.py", line 392, in format_tag
formatted = tag.format(
File "/home/
return super(FelicaLite, self).format(
File "/home/
return super(Type3Tag, self).format(
File "/home/
status = self._format(
File "/home/
mc = self.read_
File "/home/
return self.read_
File "/home/
data = self.send_
File "/home/
if rsp[0] != len(rsp):
IndexError: bytearray index out of range
Am I doing something basically wrong here? I'm sure it is due to my very basic knowledge of python
Thx Ian
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- ian@iwjohnston.com
- Solved:
- Last query:
- Last reply: