Skip to content

Setup can_sock without uart #1

@cesarpino

Description

@cesarpino

Hi
I am trying to use your module to route message from a linux driver.
I set up my two real channels and two virtual channels
using linux candriver and successfully comunicate with candump tool.

In erlang ... i configure can channels.

1> application:set_env(can, interfaces, [
1> {can_sock, "can0", []},
1> {can_sock, "can1", []},
1> {can_sock, "vcan0", []},
1> {can_sock, "vcan1", []}
1> ]).
ok

2> application:get_env(can, interfaces).
application:get_env(can,interfaces).
{ok,[{can_sock,"can0",[]},
{can_sock,"can1",[]},
{can_sock,"vcan0",[]},
{can_sock,"vcan1",[]}]}

5> can_router:start().
{error,{not_started,uart}}

I am not able to start uart.
can you help?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions