Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litesom:devicetree:can [2017/06/09 22:02] filug [SocketCAN API] |
litesom:devicetree:can [2017/06/09 22:16] filug [CAN sender] |
||
---|---|---|---|
Line 196: | Line 196: | ||
==== CAN sender ==== | ==== CAN sender ==== | ||
- | To send 0 //data frame// to the node with address '' | + | To send 0 length |
< | < | ||
cansend can0 1000101F# | cansend can0 1000101F# | ||
Line 213: | Line 213: | ||
</ | </ | ||
- | ===== SocketCAN | + | ===== C/C++ API ===== |
In case when you want to develop your own application to access CAN bus via '' | In case when you want to develop your own application to access CAN bus via '' | ||
Line 255: | Line 255: | ||
write(s, &frame, sizeof(frame)); | write(s, &frame, sizeof(frame)); | ||
</ | </ | ||
+ | |||
+ | ===== Python API ===== | ||
+ | |||
+ | Via [[https:// | ||
+ | < | ||
+ | -> Target packages | ||
+ | -> Interpreter languages and scripting | ||
+ | -> External python modules | ||
+ | -> python-can | ||
+ | </ | ||
+ | you can build '' | ||
+ | |||
+ | Please read [[https:// |