Question about drivers and connections

João Tomása month 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 Tananaeva month ago

Does your device report driver id?

João Tomása month ago

Yes.

Anton Tananaeva month 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ása month 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 Tananaeva month ago

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

João Tomása month ago

But can I only have one driver per device?

Anton Tananaeva month ago

At a single point of time? Yes.

João Tomása month ago

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

Anton Tananaeva month ago

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