📄 readme
字号:
This are some simple examples to test the communication between twoCAN channels.1) receive: polling mode receiving end2) transmit polling mode transmitter3) baud simple driver test: change the bit rate registers with ioctl() the change itself stays after program is finished. you can check it by read cat /proc/sys/Can/Baud before and after using this command4) acceptance simple driver test: change the message filter with ioctl() the change itself stays after program is finished. you can check it by read cat /proc/sys/Can/AccCode /proc/sys/Can/AccMask before and after using this command5) noiser a simple noise transmitter, generates messages with random CAN IDs and telegram content useful for filter testing 6) can_send simple command line tool for sending single or cyclic CAN messages can_send -h tells you all some special test-sequences are build-in7) ctest very simple and basic driver test I use it to see what the driver issues in /var/log/messages when open and close the device. If full debug is enabled and all register access is logged8) receive-select simple receiving using the select() call to wait for CAN messages Support and examples for Scripting Languages==============================================canLtwo.c simple CAN Layer-2 interface, C-SourcecanLtwo.i simple CAN Layer-2 interface, SWIG-Interface file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -