On 01/21/2011 02:59 PM, uprinz wrote: > > Hi! > > I wonder if it is possible to let two different applications run on an > embedded linux device with the following configuration: > Application 1 is the master on can0 and has NodeID 100 > Application 2 is a node ( sensor) on can0 with NodeID 1
Not sure what you want to do. Any process can receive CAN messages from any CAN bus. By defining a filter, you can restrict the messages received on a certain socket. > Is there special care to be taken about the configuration of PCAN? > Sometimes it looks like it works, sometimes not. If not I see a lot of > "write error; : No buffer space available" In case of that error you should retry after a small delay or increase the TX buffer size. Search for ENOBUFS in the utitlity cangen.c for further information. You can increase the TX Buffer size with the ip option txqueuelen. > I use that stack on an i.MX25 system. OK. Wolfgang. _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
