Hello,

I'm just wondering what's the correct way to change the bitrate. I already 
noticed I need to shutdown the can interface previously. So I use system() 
with "ip link..." to shutdown, set the new bitrate and restart the interface. 
I kept my sockets during bitrate change and the first read() or write() call 
return ENETDOWN once. Afterwards those sockets work normally.
So, how can I get rid of this ENETDOWN? Close the sockets on this interface 
previously?

Best regards,
Alexander
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to