Question about drivers and connections

João Tomás 2 years ago

Hi!

I added two drivers to a device thru connections, but on the trips page, I can only see one of them, even though they both appear on the general tab in different positions, for different timestamps, and I get the driver change. What might be the problem?
Btw, the tc_device_driver table is what allows drivers to appear on the reports of a device right?

Thanks in advance!

Anton Tananaev 2 years ago

Does your device report driver id?

João Tomás 2 years ago

Yes.

Anton Tananaev 2 years ago

Then that's what determines driver inclusion in reports. It also needs to report it consistently or you have to copy the value over if it's reported only once.

João Tomás 2 years ago

So what does connecting the driver to the device actually do? I enabled the copy attributes on the config, so the driver comes in every report correctly.

Anton Tananaev 2 years ago

Linking makes it an allowed/authorized driver. You device still needs to report the id for it to work.

João Tomás 2 years ago

But can I only have one driver per device?

Anton Tananaev 2 years ago

At a single point of time? Yes.

João Tomás 2 years ago

But there's no problem in linking multiple drivers to a single device, right? Sorry for insisting.

Anton Tananaev 2 years ago

No, of course you can link as many as you want. That's not a problem.