Hello Mahesh,
first this mailing list is obsolete - please move to
http://vger.kernel.org/vger-lists.html#linux-can
for further postings.
On 16.08.2012 10:48, [email protected] wrote:
> I am working with imx Auto-Infotainment board, here I want to use the flexcan
> BCM for both receiving and transmission process for can_message. But I want
> to
> receive all CAN-message from Bus without getting filter Or, without defined
> can_id in source file---
> I am missing something defining in my declaration for RX_SET up Or setting
> FILTER_ID, ( without using it)
> It is possible to , so I can receiver message instead of declaring the can_id
> ?
>
> Or I should use flexcan_RAW and BCM together , for receiver process and
> transmission process separately.
Yes. Think about the multi-user capabilities of your system.
You may open many CAN_BCM sockets as well as CAN_RAW sockets.
When creating a CAN_RAW socket you may use it as-is (and get all CAN traffic)
or you may filter the CAN_RAW socket by CAN-ID filters (see documentation):
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/networking/can.txt;h=820f55344edc0a035358fa643bbe79c48d4d887f;hb=HEAD#l424
Additionally you may create one or more CAN_BCM sockets to create BCM jobs to
send CAN frames periodically or to detect payload changes in received
messages as well as timeouts.
Regards,
Oliver
ps. please post your mails with text-only (no HTML)
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users