The slave cannot receive subscribe messages from master
Posted: Mon 27. Mar 2023, 15:58
Hello Team,
I have been trying out the driver and the tools on Linux, e.g. linread, linwrite and lin, recently. And I found when the master subscribes using a scheduler, the slave doesn't really receive any subscribe messages. Following is how I do it:
Master:
lin start master 9600 /dev/plin0
lin set sub-frm-entry 0x22 --cs-enhanced --auto-len /dev/plin0
lin add unc-schd-slot 0 100 0x22 /dev/plin0
lin start schedule 0 /dev/plin0
Slave:
on Linux:
lin start slave 9600 /dev/plin1
lin set id-filter 0xff:0xff:0xff:0xff:0xff:0xff:0xff:0xff /dev/plin1
linread /dev/plin1
My understanding is the slave is able to receive the messages periodically, right? Could you please help me with this problem?
Many thanks!
Best regards,
Yuan
I have been trying out the driver and the tools on Linux, e.g. linread, linwrite and lin, recently. And I found when the master subscribes using a scheduler, the slave doesn't really receive any subscribe messages. Following is how I do it:
Master:
lin start master 9600 /dev/plin0
lin set sub-frm-entry 0x22 --cs-enhanced --auto-len /dev/plin0
lin add unc-schd-slot 0 100 0x22 /dev/plin0
lin start schedule 0 /dev/plin0
Slave:
on Linux:
lin start slave 9600 /dev/plin1
lin set id-filter 0xff:0xff:0xff:0xff:0xff:0xff:0xff:0xff /dev/plin1
linread /dev/plin1
My understanding is the slave is able to receive the messages periodically, right? Could you please help me with this problem?
Many thanks!
Best regards,
Yuan