On Wed, Dec 18, 2013 at 10:16 AM, Peter Chen <[email protected]> wrote: > hey, guys. > I'v finished sunxi CAN drive in the socketcan mode.And I write a C program > proved it works.I can send and receive packet correctlly.
Glad you were able to get the documentation for CAN > Since I'm not an android app developer, I wonder how can I write a demo app > by using the socketcan method.Can anyone give me some suggestions.Thaks. I'm not sure I understood what you mean (if you tested the driver probably you have already written a demo :) With socketcan you see the CAN bus as a network interface (canX), so you can use the socket interface. The fact that you are working with the CAN bus is totally transparent. (https://www.kernel.org/doc/Documentation/networking/can.txt) BTW, if willing, please post the source code for review :) -- Carlo Caione -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
