4960| 4
|
IMX6 can不是回环模式就是接受数据问题? |
5金钱
最佳答案本地回环功能默认是开启的,发送的时候关闭就好了
int loopback = 0; /* 0 = disabled, 1 = enabled (default) */
setsockopt(s, SOL_CAN_RAW, CAN_RAW_LOOPBACK, &loopback, sizeof(loopback));
| ||
| ||
发表于 2020-8-20 17:02:59
|
显示全部楼层
| ||
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.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
发表于 2020-8-25 15:59:36
|
显示全部楼层
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-25 16:46
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网