-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I pulled the project to compare the performance of you library with the Iot.Device.SocketCAN. I can't seem to open the interface on "can0" but I know its valid and has data coming across. I tried integrating your project into mine AND running your stand-along Sniff program (changing vcan0 for can0). Same error both ways... I'm running as root, nothing else has the interface open. Linux is an in-house Yocto distribution.
I can enumerate the interfaces (var canList = CanNetworkInterface.GetAllInterfaces(true);)
var can = CanNetworkInterface.GetAllInterfaces(true).First(iface => iface.Name.Equals("can0"));
using (var rawCanSocket = new RawCanSocket())
{
rawCanSocket.Bind(can); /* BOMBs here...*/
It's probably something dumb I'm doing.. Also maybe upgrade from .Net 5 to .Net 6 now that's its deprecated.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working