5254| 4
|
IMX6 can不是回环模式就是接受数据问题? |
5金钱
最佳答案本地回环功能默认是开启的,发送的时候关闭就好了
int loopback = 0; /* 0 = disabled, 1 = enabled (default) */
setsockopt(s, SOL_CAN_RAW, CAN_RAW_LOOPBACK, &loopback, sizeof(loopback));
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-2-24 09:29
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网