?? readme
字號(hào):
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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -