-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting broken pipe error #1
Comments
By default the examples try to connect to a reader over the network, but you can also use serial. The error you are getting
Hope that helps |
Hi Will, When I am trying to run a single-read.py I am finding this error. <base.CommandRunner object at 0xb64707f0> I was used serial communication instead transport e.g. Could you explain where and how to solve the problem? Thank you |
This : <base.CommandRunner object at 0xb64707f0> is because I have written |
@anas-gif normally you should open a separate issue unless you are sure your problem is related. But since I didn't close this issue yet, let's continue here. Could you post the output of |
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 smsc95xx.macaddr=DC:A6:32:57:19:19 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=d9b3f436-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles |
I have replaced /dev/ttyUSB0 by /dev/ttyAMA0 and the programme no post nothing. I connecte my RFID with Raspberry by wires TXD of RFID with RXD of Raspberry and RXD of RFID with TXD of Raspberry. |
can you help me please |
Hi @wabson I checked connectivity using tools included in reader's SDK and successfully connected to reader I'm not very experienced in TCP connections, so any help in debugging that issue will be very helpful. |
please try auto_connect=True in transport.py or manually connect with socket. |
Hi Will,
When I am trying to run a single-read.py in the example I am getting the following error.
File "single-read.py", line 21, in
reader_info = ReaderInfoFrame(runner.run(get_reader_info))
File "{PYTHONPATH}:$(pwd)/chafon_rfid/base.py", line 31, in run
self.transport.write(command.serialize())
File "{PYTHONPATH}:$(pwd)//chafon_rfid/transport.py", line 33, in write
self.write_bytes(byte_array)
File "{PYTHONPATH}:$(pwd)//chafon_rfid/transport.py", line 55, in write_bytes
self.socket.sendall(byte_array)
BrokenPipeError: [Errno 32] Broken pipe
Could you please explain the usage of the examples in brief ?
Thanks
The text was updated successfully, but these errors were encountered: