Skip to content
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

Data are not transmitted #15

Open
pallix opened this issue Nov 16, 2017 · 0 comments
Open

Data are not transmitted #15

pallix opened this issue Nov 16, 2017 · 0 comments

Comments

@pallix
Copy link

pallix commented Nov 16, 2017

Hello,

I tried the library (using Elixir). The data are transmitted to the Erlang Port but then I do not receive anything on the cable. As you can see here:

iex(1)> serial = :serial.start(open: "/dev/ttyAP0", speed: 9600)
tbh_read: got message of size 12
received OPEN opening /dev/ttyAP0 
tbh_read: got message of size 11
     raw SPEED 9600 9600
received SPEED 13d 13d
#PID<0.145.0>
iex(2)> send serial, {:send, "hello\r\n"}
tbh_read: got message of size 8
received SEND
{:send, "hello\r\n"}
cat /dev/ttyAP1

Nothing is received. Baudrate is set correctly.

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant