Using Particle's CAN library functions?

Hello

I been using the carloop following some examples from this site. For example, I use the carloop.can().receive(message); to receive new messages.
Now I want to use the “addFilter()” function from the Particle’s CAN library. How can I call that function since now the CAN object is part of the carloop objetc?
I will try with:

void setup() {

carloop.setCANSpeed(500000);
carloop.begin();
carloop.can().addFilter(0x100, 0x7FF);

but I can’t check with a vehicle right now. Should this work?

Any help will be greatly appreciated.
Best,