本帖最后由 似不似萨多萨 于 2015-6-19 20:14 编辑
接收端:
root@freescale ~$ candump can0 --filter 0x1234:0x7fff
id: 0x00001234 mask: 0x00007fff
interface = can0, family = 29, type = 3, proto = 1
发送端:
root@freescale ~$ cansend can0 -i0x1234 0x55 0xAA
interface = can0, family = 29, type = 3, proto = 1
root@freescale ~$
当filter <= 0x7ff时,接收端可以接收数据;
当filter > 0x7ff时,接收端接收不到数据?
为什么呢?
|