Arduino UNO with Seeed CAN bus - settling up filters

Hi.

The title indicates I have an Arduino with Seeed CAN bus shield and with this combination I am using the supplied library that came with the shield. I have been able to get the filters to work with proto-types like;

init_Mask( Mask_Id_0_or_1, ext_or_std, ValueForMask);

init_Filt( Filter_Id_0_to_5, ext_or_std, ValueForFilter);

I notice that this means I set up the filters for Extended or Standard CAN messages. I would like to do filtering on on both Extended and Standard at the same time. The CAN chip's MCP2515 Datasheet seems to suggest that this is possible with a mask and filter applying to the message id for Extended. And for the Standard messages this mask/filtering applies to the 11 bit message id and the first 2 bytes of the data as well.

Can anyone help in this direction???

Regards JC....

Hi (Cory)
Continuing on from the above.
Do I set the Id up for Extended format and when I filter according to Standard format use the format of;
11 bits for id, 2 unused, 16 data (for 1st and 2nd bytes).

Regards JC........