Skip to content

brienw/cand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 23, 2018
dbec7d2 · Feb 23, 2018

History

2 Commits
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018
Feb 23, 2018

Repository files navigation

Cand

TODO: Add description

{:ok, pid} = Cand.Socket.start_link
Cand.Protocol.connect(pid, {192,168,0,12}, 28600)
Cand.Protocol.open(pid, 'can0')
Cand.Protocol.rawmode(pid)
Cand.Protocol.send(pid, "295", 8, "64 6E 74 70 61 6E 69 63")

Socket

connect(Socket, host, port)

connect(host, port)

{:ok, Socket} = Socket.connect(Socket, host, port)

{:ok, Socket} = Socket.connect(host, port)

Protocol

connect(host, port)

open(pid, canbus)

send(pid, can_id, ...)

echo(pid)

rawmode(pid)

bcmmode(pid)

About

And elixir interface for socketcand

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages